ao instalar o tomcat apresenta o seguinte erro:
ubuntu@ip-00-00-00-00:/tmp$ sudo apt-get install tomcat8 Reading package lists... Done Building dependency tree Reading state information... Done tomcat8 is already the newest version (8.0.32-1ubuntu1.7). 0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up tomcat8 (8.0.32-1ubuntu1.7) ... 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. ● tomcat8.service - LSB: Start Tomcat. Loaded: loaded (/etc/init.d/tomcat8; bad; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2018-08-30 12:48:41 UTC; 4ms ago Docs: man:systemd-sysv-generator(8) Process: 25549 ExecStart=/etc/init.d/tomcat8 start (code=exited, status=1/FAILURE)
Aug 30 12:48:36 ip-00-00-00-00 systemd[1]: Starting LSB: Start Tomcat.... Aug 30 12:48:36 ip-00-00-00-00 tomcat8[25549]: * Starting Tomcat servlet engine t...8 Aug 30 12:48:41 ip-00-00-00-00 tomcat8[25549]: ...fail! Aug 30 12:48:41 ip-00-00-00-00 systemd[1]: tomcat8.service: Control process exite...=1 Aug 30 12:48:41 ip-00-00-00-00 systemd[1]: Failed to start LSB: Start Tomcat.. Aug 30 12:48:41 ip-00-00-00-00 systemd[1]: tomcat8.service: Unit entered failed state. Aug 30 12:48:41 ip-00-00-00-00 systemd[1]: tomcat8.service: Failed with result 'e...'. 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 Errors were encountered while processing: tomcat8 E: Sub-process /usr/bin/dpkg returned an error code (1)
Será que tenho que configurar váriaveis de ambiente?