Re: [squid-users] SQUID refuses to listen on any TCP Port

2022-03-03 Thread Amos Jeffries
On 4/03/22 00:50, Eliezer Croitoru wrote: Should "squid -kparse" be of help for such a scenario? Ideally, but it depends on what the exact cause is. The purpose of "-kparse" is to find errors that a startup would show anyway, but without actually needing a running proxy. Nothing being

Re: [squid-users] SQUID refuses to listen on any TCP Port

2022-03-03 Thread Alex Rousskov
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

Re: [squid-users] SQUID refuses to listen on any TCP Port

2022-03-03 Thread ben
Hi, 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. Many thinks for your help

Re: [squid-users] SQUID refuses to listen on any TCP Port

2022-03-03 Thread Alex Rousskov
On 3/3/22 09:42, 苏 格 wrote: Yes, I checked the config again and I'm sure that's the config squid is running with Your Squid output suggests that you are running an SMP Squid. That, in turn, suggests that you suffer from an SMP/IPC communication problem. I suggest the following triage

Re: [squid-users] SQUID refuses to listen on any TCP Port

2022-03-03 Thread 苏 格
Hi, Yes, I checked the config again and I'm sure that's the config squid is running with netstat -tnlpe|grep :3128 failed to produce any output Thank you for your help! 发件人: squid-users 代表 Matus UHLAR - fantomas 发送时间: 2022年3月3日 14:29 收件人:

Re: [squid-users] SQUID refuses to listen on any TCP Port

2022-03-03 Thread Matus UHLAR - fantomas
On 03.03.22 13:56, 苏 格 wrote: I tried using the default config. No difference are you sure there's this line in the default config? http_port 3128 are you sure there's nothing listening on 3128? netstat -tnlpe|grep :3128 2022/03/03 21:49:17 kid1| Set Current Directory to /var/cache/squid

Re: [squid-users] SQUID refuses to listen on any TCP Port

2022-03-03 Thread 苏 格
here is the default config # # Recommended minimum configuration: # # Example rule allowing access from your local networks. # Adapt to list your (internal) IP networks from where browsing # should be allowed acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN) acl localnet

Re: [squid-users] SQUID refuses to listen on any TCP Port

2022-03-03 Thread 苏 格
Hi, I tried using the default config. No difference 2022/03/03 21:49:17 kid1| Set Current Directory to /var/cache/squid 2022/03/03 21:49:17 kid1| Starting Squid Cache version 4.17 for x86_64-pc-linux-gnu... 2022/03/03 21:49:17 kid1| Service Name: squid 2022/03/03 21:49:17 kid1| Process ID

Re: [squid-users] SQUID refuses to listen on any TCP Port

2022-03-03 Thread Eliezer Croitoru
Should "squid -kparse" be of help for such a scenario? Else then using the default squid.conf it would be helpful to explain what are the basic squid.conf that is required for squid to run. I believe that a wiki/doc about this would be nice (volunteering to write a draft later on) Eliezer

Re: [squid-users] SQUID refuses to listen on any TCP Port

2022-03-03 Thread Amos Jeffries
On 3/03/22 14:48, ben wrote: Hi,Alex, Thanks for your help. I run squid with the option d1 and its output is as followings 2022/03/03 09:17:39 kid1| Current Directory is /root 2022/03/03 09:17:39 kid1| Starting Squid Cache version 4.17 for x86_64-pc-linux-gnu... 2022/03/03 09:17:39 kid1|