Failed to start squid because port 3128 is in use
My server ran out of space on Saturday, and I had to reboot the system. While trying to restart Squid (using webmin), it asked me for a username to initialize the cache directory. I used root as the username, but got the message that root should not be used to start squid.
After reading quite a bit of documentation, I discovered that I had to change the effective_user tag to be squid. When I tried to start the cache as squid it told me I had no rights (root had ownership of the /var/squid directory and files), so I changed the owner to squid and nogroup.
This time I finally managed to initialize the directory, but the process starts for a few seconds and then dies again.
The syslog files tell me that port 3128 is already in use (I don't know how to check wich process is using it), and also tells me that it was unable to write the pid file.
I'm using Suse Linux 7.2 and Squid 2.3
Any pointers to solving this problem? Thank you very much in advance.
Last edited by Frankd; 10-14-2002 at 02:41 PM.
|