tomcat8 installation issues on ubuntu 16.04 LTS

Asked by Parag Kulkarni

Hi,

I have recently purchased a lenovo core i5 8GB free DOS laptop and installed Ubuntu 16.04 LTS.

however, when I started installing tomcat8, it failed. then I tried to uninstall but the directories didn't get removed completely. even with sudo su (root)

2nd time, I am getting below errors.. can you please help?

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.
dpkg: error processing package tomcat8 (--configure):
 subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
parag@pkul3003:/$ systemctl status tomcat8.service
● tomcat8.service - LSB: Start Tomcat.
   Loaded: loaded (/etc/init.d/tomcat8; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2017-07-16 04:39:52 IST; 40s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 23720 ExecStart=/etc/init.d/tomcat8 start (code=exited, status=1/FAILURE)

Jul 16 04:39:47 pkul3003 systemd[1]: Starting LSB: Start Tomcat....
Jul 16 04:39:47 pkul3003 tomcat8[23720]: * Starting Tomcat servlet engine tomcat8
Jul 16 04:39:52 pkul3003 tomcat8[23720]: ...fail!
Jul 16 04:39:52 pkul3003 systemd[1]: tomcat8.service: Control process exited, code=exited status=1
Jul 16 04:39:52 pkul3003 systemd[1]: Failed to start LSB: Start Tomcat..
Jul 16 04:39:52 pkul3003 systemd[1]: tomcat8.service: Unit entered failed state.
Jul 16 04:39:52 pkul3003 systemd[1]: tomcat8.service: Failed with result 'exit-code'.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.