Hi, Max, and thanks for getting back to me. I believe this issue is unrelated. The proper start and kill links were in place but the kill links were not working. I believe this is because the start function did not make an entry in /var/lock/subsys as described below. I do not know when RedHat began requiring this but adding the routine to the initialization scripts fixed the problem. Take care - John
On Mon, 2008-12-22 at 15:40 -0500, Massimiliano Pala wrote: > Hi John, > > did you use the chkconfig util ? This is usually used to add/remove > the required links to the run level scripts. Usually, after installing > the openca software you want to use your specific init-scripts-util > to integrate it in your init/shutdown sequence. > > For redhat you can use: > > $ chkconfig --add openca > $ chkconfig --level 345 openca on > > Usually this works.. :D But let me know if you already did this and > it did not work... > > Later, > Max > > John A. Sullivan III wrote: > > Hello, all. The openca init script is not working properly on RedHat > > style distributions. It does not run on shutdown. Apparently RedHat > > style systems will not run the shutdown script if there is not a file > > in /var/lock/subsys/. > > > > Here is our internal documentation about how we fixed it: > > > > > > cd /download/openca-base*/src/common/etc > > We need to add two lines to the openca script (joe openca). At the end > > of the start case statement, on a new line above the ;; add (without > > quotes) "touch /var/lock/subsys/openca" and at the end of the stop case > > statement, on a new line above the ;; add (without quotest) "rm > > -f /var/lock/subsys/". Without the first, the openca script will fail on > > shutdown. The second is necessary to keep killall from trying to > > shutdown openca after it has already been shut down. > > > > > > There is probably a better way but this is how we did it. Hope it helps > > - John > > > ------------------------------------------------------------------------------ > _______________________________________________ > OpenCA-Devel mailing list > OpenCA-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openca-devel -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsulli...@opensourcedevel.com http://www.spiritualoutreach.com Making Christianity intelligible to secular society ------------------------------------------------------------------------------ _______________________________________________ OpenCA-Devel mailing list OpenCA-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openca-devel