Utilizzo Vagrant per la distribuzione su Ubuntu Linux e il tentativo di avviare un servizio tomcat8
.Il servizio tomcat8 non è stato avviato utilizzando il servizio tomcat8 start
Tomcat 8 è stato installato da apt-get install tomcat8
.
Quando si utilizza il comando service tomcat8 start
, ho ricevuto il seguente errore:
Job for tomcat8.service failed. See "systemctl status tomcat8.service" and "journalctl -xe" for details.
Poi ho rintracciato il systemctl status tomcat8.service
, ha scoperto che:
? tomcat8.service - LSB: Start Tomcat. Loaded: loaded (/etc/init.d/tomcat8)
Active: failed (Result: exit-code) since Mon 2016-03-28 09:44:17 GMT; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 884 ExecStop=/etc/init.d/tomcat8 stop (code=exited, status=0/SUCCESS)
Process: 1312 ExecStart=/etc/init.d/tomcat8 start (code=exited, status=1/FAILURE)
Mar 28 09:44:12 vagrant-ubuntu-trusty systemd[1]: Starting LSB: Start Tomcat....
Mar 28 09:44:12 vagrant-ubuntu-trusty tomcat8[1312]: * Starting Tomcat servlet engine tomcat8
Mar 28 09:44:17 vagrant-ubuntu-trusty tomcat8[1312]: ...fail!
Mar 28 09:44:17 vagrant-ubuntu-trusty systemd[1]: tomcat8.service: control process exited, code=exited status=1
Mar 28 09:44:17 vagrant-ubuntu-trusty systemd[1]: Failed to start LSB: Start Tomcat..
Mar 28 09:44:17 vagrant-ubuntu-trusty systemd[1]: Unit tomcat8.service entered failed state.
Mar 28 09:44:17 vagrant-ubuntu-trusty systemd[1]: tomcat8.service failed.
io sono sicuro di come procedere per far funzionare il mio servizio Tomcat 8.
ci sono dei registri in '/ var/log/tomcat8 /'? – dahrens
Ho scoperto che non potevo avviare tomcat8 usando 'service tomcat8 start', ma per qualche motivo dovrei iniziare a usare' /etc/init.d/tomcat8 start'. Non sono sicuro che ti aiuterà comunque ... –