Digital Ocean的CentOS服务器无法启动tomcat?

Digital Ocean的CentOS服务器无法启动tomcat?

我正在尝试在 DigitalOcean 中配置 CentOs 服务器。我已遵循其网站中提到的所有步骤。这是配置服务器的各个步骤的链接。数字海洋。我遵循了所有,但不幸的是没有得到预期的结果。我一直遵循Install Systemd Unit File此链接中的步骤结束。是不是设置有问题JAVA_HOME?我遵循这个答案关联。但没有得到预期的结果。每次我检查 tomcat 状态时,我都会得到这个

tomcat.service - Apache Tomcat Web Application Container
   Loaded: loaded (/etc/systemd/system/tomcat.service; enabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: exit-code) since রবি 2019-01-20 07:30:17 UTC; 7s ago
  Process: 21958 ExecStop=/bin/kill -15 $MAINPID (code=exited, status=1/FAILURE)
  Process: 21945 ExecStart=/opt/tomcat/bin/startup.sh (code=exited, status=0/SUCCESS)
 Main PID: 21956 (code=exited, status=0/SUCCESS)

জানু 20 07:30:17 IRDCentOS systemd[1]: Unit tomcat.service entered f....
জানু 20 07:30:17 IRDCentOS systemd[1]: tomcat.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

的痕迹journalctl -u tomcat.service

-- Logs begin at রবি 2019-01-20 08:02:54 UTC, end at রবি 2019-01-20 08:22:42 UTC
জানু 20 08:22:16 IRDCentOS systemd[1]: Starting Apache Tomcat Web Application Con
জানু 20 08:22:16 IRDCentOS systemd[1]: Started Apache Tomcat Web Application Cont
জানু 20 08:22:16 IRDCentOS systemd[1]: tomcat.service: control process exited, co
জানু 20 08:22:16 IRDCentOS systemd[1]: Unit tomcat.service entered failed state.
জানু 20 08:22:16 IRDCentOS systemd[1]: tomcat.service failed.
জানু 20 08:22:26 IRDCentOS systemd[1]: tomcat.service holdoff time over, scheduli
জানু 20 08:22:26 IRDCentOS systemd[1]: Starting Apache Tomcat Web Application Con
জানু 20 08:22:26 IRDCentOS startup.sh[9783]: Existing PID file found during start
জানু 20 08:22:26 IRDCentOS startup.sh[9783]: Removing/clearing stale PID file.
জানু 20 08:22:26 IRDCentOS systemd[1]: Started Apache Tomcat Web Application Cont
জানু 20 08:22:26 IRDCentOS systemd[1]: tomcat.service: control process exited, co
জানু 20 08:22:26 IRDCentOS systemd[1]: Unit tomcat.service entered failed state.
জানু 20 08:22:26 IRDCentOS systemd[1]: tomcat.service failed.
জানু 20 08:22:42 IRDCentOS systemd[1]: tomcat.service holdoff time over, scheduli
জানু 20 08:22:42 IRDCentOS systemd[1]: Starting Apache Tomcat Web Application Con
জানু 20 08:22:42 IRDCentOS startup.sh[9819]: Existing PID file found during start
জানু 20 08:22:42 IRDCentOS startup.sh[9819]: Removing/clearing stale PID file.
জানু 20 08:22:42 IRDCentOS systemd[1]: Started Apache Tomcat Web Application Cont
জানু 20 08:22:42 IRDCentOS systemd[1]: tomcat.service: control process exited, co
জানু 20 08:22:42 IRDCentOS systemd[1]: Unit tomcat.service entered failed state.
জানু 20 08:22:42 IRDCentOS systemd[1]: tomcat.service failed.

cataliina.out跟踪中是

OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N

相关内容