BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: {bb} Not all external scripts started at systemboot.



Where is the start-up script located (e.g. /etc/rc.d/rc2.d)?

LeRoy S. Phillips 'Phil'
UNIX System Administrator (AIX/SAP)
303.737.5399
 

-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of Ryan
Novosielski
Sent: Tuesday, February 28, 2006 7:14 AM
To: bb@bb4.com
Subject: Re: {bb} Not all external scripts started at systemboot.

I once had not all scripts start when issuing a restart instead of a 
stop/start.

I'd be interested to know if you learn anything about this.

---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
|$&| |__| |  | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630




Frank Timmers wrote:
> Morning everyone,
>
> I'm running into a weird problem.. At system boot, Big Brother doesn't

> start all external scripts, however when starting bb manually (using
the 
> system start script) it works ok..
>
> Any ideas anyone?
>
>
> Greetings,
> /Frank.
>
>
>
> This is my system start script (/sbin/init.d/bb-client):
> #!/sbin/sh
> #
> # Allowed exit values:
> #       0 = success; causes "OK" to show up in checklist.
> #       1 = failure; causes "FAIL" to show up in checklist.
> #       2 = skip; causes "N/A" to show up in the checklist.
> #           Use this value if execution of this script is overridden
> #           by the use of a control variable, or if this script is not
> #           appropriate to execute for some other reason.
> #       3 = reboot; causes the system to be rebooted after execution.
> #       4 = background; causes "BG" to show up in the checklist.
> #           Use this value if this script starts a process in
background 
> mode.
>
> # Input and output:
> #       stdin is redirected from /dev/null
> #
> #       stdout and stderr are redirected to the /etc/rc.log file
> #       during checklist mode, or to the console in raw mode.
>
> export PATH=/usr/sbin:/usr/bin:/sbin
>
> # Assume "excluded"
> rval=2
>
> case $1 in
> 'start_msg')
>         echo "Starting Big Brother Client processes"
>         ;;
>
> 'stop_msg')
>         echo "Stopping Big Brother Client processes"
>         ;;
>
> 'start')
>         su - bb -c "/opt/bb/bb-client/runbb.sh start" > /dev/null 2>&1
>         rval=0
>         ;;
>
> 'stop')
>         su - bb -c "/opt/bb/bb-client/runbb.sh stop" > /dev/null 2>&1
>         rval=0
>         ;;
>
> *)
>         echo "usage: $0 {start|stop|start_msg|stop_msg}"
>         rval=1
>         ;;
> esac
>
> exit $rval
>
> # EOF
>
> -----------------------------------------------------
>
> After system boot:
> frankt:~> ps -ef | grep bb-
>       bb  2548     1  0 07:47:57 ?         0:00 
> /opt/bb/bb-client/bin/bbrun -a /opt/bb/bb-client/ext/bb-iostat.
>       bb  2570     1  0 07:47:57 ?         0:00 
> /opt/bb/bb-client/bin/bbrun -a /opt/bb/bb-client/bin/bb-local.s
>
> frankt:~> sudo /sbin/init.d/bb-client start
>
> frankt:~> ps -ef | grep bb-
>       bb 15855     1  0 10:42:07 pts/0     0:00 
> /opt/bb/bb-client/bin/bbrun -a /opt/bb/bb-client/ext/bb-orauser
> frankt 18473 12226  1 10:46:28 pts/0     0:00 grep bb-
>       bb 15870     1  0 10:42:07 pts/0     0:00 
> /opt/bb/bb-client/bin/bbrun -a /opt/bb/bb-client/bin/bb-local.s
>       bb 15858     1  0 10:42:07 pts/0     0:00 
> /opt/bb/bb-client/bin/bbrun -a /opt/bb/bb-client/ext/bb-mrcbckg
>       bb 15844     1  0 10:42:07 pts/0     0:00 
> /opt/bb/bb-client/bin/bbrun -a /opt/bb/bb-client/ext/bb-iostat.
>       bb 15850     1  0 10:42:07 pts/0     0:00 
> /opt/bb/bb-client/bin/bbrun -a /opt/bb/bb-client/ext/bb-oraspac
>       bb 15862     1  0 10:42:07 pts/0     0:00 
> /opt/bb/bb-client/bin/bbrun -a /opt/bb/bb-client/ext/bb-oratabl
>       bb 15847     1  0 10:42:07 pts/0     0:00 
> /opt/bb/bb-client/bin/bbrun -a /opt/bb/bb-client/ext/bb-roracle
>       bb 15865     1  0 10:42:07 pts/0     0:00 
> /opt/bb/bb-client/bin/bbrun -a /opt/bb/bb-client/ext/bb-fsdelta
>
> Met vriendelijke groet/With kind regards/Pozdrawiam/Saludos,
>
> Frank Timmers
> Unix Specialist, IT-PLD, Philips Lighting Distribution
>
> Bredaseweg 203
> 4705 RN Roosendaal
> The Netherlands
> Phone: +31 (0)16 557 7122
> E-mail: Frank.Timmers@philips.com
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> To unsubscribe from this list, or to subscribe to the bb-digest list
> send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
> subscribe bb-digest in the BODY of the message.
>   

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index