When trying to launch the application, it says that the application was downloaded, but not started.
root@silent-woman:~# systemctl status tomcat
● tomcat.service - Tomcat 9 servlet container
Loaded: loaded (/etc/systemd/system/tomcat.service; enabled; vendor preset: enabl> Active: failed (Result: exit-code) since Wed 2024-04-24 02:38:13 CEST; 22s ago
Process: 63668 ExecStart=/opt/tomcat/apache-tomcat-9.0.74/bin/startup.sh (code=exi> Process: 63777 ExecStop=/opt/tomcat/apache-tomcat-9.0.74/bin/shutdown.sh (code=exi> Main PID: 63693 (code=exited, status=0/SUCCESS)
Apr 24 02:37:04 silent-woman.yeezyhost.net systemd[1]: Starting Tomcat 9 servlet conta>Apr 24 02:37:04 silent-woman.yeezyhost.net startup.sh[63668]: Existing PID file found >Apr 24 02:37:04 silent-woman.yeezyhost.net startup.sh[63668]: Removing/clearing stale >Apr 24 02:37:04 silent-woman.yeezyhost.net startup.sh[63668]: Tomcat started.
Apr 24 02:37:04 silent-woman.yeezyhost.net systemd[1]: Started Tomcat 9 servlet contai>Apr 24 02:38:13 silent-woman.yeezyhost.net shutdown.sh[63777]: PID file found but eith>Apr 24 02:38:13 silent-woman.yeezyhost.net systemd[1]: tomcat.service: Control process>Apr 24 02:38:13 silent-woman.yeezyhost.net systemd[1]: tomcat.service: Failed with res>
Before running the script, you must enter three commands according to the instructions:
sh /opt/tomcat/apache-tomcat-9.0.74/bin/startup.sh rm -rf /opt/tomcat/apache-tomcat-9.0.74/webapps/ROOT/ sh /opt/tomcat/apache-tomcat-9.0.74/bin/shutdown.sh
Help me!
Nothing. I’ve already broken my whole head.
New contributor
Мориарти is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.