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


--

Best Regards,

        Massimiliano Pala

--o------------------------------------------------------------------------
Massimiliano Pala [OpenCA Project Manager]  massimiliano.p...@dartmouth.edu
                                                 project.mana...@openca.org

Dartmouth Computer Science Dept               Home Phone: +1 (603) 369-9332
PKI/Trust Laboratory                          Work Phone: +1 (603) 646-9179
--o------------------------------------------------------------------------

People who think they know everything are a great annoyance to those of us
who do.
                                                           -- Isaac Asimov

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
_______________________________________________
OpenCA-Devel mailing list
OpenCA-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to