Title: | MAILBUS 400 User Forum |
Notice: | kits 100-109 - Infocenter //www.digital.com/info/messaging |
Moderator: | IOSG::MARSHALL |
Created: | Thu Jun 11 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3210 |
Total number of notes: | 9174 |
Hi Customer has had problems recently with a corrupt x.500 DIT and is now nervous about retaining the integrity of the system across reboots. He is trying to build a clean close of the DSA (using DELETE DSA TO SNAPSHOT) and MTA whenever they close the system down. The problem is I cannot find anywhere on my UNIX system where he would do this. It appears that shutdown runs the scripts in /sbin/rc0.d - there is one in here called osi_applications. In here there is a call for shutdown which calls /usr/sbin/osi_applshutdown or /sbin/osi_applshutdown On our system (and the customers) there is only the first of these. Looking at this script it appears to kill any application daemons. Where would the customer put any commands he needs to execute during shutdown? Thanks Jill
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3197.1 | FORTY2::LEAVER | Wed May 21 1997 11:29 | 10 | ||
This is really a UNIX problem rather than an MTA one. I don't know if this is the recommended method but they could try creating their own DSA/MTA shutdown script in /sbin/rc0.d On shutdown /sbin/rc0 runs all scripts /sbin/rc0.d/K* in ascending numerical order. Refer to chapter 4 of the System Administration book and look at the files in /sbin/rc0.d for examples. Karen ----- | |||||
3197.2 | Provided by the product? | KERNEL::16.182.96.116::houldingj | Wed May 21 1997 12:23 | 14 | |
Karen Thanks. As the startup of these products is done in osi_appstartup, I wondered if there was a comparable place that the shutdown commands should be placed or is it the customer's choice? There is a stop_mta.ncl script in /var/mta/scripts so I wondered if this is called anywhere during shutdown by default? Cheers Jill | |||||
3197.3 | FORTY2::LEAVER | Wed May 21 1997 14:21 | 5 | ||
The MTA only provides automatic startup in osi_applstartup. It doesn't do anything with the shutdown script so its up to the customer where they put it. Karen ----- |