Although this may not be the right place holder, I created the following KB article: https://access.redhat.com/knowledge/solutions/85193 How can I get the Dogtag Certificate System status on Fedora 16 with systemd?
My "problem" is now that systemd in F16 replaces most of the previous init scripts, the status information from the service ran has been removed and replaced with other status information related to systemd instead. So I am missing all the useful application related information, it is more difficult to get the services information, another script is needed.
Work around is like this:
less /var/lib/pki-ca/conf/server.xml ...snip... ...snip...
Example of status information returned from previous init scripts and RPM initscripts, without systemd:
/etc/init.d/pki-ca status pki-ca (pid 25204) is running ...
Unsecure Port = http://ca1.example.com:9180/ca/ee/ca Secure Agent Port = https://ca1.example.com:9443/ca/agent/ca Secure EE Port = https://ca1.example.com:9444/ca/ee/ca Secure Admin Port = https://ca1.example.com:9445/ca/services EE Client Auth Port = https://ca1.example.com:9446/ca/eeca/ca PKI Console Port = pkiconsole https://ca1.example.com:9445/ca Tomcat Port = 9701 (for shutdown) PKI Instance Name: pki-ca PKI Subsystem Type: Root CA (Security Domain) Registered PKI Security Domain Information: ========================================================================== Name: caroot URL: https://ca1.example.com:9445 ==========================================================================
Example of status information returned by systemd for pki-ca:
/bin/systemctl status pki-cad@pki-ca.service pki-cad@pki-ca.service - PKI Certificate Authority Server pki-ca Loaded: loaded (/lib/systemd/system/pki-cad@.service; enabled) Active: active (running) since Tue, 20 Mar 2012 15:55:52 -0700; 42min ago Process: 11642 ExecStop=/usr/bin/pkicontrol stop ca %i (code=exited, status=0/SUCCESS) Process: 11708 ExecStart=/usr/bin/pkicontrol start ca %i (code=exited, status=0/SUCCESS) Main PID: 11761 (java) CGroup: name=systemd:/system/pki-cad@.service/pki-ca └ 11761 /usr/lib/jvm/jre/bin/java -classpath :/usr/share/tomcat6/bin/bootstrap.jar:/usr/share/tomcat6/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/var/lib/pk...
There is such a command :
pkicontrol status ca
Metadata Update from @msauton: - Issue assigned to jmagne - Issue set to the milestone: N/A
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/704
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Login to comment on this ticket.