[squid-users] 3.5.8 Arm7 socket permissions

Darren Breeze ML darren.j.breeze.ml at gmail.com
Thu Oct 29 21:03:21 UTC 2015


HI

Thanks again for having a think about this.

with debug options 78.2, I get the following

2015/10/29 20:43:11 test| Starting Squid Cache version 3.5.8 for 
arm-poky-linux-gnueabi...
2015/10/29 20:43:11 test| Service Name: squid
2015/10/29 20:43:11.918 test| 78,2| src/dns_internal.cc(1534) dnsInit: 
idnsInit: attempt open DNS socket to: 192.168.192.184
2015/10/29 20:43:11.918 test| comm_open: socket failure: (13) Permission 
denied
FATAL: Could not create a DNS socket
Squid Cache (Version 3.5.8): Terminated abnormally.
CPU Usage: 0.140 seconds = 0.120 user + 0.020 sys
Maximum Resident Size: 19024 KB
Page faults with physical i/o: 0

I have set udp_incoming address to 192.168.192.184, eth0 ip address but 
if I leave this out I get

2015/10/29 20:47:48 test| Service Name: squid
2015/10/29 20:47:48.141 test| 78,2| src/dns_internal.cc(1525) dnsInit: 
idnsInit: attempt open DNS socket to: [::]
2015/10/29 20:47:48.141 test| comm_open: socket failure: (13) Permission 
denied
2015/10/29 20:47:48.141 test| 78,2| src/dns_internal.cc(1534) dnsInit: 
idnsInit: attempt open DNS socket to: 0.0.0.0
2015/10/29 20:47:48.141 test| comm_open: socket failure: (13) Permission 
denied
FATAL: Could not create a DNS socket
Squid Cache (Version 3.5.8): Terminated abnormally.
CPU Usage: 0.070 seconds = 0.060 user + 0.010 sys
Maximum Resident Size: 19072 KB
Page faults with physical i/o: 0

as it tries to then open the ipv6 port first. but still fails.

I can't see a port number, just the IP address. I am guessing now I may 
have missed something out of the kernel, but everything else seems to 
work, including Nginx on the same machine.

thanks again

Darren Breeze









On 29/10/2015 8:00 PM, Amos Jeffries wrote:
> debug_options 78,2



More information about the squid-users mailing list