Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: steve on October 16, 2000, 08:44:27 AM

Title: squid
Post by: steve on October 16, 2000, 08:44:27 AM
on shutdown squid hangs.  by hanging i mean, i shutdown one night and come next morning it was still hanging.  this is a fresh (reinstall...) install, the previous one was up and fine for 6 months.  
anyways squid hangs on every reboot...
Title: RE: squid
Post by: Paul Nesbit on October 16, 2000, 07:07:47 PM
Have a look at your /var/log/messages file - this log file should shed some light on what is happening.  

Refer to the FAQ if you need assistance logging into your e-smith server and gateway to do this.  Once logged in you can view the file with the command:

   less /var/log/messages

Keep us posted,

Paul
Title: RE: squid
Post by: steve on October 16, 2000, 10:31:18 PM
Oct 16 12:08:02 luna squid: Starting squid:
Oct 16 12:08:02 luna squid: squid
Oct 16 12:08:02 luna rc: Starting squid succeeded

Oct 15 12:14:27 luna named[636]: named shutting down
Oct 15 12:14:27 luna rc: Stopping keytable succeeded
Oct 15 12:14:28 luna httpd: httpd shutdown succeeded
Oct 15 12:14:28 luna squid: Stopping squid:
Oct 15 12:14:30 luna squid: .
Oct 15 12:15:02 luna last message repeated 16 times
Oct 15 12:16:04 luna last message repeated 31 times
Oct 15 12:17:05 luna last message repeated 30 times
Oct 15 12:18:07 luna last message repeated 31 times
Oct 15 12:19:09 luna last message repeated 31 times
Oct 15 12:20:10 luna last message repeated 30 times
Oct 15 12:21:12 luna last message repeated 31 times
Oct 15 12:22:14 luna last message repeated 31 times
Oct 15 12:23:15 luna last message repeated 30 times
Oct 15 12:24:17 luna last message repeated 31 times
Oct 15 12:25:19 luna last message repeated 31 times
Oct 15 12:26:20 luna last message repeated 30 times
Oct 15 12:27:22 luna last message repeated 31 times
Oct 15 12:28:24 luna last message repeated 31 times
Oct 15 12:29:25 luna last message repeated 30 times
Oct 15 12:30:27 luna last message repeated 31 times
this literally repeates itself for like 10 minutes.  
at which point i hit the reset switch.  
there are no furthur log entries that mention squid, or suggest errors.
Title: RE: squid
Post by: Charlie Brady on October 17, 2000, 07:51:52 AM
steve wrote:

> on shutdown squid hangs.  by hanging i mean, i shutdown one
> night and come next morning it was still hanging.  this is a
> fresh (reinstall...) install, the previous one was up and fine
> for 6 months. anyways squid hangs on every reboot...

Squid is known not to shut down if it has any active connections. If you squid logs (in /var/log/squid) don't tell you what is going on, then logging in as root and doing "netstat --tcp" will show you all active TCP net connections.

Regards

Charlie
Title: RE: squid
Post by: stephen noble on October 18, 2000, 07:17:39 AM
>anyways squid hangs on every reboot...
i had a problem with the file ownerships of squid...
maybe rpm -e squid and reinstall

>Squid is known not to shut down if it has any active connections. If you squid logs (in >/var/log/squid) don't tell you what is going on, then logging in as root and doing "netstat --tcp" will >show you all active TCP net connections.

i made a web panel to run squid -k reconfigure (and squid restart)
as the web panel is using squid, is the above advice the explanation for the weird results,
can i get around this, apart from telnet and manually running the command.

stephen