Re: Squid-novm not starting (Linux 5.2)

From: Peter Iannacchione <pete@dont-contact.us>
Date: Fri, 31 Dec 1999 14:41:47 -0500

Thanks for the hint Duane! Here's a recap for anyone wanting to expand
their FAQ knowledge...

First off the "ifconfig lo0" needs to be "ifconfig lo" for Redhat (????)

The "ifconfig lo" yielded the following:

-----------------------------------------------------
[root@vmisrv1 /etc]# ifconfig lo
lo Link encap:Local Loopback
          inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
          EtherTalk Phase 2 addr:0/0
          BROADCAST LOOPBACK MTU:3584 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
-----------------------------------------------------

I removed the broadcast address only because none of the docs show a
broadcast address..

The obvious that I didn't notice was that the lo interface wasn't UP???
Duane noticed right off. That's why I never showed a route using
"netstat -r" (and couldn't add one either).

Anyway, did an "ifconfig lo up" and then a "route add 127.0.0.1" and was
able to get my ping from "ping localhost". Duane had mentioned that squid
MUST have localhost configured properly to start.

I cleared the squid processes and restarted and everything's running great
again!!

You can see the difference on the ifconfig below.
-----------------------------------------------------
[root@vmisrv1 squid]# ifconfig lo
lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          EtherTalk Phase 2 addr:0/0
          UP LOOPBACK RUNNING MTU:3584 Metric:1
          RX packets:47 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
-----------------------------------------------------

Why the lo interface went down and dissappeared from the routing table is
still a mistery...

Many thanks to those that replied. Maybe I can help someone in the new
year...

Pete Iannacchione

----- Original Message -----
From: "Duane Wessels" <wessels@ircache.net>
To: "Peter Iannacchione" <pete@velocity.net>
Cc: <squid-users@ircache.net>
Sent: Friday, December 31, 1999 1:42 PM
Subject: Re: Squid-novm not starting (Linux 5.2)

> >
>>
>> On Fri, 31 Dec 1999, Peter Iannacchione wrote:
>>
> >> The ping on localhost just sits there (forever).
> >> The ping on eth0 and eth1 keep telling me "Network is unreachable"
>>
>> This is most likely your problem. What do you get from
>>
>> ifconfig lo0
>> See also http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.36
>
> Maybe try
>
># ifconfig lo up
>
> Duane W.
Received on Fri Dec 31 1999 - 12:49:58 MST

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