[squid-users] centos 6 install

Alex Samad alex at samad.com.au
Fri Nov 27 00:51:47 UTC 2015


Hi

Just to add to this, I am not seeing a clean start of squid either.
the sysvinit comes back as failed, but the process is started and its
seems to be working.

Also I get lots of
ignoring malformed cache entry



Jan 01 10:33:35 1970/11/27 11:47:05| Set Current Directory to
/var/spool/squid

              │
No│Jan 01 10:33:35 1970/11/27 11:47:11 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:12 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:13 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:13 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:32 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:33| Set Current Directory to
/var/spool/squid

              │
No│Jan 01 10:33:35 1970/11/27 11:47:33 kid1| Preparing for shutdown
after 4163 requests

           │
No│Jan 01 10:33:35 1970/11/27 11:47:33 kid1| Waiting 30 seconds for
active connections to finish

           │
No│Jan 01 10:33:35 1970/11/27 11:47:33 kid1| Closing HTTP port
[::]:3128

                │
No│Jan 01 10:33:35 1970/11/27 11:47:33 kid1| Closing HTTP port
[::]:8080

                │
No│Jan 01 10:33:35 1970/11/27 11:47:33 kid1| Stop receiving ICP on
[::]:3130

            │
No│Jan 01 10:33:35 1970/11/27 11:47:34 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:40 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:43 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:43 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:44 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:44 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:57 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:47:57 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:48:01 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:48:02 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:48:03 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:48:03 kid1| WARNING: Ignoring
malformed cache entry.

                │
No│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| Shutdown: NTLM
authentication.

                   │
00│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| Shutdown: Negotiate
authentication.

              │
Ja│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| Shutdown: Digest
authentication.

                 │
Ja│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| Shutdown: NTLM
authentication.

                   │
Ja│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| Shutdown: Negotiate
authentication.

              │
Ja│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| Shutdown: Basic
authentication.

                  │
Ja│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| Shutting down...


        │
Ja│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| Stop sending ICP from
[::]:3130

            │
Ja│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| Not currently OK to
rewrite swap log.

              │
Ja│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| storeDirWriteCleanLogs:
Operation aborted.

          │
Ja│Jan 01 10:00:00 1970CPU Usage: 182.389 seconds = 64.122 user +
118.267 sys

             │
Ja│Jan 01 10:00:00 1970Maximum Resident Size: 2937376 KB


        │
Ja│Jan 01 10:00:00 1970Page faults with physical i/o: 0


        │
Ja│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| Logfile: closing log
daemon:/var/log/squid/access.log

             │
Ja│Jan 01 10:33:35 1970/11/27 11:48:04 kid1| Logfile Daemon: closing
log daemon:/var/log/squid/access.log

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD UNSTARTED     6
DNS Socket IPv6

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE    8
DNS Socket IPv4

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD UNSTARTED     9
IPC UNIX STREAM Parent

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD UNSTARTED    11
/var/spool/squid/swap.state

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD WRITING      12
/var/spool/squid2/swap.state

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD WRITING      13
/var/spool/squid3/swap.state.new

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD UNSTARTED    16
Incoming ICP port

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE   24
127.0.0.1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE   35
ntlm_auth #1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE   47
ntlm_auth #1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE   49
ntlm_auth #1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE   83
Idle server: 54.183.146.224:80/api.calreply.net

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE  119
127.0.0.1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE  131
127.0.0.1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE  141
ntlm_auth #1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE  143
ntlm_auth #1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE  147
ntlm_auth #1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE  148
ntlm_auth #1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE  151
Idle server: 54.67.95.20:80/rugbyworldcup.calreply.net

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE  152
ntlm_auth #1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE  155
ntlm_auth #1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE  157
ntlm_auth #1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:05 kid1| Open FD READ/WRITE  162
ntlm_auth #1

          │
Ja│Jan 01 10:33:35 1970/11/27 11:48:06 kid1| Squid Cache (Version
3.5.11): Exiting normally.

             │
Ja│Jan 01 10:00:00 1970FATAL: Received Segment Violation...dying.


        │
Ja│Jan 01 10:33:35 1970/11/27 11:48:06 kid1| Not currently OK to
rewrite swap log.

              │
Ja│Jan 01 10:33:35 1970/11/27 11:48:06 kid1| storeDirWriteCleanLogs:
Operation aborted.

thats it trying to shutdwon ..




This is is trying to start up

2015/11/27 11:02:41 kid1| Set Current Directory to /var/spool/squid
2015/11/27 11:02:41 kid1| Starting Squid Cache version 3.5.11 for
x86_64-redhat-linux-gnu...
2015/11/27 11:02:41 kid1| Service Name: squid
2015/11/27 11:02:41 kid1| Process ID 19182
2015/11/27 11:02:41 kid1| Process Roles: worker
2015/11/27 11:02:41 kid1| With 1024 file descriptors available
2015/11/27 11:02:41 kid1| Initializing IP Cache...
2015/11/27 11:02:41 kid1| DNS Socket created at [::], FD 6
2015/11/27 11:02:41 kid1| DNS Socket created at 0.0.0.0, FD 8
2015/11/27 11:02:41 kid1| Adding domain yieldbroker.com from /etc/resolv.conf
2015/11/27 11:02:41 kid1| Adding domain yieldbroker.com from /etc/resolv.conf
2015/11/27 11:02:41 kid1| Adding nameserver 10.32.20.102 from /etc/resolv.conf
2015/11/27 11:02:41 kid1| Adding nameserver 10.32.20.100 from /etc/resolv.conf
2015/11/27 11:02:41 kid1| Adding nameserver 10.32.69.11 from /etc/resolv.conf
2015/11/27 11:02:41 kid1| Adding nameserver 10.33.69.11 from /etc/resolv.conf
2015/11/27 11:02:41 kid1| helperOpenServers: Starting 0/10 'ntlm_auth' processes
2015/11/27 11:02:41 kid1| helperStatefulOpenServers: No 'ntlm_auth'
processes needed.
2015/11/27 11:02:41 kid1| helperOpenServers: Starting 0/10 'ntlm_auth' processes
2015/11/27 11:02:41 kid1| helperStatefulOpenServers: No 'ntlm_auth'
processes needed.
2015/11/27 11:02:41 kid1| helperOpenServers: Starting 0/5 'ntlm_auth' processes
2015/11/27 11:02:41 kid1| helperOpenServers: No 'ntlm_auth' processes needed.
2015/11/27 11:02:41 kid1| Logfile: opening log daemon:/var/log/squid/access.log
2015/11/27 11:02:41 kid1| Logfile Daemon: opening log /var/log/squid/access.log
2015/11/27 11:02:41 kid1| Local cache digest enabled; rebuild/rewrite
every 3600/3600 sec
2015/11/27 11:02:41 kid1| Store logging disabled
2015/11/27 11:02:41 kid1| Swap maxSize 551287808 + 41943040 KB,
estimated 45633142 objects
2015/11/27 11:02:41 kid1| Target number of buckets: 2281657
2015/11/27 11:02:41 kid1| Using 4194304 Store buckets
2015/11/27 11:02:41 kid1| Max Mem  size: 41943040 KB
2015/11/27 11:02:41 kid1| Max Swap size: 551287808 KB
2015/11/27 11:02:41 kid1| Rejecting swap file v1 to avoid cache index
corruption. Forcing a full cache index rebuild. See Squid bug #3441.
2015/11/27 11:02:41 kid1| Rebuilding storage in /var/spool/squid (no log)
2015/11/27 11:02:41 kid1| Rejecting swap file v1 to avoid cache index
corruption. Forcing a full cache index rebuild. See Squid bug #3441.
2015/11/27 11:02:41 kid1| Rebuilding storage in /var/spool/squid2 (no log)
2015/11/27 11:02:41 kid1| Rejecting swap file v1 to avoid cache index
corruption. Forcing a full cache index rebuild. See Squid bug #3441.
2015/11/27 11:02:41 kid1| Rebuilding storage in /var/spool/squid3 (no log)
2015/11/27 11:02:41 kid1| Using Least Load store dir selection
2015/11/27 11:02:41 kid1| Set Current Directory to /var/spool/squid
2015/11/27 11:02:41 kid1| Finished loading MIME types and icons.
2015/11/27 11:02:41 kid1| HTCP Disabled.
2015/11/27 11:02:41 kid1| Configuring Sibling alcdmz1.yieldbroker.com/3128/3130
2015/11/27 11:02:41 kid1| Squid plugin modules loaded: 0
2015/11/27 11:02:41 kid1| Adaptation support is on
2015/11/27 11:02:41 kid1| Accepting HTTP Socket connections at
local=[::]:3128 remote=[::] FD 14 flags=9
2015/11/27 11:02:41 kid1| Accepting HTTP Socket connections at
local=[::]:8080 remote=[::] FD 15 flags=9
2015/11/27 11:02:41 kid1| Accepting ICP messages on [::]:3130
2015/11/27 11:02:41 kid1| Sending ICP messages from [::]:3130
2015/11/27 11:03:33 kid1| WARNING: Ignoring malformed cache entry.
2015/11/27 11:03:33 kid1| WARNING: Ignoring malformed cache entry.
2015/11/27 11:04:26 kid1| Done scanning /var/spool/squid dir (153502 entries)
2015/11/27 11:04:44 kid1| WARNING: Ignoring malformed cache entry.
2015/11/27 11:06:15 kid1| WARNING: Ignoring malformed cache entry.
20

On 27 November 2015 at 10:55, Alex Samad <alex at samad.com.au> wrote:
> 517a912a094501f226e715637e94bb63  /root/squid-3.5.11-1.el6.x86_64.rpm
>
>
> cat /etc/yum.repos.d/squid.repo
> #
> # http://wiki.squid-cache.org/KnowledgeBase/CentOS
> #
> #
>
> [squid]
> name=Squid repo for CentOS Linux - $basearch
> #IL mirror
> baseurl=http://www1.ngtech.co.il/repo/centos/$releasever/$basearch/
> failovermethod=priority
> enabled=1
> gpgcheck=0
>
>
>
> On 27 November 2015 at 10:21, Eliezer Croitoru <eliezer at ngtech.co.il> wrote:
>> Where did you downloaded the rpm from?
>> my repo at ngtech.co.il? or compiled it yourself?
>> Make sure that the md5sum is the same
>> $md5sum squid-3.5.11-1.el6.x86_64.rpm
>> 517a912a094501f226e715637e94bb63  squid-3.5.11-1.el6.x86_64.rpm
>> The checksums are at:
>> http://www1.ngtech.co.il/repo/centos/6/x86_64/squid-3.5.11-1.el6.x86_64.rpm.asc
>>
>> Eliezer
>>
>>
>> On 27/11/2015 01:00, Alex Samad wrote:
>>>
>>> Hi
>>>
>>> I am trying to upgrade from the centos squid to the squid one
>>>   rpm -qa | grep squid
>>> squid-3.1.23-9.el6.x86_64
>>> rpm -Uvh squid-3.5.11-1.el6.x86_64.rpm
>>>
>>>
>>> getting this error
>>> error: unpacking of archive failed on file
>>> /usr/share/squid/errors/zh-cn: cpio: rename failed - Is a directory
>>>
>>>
>>> ls -l
>>> drwxr-xr-x. 2 root root 4096 Sep 16 13:05 zh-cn
>>> lrwxrwxrwx. 1 root root    7 Nov 27 09:57 zh-cn;56578e40 -> zh-hans
>>> lrwxrwxrwx. 1 root root    7 Nov 27 09:58 zh-cn;56578e77 -> zh-hans
>>>
>>> going to remove the directory and try re installing
>>> _______________________________________________
>>> squid-users mailing list
>>> squid-users at lists.squid-cache.org
>>> http://lists.squid-cache.org/listinfo/squid-users
>>>
>>
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> http://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list