root @ ubuntu-512mb-sfo1-01:〜#sudo systemctl start tomcat
root @ ubuntu-512mb-sfo1-01:〜#sudo systemctl status tomcat
●tomcat.service - Apache Tomcat Web应用程序容器
已加载:已加载(/etc/systemd/system/tomcat.service;已禁用;供应商预设:已启用)
活动:激活(自动重启)(结果:退出代码)自星期六2016-11-05 17:40:01 UTC; 3s ago
处理:19639 ExecStop = / opt / tomcat / bin / shutdown.sh(code = exited,status = 1 / FAILURE)
进程:19624 ExecStart = / opt / tomcat / bin / startup.sh(code = exited,status = 0 / SUCCESS)
主PID:19636(代码=退出,状态= 1 / FAILURE)
Nov 05 17:40:01 ubuntu-512mb-sfo1-01 systemd [1]:tomcat.service:控制进程退出,代码=退出状态= 1
Nov 05 17:40:01 ubuntu-512mb-sfo1-01 systemd [1]:tomcat.service:Unit进入失败状态。
Nov 05 17:40:01 ubuntu-512mb-sfo1-01 systemd [1]:tomcat.service:结果失败'退出代码'。