Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Squid-novm not starting (Linux 5.2)

3 views
Skip to first unread message

Peter Iannacchione

unread,
Dec 31, 1999, 3:00:00 AM12/31/99
to
I had configured squid.novm (Version 1.1.22) on my Linux 5.2 server.
Everything WAS working fine... On Dec 15 squid quit working??? After much
investigation I have found the following:

DNS server queries work. (i.e. nslookup works fine)
dnsserver queries work (i.e. echo oceana.nlanr.net | /usr/bin/dnsserver
yields correct results)
----------------------------------------------------------------------------
----------------------------------
* cache.log outputs following:

1999/12/31 11:41:27| Starting Squid Cache version 1.NOVM.22 for
i686-pc-linux-gn
u...
1999/12/31 11:41:27| With 256 file descriptors available
1999/12/31 11:41:27| Performing DNS Tests...
1999/12/31 11:41:27| Successful DNS name lookup tests...
1999/12/31 11:41:27| dnsOpenServers: WARNING: Failed to start 'dnsserver'
#1.
1999/12/31 11:41:27| dnsOpenServers: WARNING: Failed to start 'dnsserver'
#2.
1999/12/31 11:41:27| dnsOpenServers: WARNING: Failed to start 'dnsserver'
#3.
1999/12/31 11:41:27| dnsOpenServers: WARNING: Failed to start 'dnsserver'
#4.
1999/12/31 11:41:27| dnsOpenServers: WARNING: Failed to start 'dnsserver'
#5.
FATAL: Failed to start any dnsservers
Squid Cache (Version 1.NOVM.22): Terminated abnormally.
CPU Usage: user 0 sys 0
Maximum Resident Size: 0 KB
Page faults with physical i/o: 202
----------------------------------------------------------------------------
----------------------------------
* permissions on /usr/bin/dnsserver shows:

[root@vmisrv1 bin]# ls -l dnsserver
-rwxr-xr-x 1 root root 6376 Oct 11 1998 dnsserver
----------------------------------------------------------------------------
----------------------------------
* check of process status after failing shows:

[root@vmisrv1 bin]# ps aux | grep squid.novm
nobody 25826 0.0 2.0 2152 944 p1 S 11:41 0:00 squid.novm
nobody 25831 0.0 2.0 2152 952 p1 S 11:44 0:00 squid.novm
nobody 25832 0.0 2.0 2152 952 p1 S 11:47 0:00 squid.novm
nobody 26048 0.0 2.0 2152 952 p1 S 11:50 0:00 squid.novm
nobody 26049 0.0 2.0 2152 952 p1 S 11:54 0:00 squid.novm
----------------------------------------------------------------------------
----------------------------------
Now I've tried everything I know. However, something is strange to me in
that I cannot ping my localhost ,eth0, or eth1 ip addresses??? I can ping
everyone else in the world including my router!

The ping on localhost just sits there (forever).
The ping on eth0 and eth1 keep telling me "Network is unreachable"

I must have altered a setting that didn't expose itself until a system
reboot.

Can anyone give me some leads on where to go from here? Like I said, it was
working???

Thanks in advance.

Pete Iannacchione


Duane Wessels

unread,
Dec 31, 1999, 3:00:00 AM12/31/99
to

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

Duane W.


Miguel A.L. Paraz

unread,
Dec 31, 1999, 3:00:00 AM12/31/99
to
Hi,

First of all, I think you ought to work with a current Squid version, 2.2.x.
You can probably rebuild the RPM for Red Hat 6.1, which is for 2.2.STABLE4,
not the latest (which is 2.2.STABLE5) but better than what you have.

cheers,
---m

--
Miguel "Migs" A.L. Paraz IPhil Communications Network, Inc.
http://www.iphil.net Business Development/Network Architecture/Training
5/F 116 Herrera St., Legaspi Village, Makati City, Philippines +63-2-750-2288


Peter Iannacchione

unread,
Dec 31, 1999, 3:00:00 AM12/31/99
to
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

> Maybe try
>
># ifconfig lo up
>
> Duane W.


Miguel A.L. Paraz

unread,
Jan 1, 2000, 3:00:00 AM1/1/00
to
On Fri, Dec 31, 1999 at 02:41:47PM -0500, Peter Iannacchione wrote:
> First off the "ifconfig lo0" needs to be "ifconfig lo" for Redhat (????)

any Linux distribution, actually.

what I'm wondering is where did this come from:

> EtherTalk Phase 2 addr:0/0

I haven't seen that on any Linux I've worked on...

regards,

Peter Iannacchione

unread,
Jan 1, 2000, 3:00:00 AM1/1/00
to
I've added AppleTalk support as the server is used for a local elementary
school stuffed with Macintosh's. It's compiled into the Redhat kernel so
it's fairly easy to add in using the HowTo's.

Pete


----- Original Message -----
From: "Miguel A.L. Paraz" <m...@iphil.net>
To: <squid...@ircache.net>
Sent: Friday, December 31, 1999 6:52 PM
Subject: Re: Squid-novm not starting (Linux 5.2)

0 new messages