package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
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.
Active: failed (Result: exit-code) since Sat 2017-01-07 12:21:35 IST; 4ms ago
Docs: man:systemd-
Process: 25004 ExecStart=
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/
Not replacing deleted config file /etc/logrotate.
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.
Active: failed (Result: exit-code) since Sat 2017-01-07 12:21:42 IST; 7ms ago
Docs: man:systemd-
Process: 25183 ExecStart=
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
ProcVersionSign
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)
PackageArchitec
RelatedPackageV
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)
information type: | Private Security → Public |
tags: | removed: need-duplicate-check |
From log:
Not replacing deleted config file /etc/default/ tomcat7 d/tomcat7 d/tomcat7; bad; vendor preset: enabled) sysv-generator( 8) /etc/init. d/tomcat7 start [0;1;31m( code=exited, status= 1/FAILURE) [0m
Not replacing deleted config file /etc/logrotate.
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.
[0;1;31m●[0m tomcat7.service - LSB: Start Tomcat.
Loaded: loaded (/etc/init.
Active: [0;1;31mfailed[0m (Result: exit-code) since Sat 2017-01-07 12:21:42 IST; 7ms ago
Docs: man:systemd-
Process: 25183 ExecStart=
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!