Re: [squid-users] Unable to open HTTP Socket in syslog

2012-03-19 Thread Fried Wil
Hi Igor, 

Any same port is open ?

Squid works on 3128/tcp or other ?

Could you netstat -anop | grep PORT to know if u have any other software
tooks the same port.


On Mon, Mar 19, 2012 at 04:18:07PM +0400, zozo zozo wrote:
 That's what I get in syslog. squid starts, then dies after a few seconds. 
 Cache log doesn't show anything about exit reasons.
 
 userdemo@ubuntu-demo:~$ sudo cat /var/log/syslog |tail
 Mar 19 16:01:01 ubuntu-demo (squid-1): Unable to open HTTP Socket
 Mar 19 16:01:01 ubuntu-demo squid[1173]: Squid Parent: (squid-1) process 1193 
 exited with status 1
 Mar 19 16:01:04 ubuntu-demo squid[1173]: Squid Parent: (squid-1) process 1198 
 started
 Mar 19 16:01:04 ubuntu-demo (squid-1): Unable to open HTTP Socket
 Mar 19 16:01:04 ubuntu-demo squid[1173]: Squid Parent: (squid-1) process 1198 
 exited with status 1
 Mar 19 16:01:04 ubuntu-demo squid[1173]: Squid Parent: (squid-1) process 1198 
 will not be restarted due to repeated, frequent failures
 Mar 19 16:01:04 ubuntu-demo squid[1173]: Exiting due to repeated, frequent 
 failures
 
 It's Ubuntu server 10.04. Squid version is 3.2.0.16
 
 I had very same configuration on Ubuntu 11, and it worked. 
 
 Please help me, where to look at in linux config or in squid config.
 Thank you,
 Igor



Re: [squid-users] Unable to open HTTP Socket in syslog

2012-03-19 Thread Helmut Hullen
Hallo, zozo,

Du meintest am 19.03.12:

 userdemo@ubuntu-demo:~$ sudo cat /var/log/syslog |tail
 Mar 19 16:01:01 ubuntu-demo (squid-1): Unable to open HTTP Socket
 Mar 19 16:01:01 ubuntu-demo squid[1173]: Squid Parent: (squid-1)
 process 1193 exited with status 1

Please try to start squid again, wait 1 to 2 minutes and then examine  
the log file(s) again with

sudo tail -20 /var/log/syslog

or

sudo grep 'squid' /var/log/syslog

May be the last ten lines of /var/log/syslog don't show the reason.

But Unable to open HTTP Socket may point to the error.

Viele Gruesse!
Helmut