Dawyea |
06-11-2004 06:52 PM |
Fixed
I managed to fix my problem. I hope this works for you as well. This solution was somewhat time-consuming, but it seems to have worked. I first made backups of my important files, then completely deleted the squid directory. I reinstalled squid, but it still wouldn't work. I temporarily changed the permissions on the var folder and its contents to allow anyone to read, write and execute. I then ran squid with the -z switch and it everything seemed to be working. I went through the new conf file and, using my backup of the old one as a reference, changed all the parameters back to the way they had been. Every time I changed a setting I restarted squid just to make sure it was working. I expected that after changing some setting in the conf file squid would stop working and I would know what was causing the trouble. However, this never happened. The only thing different in my new conf file is the disk space used by the cache. I wonder if I could have been running low on space or something. I also changed the cache_effective_user to 'nobody' and set the var folder and its contents to only allow write access to 'nobody,' whereas in my original configuration I didn't even use the directive. I'm not really sure why it works, but it does, and I hope it does for you.
|