Hi,
thanks for your report and your help to make Ubuntu better!

The automatically attached logs only state that:
Creating config file /etc/logrotate.d/tomcat7 with new version
Job for tomcat7.service failed because the control process exited with error 
code. See "systemctl status tomcat7.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tomcat7, action "start" failed.
dpkg: error processing package tomcat7 (--configure):

Not having any more data it is hard to guess what failed.
Could you run:
$ systemctl status tomcat7.service

Since this seems to be an initial install (no tomact7 on there before
the install) the first one might fail. It should be in state iF for
failed install and still be available.

You can check the status with "dpkg -l tomcat7"

The file /var/log/tomcat7/catalina.out should hold the best debug data.
The most likely case that I've seen is tomcat8 and tomcat7 being installed at 
the same time and the second one fails to initialize as the port is already 
bound.
In that case fix the config of either /etc/tomcat7/server.xml (or 8) one and 
re-start/install.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1659447

Title:
  package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1659447/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to