000025681 - How to start Keon Certificate Authority

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000025681
Applies ToKeon Certificate Authority 6.5
Sun Solaris 2.8
IssueHow to start Keon Certificate Authority
Servers appear to be running already -- restarting.    
======> Stopping Administration Server     
The Administration Server does not appear to be running.     
======> Stopping CMP Server  
./stop-cmp: kill: no such process     
Error: Cannot stop the CMP Server.  
Error: Shutdown of CMP Server failed.     
======> Stopping Secure Directory Server  
./stop-xudad: kill: no such process  
Error: Cannot stop the Secure Directory Server.  
Error: Shutdown of Secure Directory Server failed.     
======> Stopping Secure Logging Server  
./stop-xslogsrv: kill: no such process  
Error: Cannot stop Secure Logging Server.  
Error: Shutdown of Secure Logging Server failed.     
Unable to stop running servers -- aborting restart attempt.      
Running ./START after a reboot gives the displayed error messages, running ./START a second time starts KCA correctly
CauseDuring the shutdown of Solaris, the PID files were not removed. Running the first ./START found the PIDs and attempted to stop KCA; KCA was not running so the process fails.
ResolutionA startup script to clean up KCA PID files can be put into /etc/rc2.d and linked (as a shutdown script) into /etc/rc0.d. Note that the script is not designed to start KCA, but to simply clean up ahead of a manual startup. This is because the startup may well require interaction with the administrator to enter passphrases.

#!/sbin/sh
#
# Sample start script for KCA, not supported by RSA Security
# customers should modify this file accordingly
#
# create file as /etc/init.d/kca-clean
# then link with:
#      ln /etc/init.d/kca-clean /etc/rc2.d/S99kca-clean
#      ln /etc/rc0.d/K10kca-clean
# note: do not use ln -s
#
KCAHOME=/usr/local/RSA_KeonCA
cd $KCAHOME
#
case "$1" in
'start')
        rm -rf ./WebServer/logs/httpd.pid
        rm -rf ./CmpServer/conf/cmpserver.pid
        rm -rf ./LogServer/conf/xslogsrv.pid
        rm -rf ./Xudad/conf/xudad.pid
        ;;

'stop')
        ./STOP
        ;;

*)
       echo "Usage: $0 { start | stop }"
       exit 1
       ;;
esac
exit 0
Legacy Article IDa14550

Attachments

    Outcomes