[squid-users] SQUID refuses to listen on any TCP Port
Alex Rousskov
rousskov at measurement-factory.com
Fri Mar 4 15:32:00 UTC 2022
On 3/4/22 06:11, ben wrote:
> I've done this and uploaded the log. Please take a look at it. Thank you
> https://www.dropbox.com/s/k8nwdjs7bly4exw/squid.log.gz
Did you wait a few seconds and then killed Squid? Or did Squid quit
(i.e. gave back control to your terminal/console session) on its own?
It looks like your Squid process is being killed by something: The log
is missing a debugging line that should have been there right after the
last line logged. There are no particularly dangerous calls between
those two debugging lines.
Can you start your Squid from gdb instead of the command line?
sudo gdb --args squid -X -N -d9 -f ...
(gdb) run
Alex.
>> On 3/3/22 11:12, ben wrote:
>>
>>> I tried your suggestions and it is the same result
>>> first I deliberately put some erroreous config in squid.conff and it
>>> failed to start as a result.
>>> When I ran it again by specifying the default config manually, it
>>> make no difference from before.
>>
>> There is a difference, but apparently not in the final outcome.
>>
>> Please use the following or equivalent command to start your Squid
>> with debugging enabled (-X), wait ~30 seconds, and then press
>> Control-C (to kill the running Squid process if it is running),
>> compress, and share a pointer to the resulting stderr output captured
>> in the /tmp/debugging.log file.
>>
>> squid -X -N -d9 -f /etc/squid/squid.conf.saved 2> /tmp/debugging.log
>>
>> It is best to use default Squid configuration for this triage in order
>> to reduce the chances of sharing sensitive information in that
>> debugging log.
>>
>> Alex.
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> http://lists.squid-cache.org/listinfo/squid-users
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
More information about the squid-users
mailing list