<html><head></head><body bgcolor="#232729" text="#eeeeec" link="#4a90d9" vlink="#eeeeec"><div>Well....I'll just say up front that systemd is not my friend. When running squid via cli: sudo /opt/squid/sbin/squid it runs like a champ. But using the service file at:</div><div><br></div><div><a href="https://raw.githubusercontent.com/squid-cache/squid/master/tools/systemd/squid.service">https://raw.githubusercontent.com/squid-cache/squid/master/tools/systemd/squid.service</a></div><div><br></div><div>it times out after a few:</div><div><font face="monospace" size="3"><br></font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3669]: Created PID file (/opt/squid/var/run/squid.pid)</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3669]: Squid Parent: will start 1 kids</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3669]: Squid Parent: (squid-1) process 3678 started</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Set Current Directory to /opt/squid/var</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Starting Squid Cache version 4.0.24 for x86_64-pc-linux-gnu...</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Service Name: squid</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Process ID 3678</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Process Roles: worker</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: With 1024 file descriptors available</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Initializing IP Cache...</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: DNS Socket created at [::], FD 5</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: DNS Socket created at 0.0.0.0, FD 10</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Adding nameserver 192.168.1.253 from /etc/resolv.conf</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Adding nameserver 205.171.3.65 from /etc/resolv.conf</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Adding nameserver 205.171.2.65 from /etc/resolv.conf</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Adding domain slave-tothe-box.net from /etc/resolv.conf</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Adding domain slave-tothe-box.net from /etc/resolv.conf</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: helperOpenServers: Starting 5/5 'security_file_certgen' processes</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Logfile: opening log syslog:daemon.info</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Store logging disabled</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Swap maxSize 0 + 262144 KB, estimated 20164 objects</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Target number of buckets: 1008</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Using 8192 Store buckets</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Max Mem size: 262144 KB</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Max Swap size: 0 KB</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Using Least Load store dir selection</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Set Current Directory to /opt/squid/var</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Finished loading MIME types and icons.</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: HTCP Disabled.</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Squid plugin modules loaded: 0</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Adaptation support is off.</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Accepting HTTP Socket connections at local=x.x.x.x:3127 remote=[::] FD 21 flags=9</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Accepting NAT intercepted HTTP Socket connections at local=x.x.x.x:3128 remote=[::] FD 22 flags=41</font></div><div><font face="monospace" size="3">06:20:11 gateway squid[3678]: Accepting NAT intercepted SSL bumped HTTPS Socket connections at local=x.x.x.x:3129 remote=[::] FD 23 flags=41</font></div><div><font face="monospace" size="3">06:20:12 gateway squid[3678]: storeLateRelease: released 0 objects</font></div><div><font face="monospace" size="3">06:21:41 gateway systemd[1]: squid.service: Start operation timed out. Terminating.</font></div><div><font face="monospace" size="3">06:21:41 gateway systemd[1]: squid.service: Killing process 3669 (squid) with signal SIGKILL.</font></div><div><font face="monospace" size="3">06:21:41 gateway sudo: pam_unix(sudo:session): session closed for user root</font></div><div><font face="monospace" size="3">06:21:41 gateway systemd[1]: squid.service: Killing process 3678 (squid) with signal SIGKILL.</font></div><div><font face="monospace" size="3">06:21:41 gateway jlay[2415] 192.168.1.2 46692 192.168.1.252 22: sudo systemctl start squid</font></div><div><font face="monospace" size="3">06:21:41 gateway systemd[1]: squid.service: Killing process 3680 (security_file_c) with signal SIGKILL.</font></div><div><font face="monospace" size="3">06:21:41 gateway systemd[1]: squid.service: Killing process 3682 (security_file_c) with signal SIGKILL.</font></div><div><font face="monospace" size="3">06:21:41 gateway systemd[1]: squid.service: Killing process 3683 (security_file_c) with signal SIGKILL.</font></div><div><font face="monospace" size="3">06:21:41 gateway systemd[1]: squid.service: Killing process 3684 (security_file_c) with signal SIGKILL.</font></div><div><font face="monospace" size="3">06:21:41 gateway systemd[1]: squid.service: Killing process 3685 (security_file_c) with signal SIGKILL.</font></div><div><font face="monospace" size="3">06:21:41 gateway systemd[1]: squid.service: Failed with result 'timeout'.</font></div><div><font face="monospace" size="3">06:21:41 gateway systemd[1]: Failed to start Squid Web Proxy Server.</font></div><div><font face="monospace" size="3"><br></font></div><div>I've modded the service file to reflect different binary location, but that's about it. Thank you.</div><div><br></div><div>James</div><div></div></body></html>