Job for tomcat.service failed because the control process exited with error code 解决办法:
来源:互联网 发布:java调用通用短信接口 编辑:程序博客网 时间:2024/06/05 04:37
这个问题是在 《 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安装与环境配置 》
阅读全文
1 0
- Job for tomcat.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 postfix.service failed because the control process exited with error code. See "systemctl st
- Dockers Job for docker.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
- Centos 7不能上网,Job for iptables.service failed because the control process exited with error code.
- 解决Job for docker.service failed because the control process exited with error code. See "systemctl s
- 关于nginx的Job for nginx.service failed because the control process exited with error code.错误
- 重启网卡报Job for network.service failed because the control process exited with error code.。。 错误
- 解决Docker启动服务器链接失败-Job for docker.service failed because the control process exited 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问题
- gitlab搭建提示inet_interfacesJob for postfix.service failed because the control process exited with erro
- Git Commit failed with error The Git process exited with the code -1,073,741,819
- 关于vsftp出现Restarting vsftpd (via systemctl): Job for vsftpd.service failed because the control 的解决办法
- 关于vsftp出现Restarting vsftpd (via systemctl): Job for vsftpd.service failed because the control 的解决办法
- 关于vsftp出现Restarting vsftpd (via systemctl): Job for vsftpd.service failed because the control 的解决办法
- ubuntu 16.04 the control process exited with error code服务启动失败
- oracle12c修改字段长度报错:ORA-54033要修改的列由某个虚拟表达式使用
- 判断数值中是否包含某元素并删除
- leetcode— 3Sum
- 数据结构课程设计【银行储蓄系统】
- Hadoop各商业发行版之比较
- Job for tomcat.service failed because the control process exited with error code 解决办法:
- MYSQL LIMIT函数/分页---mysql-sql
- Linux安装java8
- JS——worker
- Android6.0动态权限
- nodejs crud
- DSL的诞生 | 复杂sql转成Elasticsearch DSL深入详解
- Apache mina 入门(五) —— 断包,粘包问题解决
- Xcode中加载OpenCV