[Bug 1643182] Re: package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
[Expired for tomcat7 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: tomcat7 (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1643182 Title: package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: sub- processo script post-installation instalado retornou estado de saída de erro 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1643182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1643182] Re: package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
Please see Tomcat7 log "/var/log/tomcat7/catalina.out": root@Newton:/home/user# cat /var/log/tomcat7/catalina.out Dec 16, 2016 2:58:44 PM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false] Dec 16, 2016 2:58:44 PM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false] Dec 16, 2016 2:58:44 PM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false] Dec 16, 2016 2:58:44 PM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false] Dec 16, 2016 2:58:44 PM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false] Dec 16, 2016 2:58:44 PM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false] Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server version:Apache Tomcat/7.0.72 (Ubuntu) Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server built: Sep 20 2016 11:28:54 UTC Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server number: 7.0.72.0 Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: OS Name: Linux Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: OS Version:4.8.0-30-generic Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Architecture: amd64 Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Java Home: /usr/lib/jvm/java-8-openjdk-amd64/jre Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: JVM Version: 1.8.0_111-8u111-b14-2ubuntu0.16.10.2-b14 Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: JVM Vendor:Oracle Corporation Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: CATALINA_BASE: /var/lib/tomcat7 Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: CATALINA_HOME: /usr/share/tomcat7 Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Djava.awt.headless=true Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Xmx128m Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -XX:+UseConcMarkSweepGC Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dcatalina.base=/var/lib/tomcat7 Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dcatalina.home=/usr/share/tomcat7 Dec 16, 2016 2:58:46 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp Dec 16, 2016 2:58:46 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] Dec 16, 2016 2:58:46 PM org.apache.coyote.AbstractProtocol init SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"] java.net.BindException: Address already in use (Bind failed) :8080 at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:413) at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:650) at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:452) at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119) at org.apache.catalina.connector.Connector.initInternal(Connector.java:978)
[Bug 1643182] Re: package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
I have seen these issues being reported across various minor versions now. I guess the requested status and journal will match what we see in the logs. e.g. [0;1;31m●[0m tomcat7.service - LSB: Start Tomcat. Loaded: loaded (/etc/init.d/tomcat7; generated; vendor preset: enabled) Active: [0;1;31mfailed[0m (Result: exit-code) since to 2016-12-15 21:22:55 EET; 20ms ago Docs: man:systemd-sysv-generator(8) Process: 8317 ExecStart=/etc/init.d/tomcat7 start [0;1;31m(code=exited, status=1/FAILURE)[0m The question is "why". Especially since many of us tried to recreate when triaging the bugs and it just worked all the time. We have to identify what in all these setups is the common issue that prevents the default tomcat to start/restart. And that seems neither in journal nor in the service status. I'm dupping a few more bug I think that are all the same case to get more people onto this one and hopefully more data reported. Maybe checking the tomcat log itself - which I think should be /var/log/tomcat7/catalina.out in these cases - might help. Anybody able to share his? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1643182 Title: package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: sub- processo script post-installation instalado retornou estado de saída de erro 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1643182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1643182] Re: package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
>From log: See "systemctl status tomcat7.service" and "journalctl -xe" for details. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1643182 Title: package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: sub- processo script post-installation instalado retornou estado de saída de erro 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1643182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1643182] Re: package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
Thank you for taking the time to report this bug and helping to make Ubuntu better. Can you get the output from the commands above? 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. 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. 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 ** Changed in: tomcat7 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1643182 Title: package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: sub- processo script post-installation instalado retornou estado de saída de erro 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1643182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs