Search squid archive

squid won't start on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,

Iget some troubles with squid3-stable8 when I try ti enable it on boot

Starting squid: WARNING: Cannot write log file: /var/logs/cache.log
/var/logs/cache.log: Permission denied
[...]
squid: ERROR: Could not read pid file
/var/logs/squid.pid: (13) Permission denied

It work fine when I start it manualy.

You can find below what i did :

./configure --localstatedir=/var --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc/squid/ --enable-icmp --enable-arp-acl --with-default-user=squid
make
make install
adduser squid
mkdir /var/logs
mkdir /var/cache
chown -R squid.squid /var/logs
chown -R squid.squid /var/cache
/usr/sbin/squid -z

OS is RedHat EL 5.1

What's wrong ?

A big thank you to those who can help me.

Regards,

Sebastien WENSKE





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux