我正在使用Vagrant部署到Ubuntu Linux并尝试启动tomcat8服务.
Tomcat 8由apt-get install tomcat8安装.
使用服务tomcat8 start命令时,出现以下错误:
Job for tomcat8.service Failed. See “systemctl status tomcat8.service” and “journalctl -xe” for details.
然后我跟踪了systemctl状态tomcat8.service,发现:
? 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.
我不确定如何继续运行我的Tomcat 8服务.