[squid-users] squid 5.3 frequent crash

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


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