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

Bug #1654713 reported by akshay
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tomcat7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

invoke-rc.d: initscript tomcat8, action "start" failed.
● tomcat8.service - LSB: Start Tomcat.
   Loaded: loaded (/etc/init.d/tomcat8; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2017-01-07 12:21:35 IST; 4ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 25004 ExecStart=/etc/init.d/tomcat8 start (code=exited, status=1/FAILURE)

Jan 07 12:21:35 akshay systemd[1]: Starting LSB: Start Tomcat....
Jan 07 12:21:35 akshay tomcat8[25004]: * tomcat8 is not installed
Jan 07 12:21:35 akshay systemd[1]: tomcat8.service: Control process exited,...=1
Jan 07 12:21:35 akshay systemd[1]: Failed to start LSB: Start Tomcat..
Jan 07 12:21:35 akshay systemd[1]: tomcat8.service: Unit entered failed state.
Jan 07 12:21:35 akshay systemd[1]: tomcat8.service: Failed with result 'exi...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package tomcat8 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up tomcat7-common (7.0.68-1ubuntu0.1) ...
Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
Not replacing deleted config file /etc/default/tomcat7
Not replacing deleted config file /etc/logrotate.d/tomcat7
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.
● tomcat7.service - LSB: Start Tomcat.
   Loaded: loaded (/etc/init.d/tomcat7; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2017-01-07 12:21:42 IST; 7ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 25183 ExecStart=/etc/init.d/tomcat7 start (code=exited, status=1/FAILURE)

Jan 07 12:21:37 akshay systemd[1]: Starting LSB: Start Tomcat....
Jan 07 12:21:37 akshay tomcat7[25183]: * Starting Tomcat servlet engine tomcat7
Jan 07 12:21:42 akshay tomcat7[25183]: ...fail!
Jan 07 12:21:42 akshay systemd[1]: tomcat7.service: Control process exited,...=1
Jan 07 12:21:42 akshay systemd[1]: Failed to start LSB: Start Tomcat..
Jan 07 12:21:42 akshay systemd[1]: tomcat7.service: Unit entered failed state.
Jan 07 12:21:42 akshay systemd[1]: tomcat7.service: Failed with result 'exi...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package tomcat7 (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu14) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 tomcat8
 tomcat7

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: tomcat7 7.0.68-1ubuntu0.1
ProcVersionSignature: Ubuntu 4.4.0-58.79-generic 4.4.35
Uname: Linux 4.4.0-58-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
Date: Sat Jan 7 12:21:42 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-07-24 (166 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.18
SourcePackage: tomcat7
Title: package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2016-07-25 (165 days ago)

Revision history for this message
akshay (akshayborale) wrote :
Emily Ratliff (emilyr)
information type: Private Security → Public
tags: removed: need-duplicate-check
Revision history for this message
Joshua Powers (powersj) wrote :

From log:

Not replacing deleted config file /etc/default/tomcat7
Not replacing deleted config file /etc/logrotate.d/tomcat7
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.
● tomcat7.service - LSB: Start Tomcat.
   Loaded: loaded (/etc/init.d/tomcat7; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2017-01-07 12:21:42 IST; 7ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 25183 ExecStart=/etc/init.d/tomcat7 start (code=exited, status=1/FAILURE)

Jan 07 12:21:37 akshay systemd[1]: Starting LSB: Start Tomcat....
Jan 07 12:21:37 akshay tomcat7[25183]: * Starting Tomcat servlet engine tomcat7
Jan 07 12:21:42 akshay tomcat7[25183]: ...fail!

Revision history for this message
Joshua Powers (powersj) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

It appears that tomcat failed to start, but also there are comments about deleted configuration files. Since there isn't enough information in your report to differentiate between a local configuration problem and a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in tomcat7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tomcat7 (Ubuntu) because there has been no activity for 60 days.]

Changed in tomcat7 (Ubuntu):
status: Incomplete → Expired
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.