I’m having a lot of fun (not actually) trying to get automatic startup and shutdown of 2 Domino servers running on a single AIX 5.3 machine. (The servers have separate binaries and data, if it’s relevant.)
I have customized Daniel Nashed’s excellent scripts for my needs, and placed them in /etc/rc.d/init.d I can use these to start and stop each server from a console session quite happily. However, I have not managed to get these scripts to start the servers automatically when the system boots. Here’s what I have tried:
- I have placed entries in /etc/inittab for the two servers. The syntax I have tried is as follows:
apps05:2:once:/etc/rc.d/init.d/rc_domino_apps05 start # Start Apps05 Domino server
and also
apps05:2:once:/etc/rc.d/init.d/rc_domino_apps05 start >/tmp/apps05.log 2>&1 # Start Apps05 Domino Server
- I have also tried creating symbolic links in the /etc/rc.d/rc2.d directory pointing to the scripts in the /etc/rc.d/init.d directory
None of this has worked. The scripts run fine when launched by the root user (the script itself does the “su” to the account under which the server runs).
Also I’m having trouble finding any evidence in the logs that the scripts were run successfully or generated errors. Any idea which log I should be looking for this in?
Thanks in advance for any ideas, however tenuous.
Rupert Clayton
Chicago