I tried your suggestion but it still doesn't work. Let me expand on it a bit.
When I boot up the squid service will not start and the /var/log/squid/squid.out is full of Permission denied on the cache directories.
BUT....
Once logged on as root, if I just type squid, the service daemon will start and the cache runs. I just can't get it to run at startup.
Main Topics
Browse All Topics





by: mrhammiPosted on 2007-05-08 at 00:45:53ID: 19048098
Have you checked that the user running the squid daemon also has permissions to rw to subfolders too? Setting up a mask with umask should fix that problem. Setting "umask 22" on the cache directories you have defined should give the user full access and permission to do what it needs in the subdirectories.
As for starting up when your computer boots all you have to do is put a startup script into your /etc/rcX directory. For squid it is recommended that it goes in runlevel 5 or 6, so /etc/rc5.d/ or /etc/rc6.d/
Hope that helped a bit :-)