centos 6 install

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

centos 6 install

Alex Samad
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
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: centos 6 install

Eliezer Croitoru
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
> [hidden email]
> http://lists.squid-cache.org/listinfo/squid-users
>

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: centos 6 install

Alex Samad
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 <[hidden email]> 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
>> [hidden email]
>> http://lists.squid-cache.org/listinfo/squid-users
>>
>
> _______________________________________________
> squid-users mailing list
> [hidden email]
> http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: centos 6 install

Alex Samad
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 <[hidden email]> 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 <[hidden email]> 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
>>> [hidden email]
>>> http://lists.squid-cache.org/listinfo/squid-users
>>>
>>
>> _______________________________________________
>> squid-users mailing list
>> [hidden email]
>> http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: centos 6 install

Amos Jeffries
Administrator
On 27/11/2015 1:51 p.m., Alex Samad wrote:
> 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
>

Which is preceeded by:


> 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)


Amos
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: centos 6 install

Alex Samad
On 27 November 2015 at 17:12, Amos Jeffries <[hidden email]> wrote:

> On 27/11/2015 1:51 p.m., Alex Samad wrote:
>> 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
>>
>
> Which is preceeded by:

Hi

it was in the bottom of the previous mail, thats a copy of the log
starting from the start up

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.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: centos 6 install

Amos Jeffries
Administrator
On 27/11/2015 7:19 p.m., Alex Samad wrote:

> On 27 November 2015 at 17:12, Amos Jeffries <[hidden email]> wrote:
>> On 27/11/2015 1:51 p.m., Alex Samad wrote:
>>> 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
>>>
>>
>> Which is preceeded by:
>
> Hi
>
> it was in the bottom of the previous mail, thats a copy of the log
> starting from the start up

Exactly. The new install of Squid is a newer version. With a new format
of cache storage, updated data corruption protection, and detection.

The old install was so old it had a v1 cache format, which is a clear
sign that the old version also lacked some of those corruption
protections. It is not unexpected to see signs of that lack in the old
cache contents.


>
> 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| 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: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.
>
...

Until all of the cache directories have been fully scanned, their
contents corrected, and the new swap.state journals produced you can
expect to see various warnings or messages about cache content errors.

I see /var/spool/squid completed scanning this time (but not the other
cache_dir). If the proxy shuts down cleanly, then you should not see the
"Rejecting swap file v1" message for it on next startup, nor warnings
about the objects inside it.

It is only a worry if your Squid shutdown correctly (fully) and they
occur on the next run as well. That said, not much of a worry because
Squid is detecting and handling it well enough to just warn and keep
operating.

Amos

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: centos 6 install

Alex Samad
On 27 November 2015 at 17:56, Amos Jeffries <[hidden email]> wrote:

>> Hi
>>
>> it was in the bottom of the previous mail, thats a copy of the log
>> starting from the start up
>
> Exactly. The new install of Squid is a newer version. With a new format
> of cache storage, updated data corruption protection, and detection.
>
> The old install was so old it had a v1 cache format, which is a clear
> sign that the old version also lacked some of those corruption
> protections. It is not unexpected to see signs of that lack in the old
> cache contents.

Great thanks.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: centos 6 install

talikarni
In reply to this post by Alex Samad
Alex, I've had issues with his RPMs as well (using CentOS 6.4, 6.5 and
6.6 with various squid versions from 3.4.x to latest 3.5.11) so I just
compile and now that I have it down, it works well. Of the 7 RPMs of his
I've tried over the past year or two, none has worked, always has
various errors, permission problems, and/or doesn't have all the compile
options CentOS and Scientific Linux wants.

Mike


On 11/26/2015 17:00 PM, 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
> [hidden email]
> http://lists.squid-cache.org/listinfo/squid-users
>

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: centos 6 install

Eliezer Croitoru
Hey Mike,

How many servers do you have there?
The RPMs unfortunately works for me on too many production servers so I
find your situation a bit weird.
I will be more then happy to hear about the issues you were or still
having with my RPMs.
If I will not hear about them I will not be able to fix them.

All The Bests,
Eliezer

On 27/11/2015 23:19, Mike wrote:

> Alex, I've had issues with his RPMs as well (using CentOS 6.4, 6.5 and
> 6.6 with various squid versions from 3.4.x to latest 3.5.11) so I just
> compile and now that I have it down, it works well. Of the 7 RPMs of his
> I've tried over the past year or two, none has worked, always has
> various errors, permission problems, and/or doesn't have all the compile
> options CentOS and Scientific Linux wants.
>
> Mike
>
>
> On 11/26/2015 17:00 PM, 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
>> [hidden email]
>> http://lists.squid-cache.org/listinfo/squid-users
>>
>
> _______________________________________________
> squid-users mailing list
> [hidden email]
> http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users