Hi,
thank you for your report and your effort to help making Ubuntu better.
I must excuse myself, but I fail to see what might have happened out of the 
logs:

Terminal:
Configurando tomcat8 (8.0.32-1ubuntu1) ...

Creating config file /etc/default/tomcat8 with new version
Adicionando usuário de sistema 'tomcat8' (UID 122) ...
Adicionando novo usuário `tomcat8' (UID 122) ao grupo `tomcat8' ...
Sem criar diretório pessoal `/usr/share/tomcat8'.

Creating config file /etc/logrotate.d/tomcat8 with new version
Job for tomcat8.service failed because the control process exited with error 
code. See "systemctl status tomcat8.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tomcat8, action "start" failed.

journal:
Jul 01 17:09:45 hostname systemd[1]: Failed to start LSB: Start Tomcat..
Jul 01 17:09:45 hostname systemd[1]: tomcat8.service: Failed with result 
'exit-code'.

I just tried to reproduce, but as I expected it works for me.
Do you have any more info on your tomcat or general setup that you could share 
that you think might help understanding what&why fails in your case?

You might try to start it manually.
I checked the init script and at the default installation the way it calls it 
is:

sudo /usr/lib/jvm/default-java/bin/java
-Djava.util.logging.config.file=/var/lib/tomcat8/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC
-Djava.endorsed.dirs=/usr/share/tomcat8/endorsed -classpath
/usr/share/tomcat8/bin/bootstrap.jar:/usr/share/tomcat8/bin/tomcat-
juli.jar -Dcatalina.base=/var/lib/tomcat8
-Dcatalina.home=/usr/share/tomcat8
-Djava.io.tmpdir=/tmp/tomcat8-tomcat8-tmp
org.apache.catalina.startup.Bootstrap start

If you run this it should end waiting properly started at "INFO: Server 
startup".
Not sure if that works in your half-configured case, as install might have been 
rerolled, but worth a try.

** Changed in: tomcat8 (Ubuntu)
       Status: Confirmed => Incomplete

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

Title:
  package tomcat8 8.0.32-1ubuntu1 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/tomcat8/+bug/1598297/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to