我需要在Ubuntu 16.04上安装tomcat 8。
我使用form element
从this guide下载tomcat
当我尝试启动tomcat时,出现错误:
Job for tomcat.service failed because the control process exited with error code. See "systemctl status tomcat.service" and "journalctl -xe" for details.
怎么了?
命令systemctl status tomcat.service
显示如下:
tomcat.service - Apache Tomcat 8 Servlet Container
Loaded: loaded (/etc/systemd/system/tomcat.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-03-22 15:26:39 CET; 4min 40s ago
Process: 1578 ExecStart=/opt/tomcat/bin/startup.sh (code=exited, status=203/EXEC)
Mar 22 15:26:39 vps635350 systemd[1]: Starting Apache Tomcat 8 Servlet Container...
Mar 22 15:26:39 vps635350 systemd[1]: tomcat.service: Control process exited, code=exited status=203
Mar 22 15:26:39 vps635350 systemd[1]: Failed to start Apache Tomcat 8 Servlet Container.
Mar 22 15:26:39 vps635350 systemd[1]: tomcat.service: Unit entered failed state.
Mar 22 15:26:39 vps635350 systemd[1]: tomcat.service: Failed with result 'exit-code'.
我不明白怎么了。已经尝试更改文件夹的权限,但是不起作用
logs
文件夹为空。