nv-l
[Top] [All Lists]

[nv-l] Netveiw 7.1.2 on SuSE 8 problems

To: <nv-l@lists.tivoli.com>
Subject: [nv-l] Netveiw 7.1.2 on SuSE 8 problems
From: "Dejan Mijailovic" <dejan.mijailovic@inquent.com>
Date: Thu, 31 Oct 2002 11:29:08 -0500
Reply-to: <dejan.mijailovic@inquent.com>
Hi there, does someone know what is going on here:



Install on SuSE 8 went fine. After the install, daemons came up fine and
everything
worked fine. But the problems arise after rebooting the box or restarting
the netnmrc.

First, netnmrc is, after the install, installed in to the /etc/rc.d/init.d
directory and that directory is not read by RC and nothing else is there.
So I had to move it to /etc/rc.d or /etc/init.d (which is the same
directory) and ensure the ln -s to rc3.d and rc5.d.

After running /etc/init.d/netnmrc start I got this:

Usage: dspmsg [-s setno] <catname> <msgno> ['default' arg ... ]
./netnmrc[281]: /etc/rc.d/init.d/xinetd: not found
./netnmrc[281]: /etc/rc.d/init.d/portmap: not found
./netnmrc[281]: /etc/rc.d/init.d/portmap: not found
./netnmrc[281]: /etc/rc.d/init.d/xinetd: not found
portmap cannot be started, IBM Tivoli NetView daemons cannot be started.
netnmrc exiting...
WARNING: bypassing Tivoli NetView daemon restart.

First,... there is nothing in /etc/rc.d/init.d directory anyway.
Second,..what is "xinetd"?

..And here is the part of the netnmrc that does it:

#
# Start rpc.statd
#

pmpid=`/bin/ps -eo pid,comm | /bin/awk '$2 == "rpc.statd" {print $1; exit}'`
if [ "$pmpid" = "" ] ; then
  portmapexe="/sbin/rpc.statd"
  if [ -x $portmapexe ]; then
    dspmsg -s 5 nv6000.cat -n 8 'Waiting on rpc.statd to become operational.
\n'
     /etc/rc.d/init.d/xinetd stop
     /etc/rc.d/init.d/portmap stop
     /etc/rc.d/init.d/portmap start
    typeset -i cnt=25
    while [ "$PMpid" = "" ] && (( $cnt > 0 ))
    do
      sleep 2
      PMpid=`/bin/ps -eo pid,comm | /bin/awk '$2 == "rpc.statd" {print $1;
exit}'`
      cnt=$cnt-1
    done
     /etc/rc.d/init.d/xinetd start

    if (( $cnt == 0 )); then
       dspmsg -s 5 nv6000.cat 9 'rpc.statd cannot be started, IBM Tivoli
NetView daemons cannot be started. \n'
       dspmsg -s 5 nv6000.cat 10 'netnmrc exiting...\n'
       dspmsg -s 5 nv6000.cat 402 'WARNING: bypassing Tivoli NetView daemon
restart.\n'
       exit 9
    else
      dspmsg -s 5 nv6000.cat 11 '*** rpc.statd started \n'
    fi
  fi
else
        dspmsg -s 5 nv6000.cat 12 'rpc.statd is already running \n'
fi

Does someone know what is going on?
Is there something wrong with "netnmrc" script for Linux?

Thanks

Dejan Mijailovic
Inquent Technologies Inc.


<Prev in Thread] Current Thread [Next in Thread>
  • [nv-l] Netveiw 7.1.2 on SuSE 8 problems, Dejan Mijailovic <=

Archive operated by Skills 1st Ltd

See also: The NetView Web