Hi Dejan,
Again, I saw something very similar to this on RedHat. We didn't exactly meet
the Op Sys pre-reqs (slightly newer version of RedHat and we hadn't installed
the specified version of pdksh). We reinstalled the box with precise levels of
pre-reqs and the problem went away.
Cheers,
Jane
Dejan Mijailovic wrote:
> 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.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
> For additional commands, e-mail: nv-l-help@lists.tivoli.com
>
> *NOTE*
> This is not an Offical Tivoli Support forum. If you need immediate
> assistance from Tivoli please call the IBM Tivoli Software Group
> help line at 1-800-TIVOLI8(848-6548)
--
Tivoli Certified Consultant & Instructor
Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK
Tel: +44 (0)1628 782565
Copyright (c) 2002 Jane Curry <jane.curry@skills-1st.co.uk>. All rights
reserved.
|