SilleBille / pki

Dogtag PKI Issues should be reported to the Dogtag PKI Pagure Issues site
https://pagure.io/dogtagpki/issues
GNU General Public License v2.0
1 stars 1 forks source link

Improve debugging when server failed to restart #481

Closed SilleBille closed 4 years ago

SilleBille commented 5 years ago

This issue was migrated from Pagure Issue #3080.Originally filed by cheimes on 2018-11-22

During installation pki-spawn starts pki-tomcat.service and waits until the service is available. Sometimes pki-tomcat fails to start. The pki-spawn log does not contain any information why the service fails to start. As an engineer I would like to have better debug information in the pki-spawn log

Proposal

Log systemd or journald output, e.g. journalctl -u pki-tomcatdpki-tomcat.service -n 30 -o cat or systemctl status pki-tomcatdpki-tomcat.service