Environment
UNIX/Linux
Situation
Once you have installed and started Reflection PKI Services Manager, if the host system is restarted or rebooted, PKI Services Manager won't automatically shut down, nor will it automatically restart when the system comes back up.
Note: This technical note applies to Reflection PKI Services Manager version 1.0 only. The issue has been resolved in version 1.1. For information about Reflection PKI Services Manager 1.1 see KB 7021872.
Resolution
Operating System Examples
Solving this issue is a two-step process. First, locate the PKI Services Manager init script, and then add the PKI Services Manager start and stop links to the init script. The PKI Services Manager init script location and the process for adding the start and stop links vary depending on the operating system. Several examples are listed below.
Linux (SUSE Linux Enterprise Server or Red Hat Enterprise Linux)
On SUSE Linux Enterprise Server, PKI Services Manager init script location:
/etc/init.d/pkid
On Red Hat Enterprise Linux, PKI Services Manager init script location:
/etc/rc.d/init.d/pkid
To enable automatic startup and shutdown of PKI Services Manager, run /sbin/chkconfig to add the start and stop links to PKI Services Manager, for example:
/sbin/chkconfig --level 3 pkid on
IBM AIX 5.2 or 5.3
PKI Services Manager init script location: /etc/rc.d/init.d/pkid
To enable automatic startup and shutdown of PKI Services Manager, follow these steps:
- Create symbolic link for startup: /etc/rc.d/rc2.d/S900pkid:
ln -s /etc/rc.d/init.d/pkid /etc/rc.d/rc2.d/S900pkid
- Create symbolic link for stop: /etc/rc.d/rc2.d/K100pkid:
ln -s /etc/rc.d/init.d/pkid /etc/rc.d/rc2.d/K100pkid
HP-UX on PA-RISC, IA64
PKI Services Manager init script location: /sbin/init.d/pkid
To enable automatic startup and shutdown of PKI Services Manager, follow these steps:
- Create symbolic link for startup: /sbin/rc2.d/S900pkid:
ln -s /sbin/init.d/pkid /sbin/rc2.d/S900pkid
- Create symbolic link for stop: /sbin/rc1.d/K100pkid:
ln -s /sbin/init.d/pkid /sbin/rc1.d/K100pkid
Sun Solaris 8 or 9
PKI Services Manager init script location: /etc/init.d/pkid
To enable automatic startup and shutdown of PKI Services Manager, follow these steps:
- Create symbolic link for startup: /etc/rc2.d/S98pkid:
ln -s /etc/init.d/pkid /etc/rc2.d/S98pkid
- Create symbolic link for stop: /etc/rc0.d/K30pkid:
ln -s /etc/init.d/pkid /etc/rc0.d/K30pkid
- Create symbolic link for stop: /etc/rc1.d/K30pkid:
ln -s /etc/init.d/pkid /etc/rc1.d/K30pkid
- Create symbolic link for stop: /etc/rcS.d/K30pkid:
ln -s /etc/init.d/pkid /etc/rcS.d/K30pkid
Sun Solaris 10 on SPARC, Intel x86
PKI Services Manager init script location: /etc/init.d/pkid
To enable automatic startup and shutdown of PKI Services Manager, follow these steps:
- Copy the pkid init script to /lib/svc/method/site/pkid.
- Create the manifest file pkid.xml in /var/svc/manifest/network/pkid.xml.
- Import the new service:
svccfg -v import /var/svc/manifest/network/pkid.xml
The pkid.xml should be configured so that the PKI Services Manager service will automatically start on system startup.