Re: [squid-users] Squid 3.2.0.5 beta is available

From: Helmut Hullen <Hullen_at_t-online.de>
Date: 05 Mar 2011 18:48:00 +0100

Hallo, Amos,

Du meintest am 06.03.11:

>>>> The icons (p.e. "anthony-unknown.gif") are in
>>>> "/usr/share/squid/icons", but 3.2.0.5 searches them in
>>>> "/var/log/squid/www/squid/icons".

>>>> Where's the mis-configuration?

>>> --localstatedir=/var/log/squid appears to be the problem.

>> Ok - some more symlinks ...

> Why do you have all state configured to be installed below "/var/log"
> anyway? That is a location reserved for log files.

I've taken the "Build" script from 3.1.11 - most parts work well.

> Distribution packages are supposed to set --localstatedir=/var there.
> User-built packages are supposed to set /usr/var or some such local
> equivalent.

Ok - I'll update the script.

>> What about the old icons, p.e. "anthony-unknown.gif"?
>>
>> squid mourned that it couldn't find them, and they seem to be no
>> part of 3.2.0.5
>>
>> Mar 5 11:02:59 ElNath squid[14639]: Starting Squid Cache version
>> 3.2.0.5 for i486-slackware-linux-gnu...
>> Mar 5 11:02:59 ElNath squid[14639]: mimeLoadIconFile:
>> /var/log/squid/www/squid/icons/anthony-image.gif: (2) No such file
>> or directory Mar 5 11:02:59 ElNath squid[14639]: mimeLoadIconFile:
>> /var/log/squid/www/squid/icons/anthony-text.gif: (2) No such file or
>> directory Mar 5 11:02:59 ElNath squid[14639]: mimeLoadIconFile:
>> /var/log/squid/www/squid/icons/anthony-dirup.gif: (2) No such file
>> or directory [...]
>>
>> When I linked (or declared) the icon_directory to the 3.1.11 icon
>> directory all worked fine.

> There is a file mime.conf installed with Squid which should have been
> updated to link the new icons. Perhaps it has not been updated.

It hasn't ... thank you!

-------------------

By the way: in "errorpage.css" the "background" calls a picture
("SN.png") via the net. That's no good idea for a machine which is
sometimes offline.

Viele Gruesse!
Helmut
Received on Sat Mar 05 2011 - 18:08:47 MST

This archive was generated by hypermail 2.2.0 : Sun Mar 06 2011 - 12:00:01 MST