CAP startup on v3.2

From: Lyn Kempter <kempterl_at_jasper.cqu.edu.au>
Date: Mon, 3 Jul 1995 12:46:51 +1000 (EST)

G'Day fellow SAs!

We have recently installed cap services on our Alpha 3000/300,
OSF version 3.2a and are having difficulties starting things
from bootup. When starting via boot, the aarpd daemon fails
to kick off, but the atis and aufs daemons are fine. After
the system is running, I can run the same script and all three
start fine. Here is the relevant code from the /sbin/init.d
startup file:

case "$1" in
    'start')
         pid=`/bin/ps -e | grep portmap | grep -v grep | sed -e ' s/^ *//
' -e 's/ .*//' | head -1`
         if [ "X$pid" = "X" ]
         then
           if $PORTMAP; then
                echo "ONC portmap service started"
            fi
         fi

    # Otherwise start aarpd first for Native EtherTalk
    #
    ${CAP}/aarpd -l ${CAPLOG}/aarpd.log "ln1" "XYZ"

    # allow atis to startup before other CAP programs
    #
    ${CAP}/atis -l ${CAPLOG}/atis.log

    # Make this 15 seconds if using aarpd
    #
    sleep 15

    ${CAP}/aufs -U 20 -V ${LIB}/afpvols -l ${CAPLOG}/AUFServer.log -n Alpha1
    ;;

Anyone see anything obviously wrong with this? I tried adding an ampersand
(to throw the process into the background) after the line which starts
aarpd to no avail. It's difficult to experiment with this sort of thing -
users tend to get rather cranky when the system keeps shutting down all
the time. ;)

Anyone had any experience with this?

Many thanks,
Lyn

PS The CAP version is 6, patch level 194.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
         Lyn Kempter _--_|\ Internet: l.kempter_at_cqu.edu.au
    Information Technology / *\ Phone: (+)61 79 309806
    Central Queensland Uni \_.--._/ Fax: (+)61 79 309254
 Rockhampton, Queensland 4702 v
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Received on Mon Jul 03 1995 - 05:32:57 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT