Re: [squid-users] HELP: UPDATE

From: Pieter De Wit <pieter_at_insync.za.net>
Date: Sat, 31 Dec 2011 22:45:01 +1300

On 31/12/2011 21:32, someone wrote:
> Ok, I rm -rf`d all directories named squid from my box thinking that
> attempting to do a fresh install after would fix everything NOPE, and
> wtf, apparently the install binary wont recreate the directories now,
> yay! wtf symlink madness???? any suggestions how to just get squid to
> reinstall from apt would be, sooooooooo awesome.
>
> I removed squid due to a botched attempt to build and isntall from
> source, ok, then when I reinstalled squid after doing a make uninstall,
> squid was complaining about the error pages missing, it was looking for
> them in a new dir that it should not have been.
>
> rm -rf /usr/share/squid3/<--squid3.1.6 SHOULD be looking here
> rm -rf /usr/share/squid-langpack<---but,squid keeps looking for them
> here
>
>
>
> deviant:/# apt-get install squid3
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Suggested packages:
> squidclient squid-cgi resolvconf
> The following NEW packages will be installed:
> squid3
> 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
> Need to get 0 B/1,445 kB of archives.
> After this operation, 3,666 kB of additional disk space will be used.
> Selecting previously deselected package squid3.
> (Reading database ... 249217 files and directories currently installed.)
> Unpacking squid3 (from .../squid3_3.1.6-1.2+squeeze1_i386.deb) ...
> Processing triggers for man-db ...
> Setting up squid3 (3.1.6-1.2+squeeze1) ...
> Restarting Squid HTTP Proxy 3.x: squid3FATAL: MIME Config
> Table /usr/share/squid3/mime.conf: (2) No such file or directory
> Squid Cache (Version 3.1.6): Terminated abnormally.
> CPU Usage: 0.012 seconds = 0.004 user + 0.008 sys
> Maximum Resident Size: 16320 KB
> Page faults with physical i/o: 0
> failed!
>
>
> ================================
> cache.log
> ===========
>
> 2011/12/31 00:10:46| Starting Squid Cache version 3.1.6 for
> i486-pc-linux-gnu...
> 2011/12/31 00:10:46| Process ID 25488
> 2011/12/31 00:10:46| With 65535 file descriptors available
> 2011/12/31 00:10:46| Initializing IP Cache...
> 2011/12/31 00:10:46| DNS Socket created at [::], FD 7
> 2011/12/31 00:10:46| DNS Socket created at 0.0.0.0, FD 8
> 2011/12/31 00:10:46| Adding nameserver 127.0.0.1 from squid.conf
> 2011/12/31 00:10:46| errorpage.cc(293) errorTryLoadText:
> '/usr/share/squid3/errors/templates/ERR_LIFETIME_EXP': (2) No such file
> or directory
> FATAL: failed to find or read error text file.
> Squid Cache (Version 3.1.6): Terminated abnormally.
> CPU Usage: 0.040 seconds = 0.008 user + 0.032 sys
> Maximum Resident Size: 41792 KB
> Page faults with physical i/o: 0
>
>
>
Hi,

What does "dpkg -l | grep squid" show ?

Cheers,

Pieter
Received on Sat Dec 31 2011 - 09:45:22 MST

This archive was generated by hypermail 2.2.0 : Sat Dec 31 2011 - 12:00:02 MST