Date: Tue, 05 Jul 2005 13:38:59 -0400 From: Chuck Swiger <cswiger@mac.com> To: Wayne Sierke <ws@au.dyndns.ws> Cc: freebsd-questions@freebsd.org Subject: Re: squid bind to port 80 fails when started via squid.sh script Message-ID: <42CAC5B3.6070400@mac.com> In-Reply-To: <1120584597.57575.51.camel@au.dyndns.ws> References: <1120584597.57575.51.camel@au.dyndns.ws>
next in thread | previous in thread | raw e-mail | index | archive | help
Wayne Sierke wrote: > FreeBSD 5.4-RELEASE/squid-2.5.9_3 > > If I start squid via the script (as root), I get: > > /var/log/squid_cache.log: > > commBind: Cannot bind socket FD 11 to *:80: (13) Permission denied > FATAL: Cannot open HTTP Port > Squid Cache (Version 2.5.STABLE9): Terminated abnormally. The squid startup script probably changes to a non-root user before running the squid binary, which means that squid cannot bind to a port below 1024. Normally, people run squid on port 3128, although 8080 is also relatively common. -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42CAC5B3.6070400>