Re: cannot bind socket error!

From: Russell Mosemann <mose@dont-contact.us>
Date: Wed, 2 Aug 2000 05:55:17 -0500 (CDT)

Stop Apache and all squid processes. Then start squid. Then start
Apache. That will tell you if Apache is still trying to get at port 80.

Russell Mosemann, Ph.D. * Computing Services * Concordia University, Nebraska

On Wed, 2 Aug 2000, System Admin. wrote:

> Date: Wed, 2 Aug 2000 05:58:30 -0400 (EDT)
> From: "System Admin." <pe@student.lssu.edu>
> To: Squid Cache <squid-users@ircache.net>
> Subject: cannot bind socket error!
> Resent-Date: Wed, 2 Aug 2000 03:23:53 -0700 (PDT)
> Resent-From: squid-users@ircache.net
>
> Hi all,
> I have some problem configure a new squid server. I tried to set
> it up as accelerated web for my webserver. Here is some of my config:
>
> http_port 80
> httpd_accel_host virtual
> httpd_accel_port 8000
> httpd_accel_with_proxy off
> acl accelPort port 8000
> http_access allow accelPort
>
> What I did was change my apache webserver port to 8000 along with its
> virtual hosts and restart it. Then start squid with squid -z and
> squid. and I got this error:
>
> 2000/08/02 16:44:13| commBind: Cannot bind socket FD 9 to
> *:80: (13) Permission
> denied
> FATAL: Cannot open HTTP Port
> Squid Cache (Version 2.3.STABLE4): Terminated abnormally.
> CPU Usage: 0.130 seconds = 0.070 user + 0.060 sys
>
> Then I thought it must run as root so I su root and run squid but it won't
> run. Then I tried squid -NCd1 it gave me this:
>
> FATAL: cannot create /home2/squid/logs/access.log:
> (13) Permission denied.
> The directory access.log is to reside in needs to be
> writeable by the user nobody, the cache_effective_user
> set in squid.conf.
>
> How can I fix this problem? Please help, I'm running Squid 2.3 stable4 on
> Solaris 7 x86.
>
> TIA
>
> pe'
>
>
> ------------------------------
> System / Network Administrator
> Samitivej Public Co., LTD.
> 133 Sukhumvit 49. Sukhumvit Rd.
> Klongton, Bangkok 10110.
> THAILAND.
> phone: 011-66-2-3920011 ext. 2533
> fax: 011-66-2-3813490
> ------------------------------
> UNIX System Admin.
> Distributed Computing Services
> Lake Superior State University
> 650 W. Easterday Ave.
> Sault Ste. Marie. MI
> 49783 USA.
> ------------------------------
> http://student.lssu.edu/~pe/index.html
> ------------------------------
>
Received on Wed Aug 02 2000 - 05:00:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:41 MST