Re: [SQU] Various Errors after 1 month running

From: Duane Wessels <[email protected]>
Date: Wed, 16 Aug 2000 09:23:05 -0600 (MDT)

On Wed, 16 Aug 2000, Alvaro Munoz-Aycuens Martinez wrote:

> Aug 16 15:21:53 blackice squid[2828]: commBind: Cannot bind socket FD 2
> to 127.0.0.1:0: (22) Invalid argument
> Aug 16 15:21:53 blackice squid[2828]: ipcCreate: Failed to create child
> FD.

Your loopback interface is not being initialized. There are three
related FAQ entries:

  11.37. commBind: Cannot bind socket FD 5 to 127.0.0.1:0: (49) Can't
  assign requested address

  This likely means that your system does not have a loopback network
  device, or that device is not properly configured. All Unix systems
  should have a network device named lo0, and it should be configured
  with the address 127.0.0.1. If not, you may get the above error
  message. To check your system, run:

          % ifconfig lo0

  The result should look something like:

          lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
                  inet 127.0.0.1 netmask 0xff000000

  If you use FreeBSD, see ``this''.

  14.5.1. Cannot bind socket FD 5 to 127.0.0.1:0: (49) Can't assign
  requested address

  Try a different version of Linux. We have received many reports of
  this ``bug'' from people running Linux 2.0.30. The bind(2) system
  call should NEVER give this error when binding to port 0.

  14.2.4. FreeBSD 3.3: The lo0 (loop-back) device is not configured on
  startup

  Squid requires a the loopback interface to be up and configured. If
  it is not, you will get errors such as ``commBind''.

  From FreeBSD 3.3 Errata Notes
  <http://www.freebsd.org/releases/3.3R/errata.html>:

       Fix: Assuming that you experience this problem at all, edit
       /etc/rc.conf and search for where the network_interfaces
  variable is set. In its value, change the word auto to lo0
  since the auto keyword doesn't bring the loop-back device up
  properly, for reasons yet to be adequately determined.
  Since your other interface(s) will already be set in the
  network_interfaces variable after initial installation, it's
  reasonable to simply s/auto/lo0/ in rc.conf and move on.

  Thanks to Robert Lister <mailto:robl at lentil dot org>.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Aug 16 2000 - 09:26:06 MDT

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