当我尝试使用此命令在ubuntu 16.04中启动tomcat 9服务器时
sudo systemctl start tomcat
它给我这个错误
tomcat.service - Apache Tomcat Web Application Container
Loaded: loaded (/etc/systemd/system/tomcat.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2018-12-02 19:19:25 UTC; 7s ago
Process: 14592 ExecStart=/opt/tomcat/bin/startup.sh (code=exited, status=203/EXEC)
Dec 02 19:19:25 ubuntu systemd[1]: Failed to start Apache Tomcat Web Application Container.
Dec 02 19:19:25 ubuntu systemd[1]: tomcat.service: Unit entered failed state.
Dec 02 19:19:25 ubuntu systemd[1]: tomcat.service: Failed with result 'exit-code'.
这是我的tomcat.service
[Unit]
Description=Apache Tomcat Web Application Container
After=network.target
[Service]
Type=forking
Environment=JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre
Environment=CATALINA_PID=/opt/tomcat/temp/tomcat.pid
Environment=CATALINA_HOME=/opt/tomcat
Environment=CATALINA_BASE=/opt/tomcat
Environment='CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC'
Environment='JAVA_OPTS=-Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom'
ExecStart=/opt/tomcat/bin/startup.sh
ExecStop=/opt/tomcat/bin/shutdown.sh
User=tomcat
Group=tomcat
UMask=0007
RestartSec=10
Restart=always
[Install]
WantedBy=multi-user.target
为什么不开始?我应该做些什么才能使tomcat运行