squid bind to port 80 fails when started via squid.sh script

P.U.Kruppa root at pukruppa.de
Wed Jul 6 01:33:32 GMT 2005


On Wed, 6 Jul 2005, 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.
Did you set
squid_enable="YES"
squid_user="root"
squid_flags="-D"
in /etc/rc.conf ?

Regards,

Uli.

>
>
> However, starting it as:
>
> # /usr/local/sbin/squid -D
>
> appears to be working (starting) fine.
>
> Could this be a bug with the squid script or executable or have I missed
> something? In squid.conf all settings are at install defaults except
> for:
> http_port 80
> cache_dir ufs /var/squid/cache 100 16 256
> cache_access_log /var/log/squid_access.log
> cache_log /var/log/squid_cache.log
> cache_store_log /var/log/squid_store.log
> pid_filename /var/run/squid.pid
> httpd_accel_host virtual
> httpd_accel_port 81
>
>
> Thanks,
>
> Wayne
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>



*********************************************
* Peter Ulrich Kruppa - Wuppertal - Germany *
*********************************************


More information about the freebsd-questions mailing list