Error Starting SQUID

Asked by Linux Rockers on 2010-01-26

I am using UBUNTU 9.10 and installed SQUID stable version

when I try to start SQUID , I get following error

ramesh@ramesh-desktop:~$ sudo /etc/init.d/squid start
 * Starting Squid HTTP proxy squid 2010/01/26 10:43:37| parseConfigFile: squid.conf:69 unrecognized: 'wais_relay_port'
2010/01/26 10:43:37| parseConfigFile: squid.conf:102 unrecognized: 'incoming_icp_average'
2010/01/26 10:43:37| parseConfigFile: squid.conf:103 unrecognized: 'incoming_http_average'
2010/01/26 10:43:37| parseConfigFile: squid.conf:104 unrecognized: 'incoming_dns_average'
2010/01/26 10:43:37| parseConfigFile: squid.conf:105 unrecognized: 'min_icp_poll_cnt'
2010/01/26 10:43:37| parseConfigFile: squid.conf:106 unrecognized: 'min_dns_poll_cnt'
2010/01/26 10:43:37| parseConfigFile: squid.conf:107 unrecognized: 'min_http_poll_cnt'
FATAL: Error Directory /usr/share/squid/errors/English: (2) No such file or directory
Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.000 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted (core dumped)
                                                                         [fail]
ramesh@ramesh-desktop:~$

How to start SQUID server in my system?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu squid Edit question
Assignee:
No assignee Edit question
Solved by:
Ryan Dwyer
Solved:
2010-01-26
Last query:
2010-01-26
Last reply:
2010-01-26
Linux Rockers (linuxrockers) said : #1

My SQUID Configuration file can be found here

http://pastebin.ca/1766151

Please help!!

Ryan Dwyer (ryandwyer) said : #2

The errors mention unrecognised options in your config file, and that your error directory is wrong.

Try searching the internet to see if those config options are correct. Did you make changes to the file yourself?

Linux Rockers (linuxrockers) said : #3

I have not changed anything in the SQUID configuration file !

Best Ryan Dwyer (ryandwyer) said : #4

I did a Google search for you and found this page: http://n4.nabble.com/Getting-error-msgs-when-trying-to-start-squid-td1037963.html

It looks like you share the same problem. Your config is for a really old version of squid. I'm guessing you installed squid ages ago, then removed it. The config would have stayed, so when you installed squid again the config would still be the older, incorrect one.

You should be able to fix it by running:

sudo apt-get purge squid
sudo apt-get install squid

Linux Rockers (linuxrockers) said : #5

Thanks Ryan Dwyer, that solved my question.