Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been using squid for several weeks now without any problems. However, earlier today I rebooted my computer and had to restart squid. Ever since then, I can't get it to run for more than a few seconds before it terminates. I've checked the logs, but they haven't been written to since I rebooted. The number in the pid file doesn't even change when I restart squid. Does anyone know why this is happening? I've even tried reinstalling squid, but that doesn't work either. Thanks a lot!
I'm having a similar problem on my test squid box at work. I installed the latest squid stable (don't remember version...stable 6 maybe...) on Suse 9.0 and pulled the config file off of the working squid box at work...
problem is when running it...just kills itself (disappears from ps) after a few seconds...any ideas would be apprecieated.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.