LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Joe DeBattista <[log in to unmask]>
Thu, 15 Dec 2005 15:14:41 -0800
TEXT/PLAIN (39 lines)
Hi,
   I'm having an interesting problem.  I'm running listserv 14.4 on a server
running AIX 5.1.  I have the following entry in my /etc/rc.local for restarting
listserv when I reboot my server

/usr/bin/su - listserv "-c /usr/local/lsoft/go bg"

listserv does start up, but the rc.local doesn't ever finish.  A ps -ef shows
the process still running, and none of the other processes after rc.local ever
get started.  In /etc/rc, I have the following:

if [ -s /etc/rc.local ]
then
        sh /etc/rc.local
fi

Here's the ls for /etc/rc.local
-r-xr-xr--   1 bin      bin            1883 Dec 13 11:45 /etc/rc
-rwxr-xr-x   1 bin      bin             338 Dec 13 12:28 /etc/rc.local


root's shell is /bin/ksh.  I also tried the following in /etc/rc.local and this
also hung /etc/rc.local.
su - listserv -c "/usr/local/lsoft/go bg" && echo 'Starting listserv' >>
/dev/console;exit

I also tried these combinations by commenting out the /etc/rc entries and
putting the following in /etc/inittab, but the results were the same.
rclocal:2:wait:/etc/rc.local >> /var/spool/mqueue/syslog

If I run either of the /usr/local/lsoft/go commands from the command line, they
work fine, but not from within rc.local.  Any ideas?



                                 Joe DeBattista
                                 UCSF, ITS
                      INTERNET:  [log in to unmask]

ATOM RSS1 RSS2