Thu, 15 Dec 2005 22:57:39 -0500
|
Support suggested trying something like
# run LISTSERV at startup
ls:235:once:/home/listserv/go bg >/dev/console 2>&1
in /etc/inittab. Did you not receive their email?
This is actually what I use myself on Linux, so I know it works
there. I don't think there's any need for init to wait until 'go' terminates.
Nathan
At 03:14 PM 12/15/2005 -0800, Joe DeBattista wrote:
>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]
|
|
|