Question Locked

Lost in a linux network port enroute to squid proxy

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
I have recently updated my linux desktop edition computer to 7.04 from 6.04 with disastrous results. Well ok not disastrous results but things stopped working. One of these things was Squid proxy server. The computer in questiion acts as a file server for 14 to 24 computers in a small school network. My Squid script was working fine in 6.04 but something has changed in the linux settings that I cannot find. The squid service itself is running (I think) but the client computer's web browsers just keep coming up as 'Proxy server is refusing connections'.

Could some of the ports have changed under this new version and therefore my squid conf file would be wrong??
If so how can I find the new ports to update my squid conf. file or how can I open up the old ones?

The port settings in my squid.conf file are as follows
Http_port 3128
icp_port 3130
htcp_port 4827
www_ports 80 443
ftp_port 21

Feel free to ask anymore questions that might enable you to help me. Any suggestions are more than welcome.
thanks in advance,
John Calder.

6 replies

by roy penfold

What is the result of typing 'service squid status'?

If squid is running, the most likely cause is to do with firewall settings on the machine.

by john

Hi Thanks for the prompt reply :D

I tried that and it says that there is an error in the squid config file.

FATAL: Bungled squid.conf line 29: acl localhost port 127.0.0.1/32
Squid Cache (Version 2.6.STABLE5): Terminated abnormally.

This config worked previously to updating to 7.0.
Any ideas of what I can do??
Many Thanks,
John.

by john

Hi Thanks for the prompt reply :D

I tried that and it says that there is an error in the squid config file.

FATAL: Bungled squid.conf line 29: acl localhost port 127.0.0.1/32
Squid Cache (Version 2.6.STABLE5): Terminated abnormally.

This config worked previously to updating to 7.0.
Any ideas of what I can do??
Many Thanks,
John.

by john

Hi Thanks for the prompt reply :D

I tried that and it says that there is an error in the squid config file.

FATAL: Bungled squid.conf line 29: acl localhost port 127.0.0.1/32
Squid Cache (Version 2.6.STABLE5): Terminated abnormally.

This config worked previously to updating to 7.0.
Any ideas of what I can do??
Many Thanks,
John.

by john

Apologies for the repeated sendings of my last message. Internet was playing up.
I have fixed it by removing the local acl rule. Not quite sure why it didnt like it in 7.04 when it didnt mind it in 6.04. Anyway I dont need the local host acl rule anyway.
cheers for the help.
John.

This discussion is closed to new replies.