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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 06 Mar 2011 05:22:14 +1300

On 06/03/11 04:48, Helmut Hullen wrote:
> Hallo, Amos,
>
> Du meintest am 06.03.11:
>
>>>> The Squid HTTP Proxy team is very pleased to announce the
>>>> availability of the Squid-3.2.0.5 beta release!
>
>>> 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.

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

>
>> 3.2 has been updated to obey the standard filesystem hierarchy
>> definitions. Meaning the default cache is at /var/cache/squid,
>> locally served files (icons) are in /var/www/squid, logs are in
>> /var/log/squid, PID files are in /var/run/squid, etc.
>
>> 3.2.0.5 also uses a new set of icons, they should be installed under
>> /var/www/squid/icons
>
> 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. Perhapse it has not been updated.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.11
   Beta testers wanted for 3.2.0.5
Received on Sat Mar 05 2011 - 16:22:19 MST

This archive was generated by hypermail 2.2.0 : Sat Mar 05 2011 - 12:00:01 MST