squid problem
Tofik Suleymanov
tofik at oxygen.az
Wed Apr 20 06:06:33 PDT 2005
Warren wrote:
>>What do logs say ?
>
>
>
> 2005/04/20 22:54:57| Starting Squid Cache version 2.5.STABLE9 for
> i386-portbld-freebsd5.3...
> 2005/04/20 22:54:57| Process ID 8201
> 2005/04/20 22:54:57| With 1216 file descriptors available
> 2005/04/20 22:54:57| Performing DNS Tests...
> 2005/04/20 22:54:57| Successful DNS name lookup tests...
> 2005/04/20 22:54:57| DNS Socket created at 0.0.0.0, port 59981, FD 5
> 2005/04/20 22:54:57| Adding nameserusver 127.0.0.1 from /etc/resolv.conf
> FATAL: Cannot open '/usr/local/squid/logs/access.log' for writing.
> The parent directory must be writeable by the
> user 'squid', which is the cache_effective_user
> set in squid.conf.
> Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
> CPU Usage: 0.044 seconds = 0.044 user + 0.000 sys
> Maximum Resident Size: 1844 KB
> Page faults with physical i/o: 0
>
>
> Squid previously used to work, then all of a sudden it would crash each time
> and up till now i havent botherd to much with it.
Log shows you the all of the needed information:
/usr/local/squid/logs/access.log is not writeable by the user "squid"
Following two commands should fix things up:
chown -R squid:squid /usr/local/squid/
chmod -R 750 /usr/local/squid/
More information about the freebsd-questions
mailing list