Re: "route" problem

From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 01/30/05


Date: Sun, 30 Jan 2005 09:14:09 -0500

In article <1107092032.474519.146650@f14g2000cwb.googlegroups.com>,
 "Strikz" <dejanews@strikz.co.uk> wrote:

> Hi,
>
> I've a main Solaris 8 NIS server that until recently was running fine,
> but it hadn't been rebooted in several months. It lost power, and when
> I recovered it I found it freezes on boot-up.
>
> I was able to get into single user mode, and add a set -x to the
> inetinit script. As the machine normally boots it runs inetinit and
> during that script the "route" command is run to add the default
> gateway. This is where apparently the machine halts.
>
> If I remove defaultrouter, then on boot the machine does come all the
> way up. I can access the server from the same subnet, but not from
> others (obviously). If I then manually run the route command, it halts
> that telnet session (I'm not able to CTRL-C out). The "route" binary
> looks ok, FILE tells me its a sparc binary. I also think all the lib
> files required are ok too.
>
> A colleague of mine thinks the route program is waiting on the network
> to respond with something that its not getting. But all of the NIS

Route doesn't normally send anything over the network, unless you give
it a hostname rather than an IP address, in which case it may have to
use NIS or DNS to resolve the name. But that shouldn't cause an
unkillable hang.

> clients use the same gateway and they all boot-up fine.
> Any idea how I can diagnose this more? Or what might be going on?

Not sure, but to narrow it down further, try running:

truss route add default ....

to see what system call it's hanging in.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Relevant Pages

  • Re: "route" problem
    ... >> I've a main Solaris 8 NIS server that until recently was running fine, ... If I then manually run the route command, ... But all of the NIS ... I wonder if an incorrect route command is blackholing the ...
    (comp.unix.solaris)
  • Re: [SLE] NIS Problem
    ... > i've setted up a NIS server and NIS clients on SuSE 8.2.. ... > I have to map the /home directory, which resides on the NIS Server, ... NIS/Autofs Example Setup ...
    (SuSE)
  • Re: NIS Problem Suse/AIX (Domains?)
    ... The linux PC's NIS and DNS domains are different, ... IP address for the NIS server. ... >> client on an AIX network with an AIX NIS server. ...
    (comp.os.linux.networking)
  • Re: FreeBSD as NIS client to Linux
    ... now the advantages of NIS are gone ... ... If the NIS server goes belly up, ... > from a server to all machines. ... argue rather trading robustness for fancyness... ...
    (comp.unix.bsd.freebsd.misc)
  • Re: FreeBSD as NIS client to Linux
    ... that the NIS server is already ... > productive for Linux clients. ... my FreeBSD machine can use NIS, ... say adios to all your machines. ...
    (comp.unix.bsd.freebsd.misc)