Public bug reported: 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. ● tomcat7.service - LSB: Start Tomcat. Loaded: loaded (/etc/init.d/tomcat7; bad; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2017-05-29 09:52:24 IST; 5ms ago Docs: man:systemd-sysv-generator(8) Process: 2552 ExecStart=/etc/init.d/tomcat7 start (code=exited, status=1/FAILURE)
May 29 09:52:24 developer-HP-Notebook systemd[1]: Starting LSB: Start Tomcat.... May 29 09:52:24 developer-HP-Notebook tomcat7[2552]: * no JDK or JRE found - please set JAVA_HOME May 29 09:52:24 developer-HP-Notebook systemd[1]: tomcat7.service: Control process exited, code=exited status=1 May 29 09:52:24 developer-HP-Notebook systemd[1]: Failed to start LSB: Start Tomcat.. May 29 09:52:24 developer-HP-Notebook systemd[1]: tomcat7.service: Unit entered failed state. May 29 09:52:24 developer-HP-Notebook systemd[1]: tomcat7.service: Failed with result 'exit-code'. dpkg: error processing package tomcat7 (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for systemd (229-4ubuntu17) ... Processing triggers for ureadahead (0.100.0-19) ... Errors were encountered while processing: tomcat7 E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 16.04 Package: tomcat7 7.0.68-1ubuntu0.1 ProcVersionSignature: Ubuntu 4.8.0-52.55~16.04.1-generic 4.8.17 Uname: Linux 4.8.0-52-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.5 Architecture: amd64 Date: Sun May 28 23:59:34 2017 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2017-04-07 (51 days ago) InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2) PackageArchitecture: all RelatedPackageVersions: dpkg 1.18.4ubuntu1.2 apt 1.2.20 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: No upgrade log present (probably fresh install) ** Affects: tomcat7 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package need-duplicate-check xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1694192 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/1694192/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs