Re: [squid-users] Problem with start squid

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 22 Jul 2008 23:40:33 +1200

Michael Alger wrote:
> On Mon, Jul 21, 2008 at 10:53:10PM -0500, opc_at_orenses.com wrote:
>> I have installed and configured Squid 3 Stable 6
>>
>> It works correctly and completely for days and even weeks, but all
>> of a sudden, and without reason it stops working, and there is
>> nothing I can do to put it again. I have tried with the following
>> aids, but nothing happens.
>>
>> /usr/local/squid/sbin/squid -k reconfigure
>> /usr/local/squid/sbin/squid -k parse
>> /usr/local/squid/sbin/squid
>>
>> Even when I execute "ps ax | grep squid" the process of squid does
>> not appear. I have even restarted the server and executed squid
>> from zero, but it never comes. That is why I have had to format
>> and reinstall Linux and Squid.
>
> That's a bit extreme! Do you have it working now?
>
> Either way, if it doesn't start up you should check the cache.log.
> That will tell you what the problem is. If you're not able to fix it
> yourself and searching for the error message doesn't yield any
> clues, you can ask here about it.
>
> If squid isn't starting at all, it's usually because it's unable to
> listen on any of the ports it's configured to. This typically means
> either you've specified an IP address that isn't configured on the
> system, or the IP/port it's listening on is being used by something
> else.

Extreme indeed. But usually seen (by me at least) when squid logs exceed
the size of the drive. In which case cache.log will not contain the
crash message (that failed to write). If the drive is 100% full delete
something and restart squid.
If the drive is under 100%, check cache.log for the dying message about
what went wrong.

Amos

-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE8
Received on Tue Jul 22 2008 - 11:40:37 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 22 2008 - 12:00:04 MDT