[squid-users] squid 5.3 frequent crash

Alex Rousskov rousskov at measurement-factory.com
Mon Feb 14 15:55:38 UTC 2022


On 2/14/22 09:34, Majed Zouhairy wrote:

> 2022/02/14 17:29:50 kid1| Starting Squid Cache version 5.4
> 2022/02/14 17:29:56 kid1| FATAL: check failed: opening()
>      exception location: FwdState.cc(663) noteDestinationsEnd
...
> 2022/02/14 17:30:03 kid1| FATAL: check failed: opening()
>      exception location: FwdState.cc(663) noteDestinationsEnd
>      current master transaction: master55

This is known as Bug #5055:
https://bugs.squid-cache.org/show_bug.cgi?id=5055

Squid v5.4 does not have a fix for that bug. You can wait for the next 
v5 release or build Squid from the latest v5 sources (commit 1332f8d or 
later).

HTH,

Alex.


> On 2/14/22 16:53, Alex Rousskov wrote:
>> On 2/14/22 08:49, Majed Zouhairy wrote:
>>> i have squid 4.17 on the machine assembled from source but i did an 
>>> uninstall
>>> sudo make uninstall
>>> before installing 5.4 from the package manager..should i have stopped 
>>> the squid before uninstalling?
>>> or is there something else?
>>
>> Sorry, I cannot give you the exact steps to prevent two Squids from 
>> running on your server -- there are too many unknowns for me to do that.
>>
>> If you have a Squid instance running, you should stop it before 
>> starting another Squid instance. You can check whether you have a 
>> Squid instance running using "ps aux | fgrep squid" or a similar basic 
>> command.
>>
>> Alex.
>>
>>
>>> On 2/14/22 16:41, Alex Rousskov wrote:
>>>> On 2/14/22 07:25, Majed Zouhairy wrote:
>>>>> now on 5.4 i get:
>>>> ...
>>>>> 2022/02/14 15:14:33 kid1| commBind Cannot bind socket FD 44 to 
>>>>> [::]:8080: (98) Address already in use
>>>>> 2022/02/14 15:14:33 kid1| Closing HTTP(S) port [::]:8080
>>>>> 2022/02/14 15:14:33 kid1| FATAL: Unable to open HTTP Socket
>>>>> 2022/02/14 15:14:33 kid1| Squid Cache (Version 5.4): Terminated 
>>>>> abnormally.
>>>>
>>>> The above is usually the result of a misconfiguration or 
>>>> mismanagement: There are two processes trying to listen on the same 
>>>> port 8080. That could be two Squid worker processes or a Squid 
>>>> worker process competing with a non-Squid process.
>>>>
>>>> * If your Squid startup scripts include preliminary steps like 
>>>> "squid -z", then make sure those scripts wait for that first Squid 
>>>> instance to exit before starting the primary Squid instance.
>>>>
>>>> * If you are using SMP macros or conditionals in squid.conf, please 
>>>> share your Squid configuration.
>>>>
>>>>
>>>> HTH,
>>>>
>>>> Alex.
>>



More information about the squid-users mailing list