From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079036515848.tru64-unix-managers.marc@archive.invalid> From: "Leonard, Roger" Date: Mon, 22 Feb 1999 15:30:02 +0000 To: tru64-unix-managers Subject: rc scripts X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079036515848 I am trying to get oracle and PeopleSoft to shutdown as part of the normal system shutdown and it does not appear to work. I created a script that calls the proper shutdowns and put it in /sbin/init.d and then created S and K links in rc2.d and rc3.d. The startup in rc3.d works fine but the system never executes the shutdown portion in rc2.d. Running it manually through the links and issuing the start or stop arguments works fine. When I do a shutdown -r now, the system immediately goes down and I can't see where it runs anything in rc2.d. What am I missing? Currently the way I got it to work was to put a wrapper script around the /sbin/shutdown executable that shuts down the applications and then calls the real shutdown but this seems kludgy. Any help would be greatly appreciated. Roger Leonard rleonard@cvty.com