Re: FATAL: cannot open HTTP port

From: Duane Wessels <wessels@dont-contact.us>
Date: Sun, 4 Jun 2000 15:34:46 -0600

On Mon, 5 Jun 2000, HRISTOV wrote:

> Hello to everyone!
>
> I am running Red Hat 6.2 and squid-2.3 Stable2. This is my first time
> setting up Squid.
>
> When I run: squid -NCd1 , I receive the followingerror message:
> commBind: Cannot bind socket FD 10 to *:3128: (98) Address already in
> use.
> FATAL: Cannot open HTTP port.
>
> Do I only need to have http_port 3128 uncommented in squid.conf to get
> the basic proxy services?

Your question is frequently asked:

  11.11. Cannot bind socket FD NN to *:8080 (125) Address already in
  use

  This means that another processes is already listening on port 8080
  (or whatever you're using). It could mean that you have a Squid
  process already running, or it could be from another program. To
  verify, use the netstat command:

          netstat -naf inet | grep LISTEN

  That will show all sockets in the LISTEN state. You might also try

          netstat -naf inet | grep 8080

  If you find that some process has bound to your port, but you're not
  sure which process it is, you might be able to use the excellent lsof
  <ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/> program. It will show
  you which processes own every open file descriptor on your system.
Received on Sun Jun 04 2000 - 15:37:42 MDT

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