incompatible to tomcat8?

Bug #1743808 reported by Hadmut Danisch
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dogtag-pki (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hi,

I'm just trying to get pki-server and pki-ca running under 16.04. Seems to run into a circular problem:

pki-tomcatd.service can't be run:

#systemctl status pki-tomcatd.service
● pki-tomcatd.service - LSB: Start pki-tomcatd at boot time
   Loaded: loaded (/etc/init.d/pki-tomcatd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2018-01-17 14:35:41 UTC; 55min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 7862 ExecStart=/etc/init.d/pki-tomcatd start (code=exited, status=5)

Jan 17 14:35:41 catestub systemd[1]: Starting LSB: Start pki-tomcatd at boot time...
Jan 17 14:35:41 catestub pki-tomcatd[7862]: ERROR: No 'tomcat' instances installed!
Jan 17 14:35:41 catestub systemd[1]: pki-tomcatd.service: Control process exited, code=exited status=5
Jan 17 14:35:41 catestub systemd[1]: Failed to start LSB: Start pki-tomcatd at boot time.
Jan 17 14:35:41 catestub systemd[1]: pki-tomcatd.service: Unit entered failed state.
Jan 17 14:35:41 catestub systemd[1]: pki-tomcatd.service: Failed with result 'exit-code'.

but pkispawn, which should setup instances, as it man page claims, fails at the end of the process, and it says

[ ok ] Starting pki-tomcatd (via systemctl): pki-tomcatd.service.
pkispawn : ERROR ....... server failed to restart

From /var/log/pki/pki-ca-spawn.20180117154016.log

2018-01-17 15:41:11 pkispawn : INFO ....... executing '/etc/init.d/pki-tomcatd start pki-tomcat'
2018-01-17 15:41:30 pkispawn : DEBUG ........... No connection - server may still be down
2018-01-17 15:41:30 pkispawn : DEBUG ........... No connection - exception thrown: ('Connection aborted.', error(104, 'Connection reset by peer'))
2018-01-17 15:41:31 pkispawn : DEBUG ........... No connection - server may still be down
2018-01-17 15:41:31 pkispawn : DEBUG ........... No connection - exception thrown: HTTPSConnectionPool(host='catestub.buero.danisch.de', port=8443): Max retries exceeded with url: /ca/admin/ca/getStatus (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff4bd858b50>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-01-17 15:41:32 pkispawn : DEBUG ........... No connection - server may still be down

I don't see what's actually wrong since I have no idea how this was intended to work or be setup. The README is just useless.

It looks a little bit as if it had been made for 14.04 or debian from 2014, and never been touched or checked since.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

correct, that's why libtomcatjss-java and pki-server depend on tomcat7

Changed in dogtag-pki (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.