i have the same problem with the 10.10 intalled march 23th 2011.
I check the config /etc/squid/squid.conf the right setting was OK
i just remove the pid file: rm /var/run/squid.pid and start squid that it.
March 25, 2011 at 7:52 AM
I recently upgraded my box to Ubuntu 10.10 and ran into problems with starting squid (Version 2.7.STABLE9-2ubuntu5).
I finally debugged and fixed the problem. The steps are as follows:-
Getting squid.conf right
The default user (and group) for running squid is 'squid'. This is not present in configuration.
I also ran into problems with configuration of squid.pid file.The default location is /var/run/squid.pid , where an non root user cannot create file. So i moved it to /var/run/squid directory.
The changes to /etc/squid/squid.conf are listed below.cache_effective_user squid
cache_effective_group squid
pid_filename /var/run/squid/squid.pidFixing the file permissions and create directories
We need to set the file permissions for squid configuration, log folders to squid:squid and also create the directory /var/run/squidThe shell commands are:-sudo chown squid:squid /etc/squid/squid.conf
sudo mkdir /var/run/squid
sudo chown -R squid:squid /var/run/squid
sudo chown -R squid:squid /var/log/squidStarting squid.
The squid on ubuntu 10.10 is triggered using service command. Start squid and check logs in /var/log/squidsudo service squid start
You should see the squid running....
"Configuring Squid on Ubuntu 10.10"
1 Comment -
i have the same problem with the 10.10 intalled march 23th 2011.
I check the config /etc/squid/squid.conf
the right setting was OK
i just remove the pid file:
rm /var/run/squid.pid
and
start squid
that it.
March 25, 2011 at 7:52 AM