Job for tomcat.service failed because the control process exited with error code 解决办法:
2017-12-22 10:42
6223 查看
这个问题是在
《 Linux下Tomcat8.5安装与环境配置 》 时遇到的;
错误信息如下:
Job for tomcat.service failed because the control process exited with error code
如下图:
解决办法:
请注意在创建Tomcat服务器时,复制的启动文件,如果复制 “ startup.sh ” ,如下图:
这个就是一个坑,如果不注意就会复制到 " startup.sh " 文件,因为一般认为 startup.sh 为Tomcat的启动文件,所以就要复制这个作为创建系统服务时的必要文件,其实错了,在这儿必须要使用 " catalina.sh " 启动脚本作为创建系统服务时必要的文件,如下图:
注意:在复制前,还需要将原来 /etc/init.d/ 下的 tomcat 启动脚本删除掉。
或者其他问题,如:环境变量错误,或未配置完整
当然你也可以参考《 Linux下Tomcat8.5安装与环境配置 》
《 Linux下Tomcat8.5安装与环境配置 》 时遇到的;
错误信息如下:
Job for tomcat.service failed because the control process exited with error code
如下图:
解决办法:
请注意在创建Tomcat服务器时,复制的启动文件,如果复制 “ startup.sh ” ,如下图:
这个就是一个坑,如果不注意就会复制到 " startup.sh " 文件,因为一般认为 startup.sh 为Tomcat的启动文件,所以就要复制这个作为创建系统服务时的必要文件,其实错了,在这儿必须要使用 " catalina.sh " 启动脚本作为创建系统服务时必要的文件,如下图:
注意:在复制前,还需要将原来 /etc/init.d/ 下的 tomcat 启动脚本删除掉。
或者其他问题,如:环境变量错误,或未配置完整
当然你也可以参考《 Linux下Tomcat8.5安装与环境配置 》
相关文章推荐
- 解决Job for docker.service failed because the control process exited with error code. See "systemctl s
- Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details
- Dockers Job for docker.service failed because the control process exited with error code
- 解决Docker启动服务器链接失败-Job for docker.service failed because the control process exited error code
- Jenkins 安装启动提示“iJob for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.”
- Job for vsftpd.service failed because the control process exited with error code. See "systemctl sta
- Centos 7不能上网,Job for iptables.service failed because the control process exited with error code.
- 重启网卡报Job for network.service failed because the control process exited with error code.。。 错误
- Job for nginx.service failed because the control process exited with error code. See "systemctl stat
- Job for vsftpd.service failed because the control process exited with error code
- Job for postfix.service failed because the control process exited with error code. See "systemctl st
- centos出现这个错误:Job for sshd.service failed because the control process exited with error code.
- CentOS7启动SSH服务报:Job for ssh.service failed because the control process exited with error code.......
- 关于nginx的Job for nginx.service failed because the control process exited with error code.错误
- Centos 7不能上网,Job for iptables.service failed because the control process exited with error code.
- OpenStack常见错误:无法开启http服务 Job for httpd.service failed because the control process exited with error
- mysql.service failed because the control process exited with error code问题
- salt出错Job for salt-master.service failed because the control process exited with error code.
- Job for php-fpm.service failed because the control process exited with error code. See "systemctl st
- gitlab搭建提示inet_interfacesJob for postfix.service failed because the control process exited with erro