Job for apache2.service failed apache2无法启动解决
来源:互联网 发布:科曼奇为什么下马 知乎 编辑:程序博客网 时间:2024/05/21 11:22
之前由于在apache上面打算配置虚拟域名,于是对apache的配置文件进行各种操作,导致后来不知道怎么回事apache重启和开启的时候一直报错
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.于是去查看apache2的错误日志/var/log/apache2/也没有找到解决办法,于是卸除apache从新安装apache和php
第二天在调配置文件的时候又遇到这个问题,两个过程中我都是用到了软连接,于是在想是不是软连接出了什么问题,仔细查了一下软连接是什么
linux下的软链接类似于windows下的快捷方式。 实例: ln -s httpd.conf confighttp 其中 httpd.conf 就是源文件,confighttp是链接文件名,其作用是当编辑confighttp,实际上是链接编辑httpd.conf。 如果要删除软链接: rm -rf confighttp 这样只会删除confighttp链接文件,而不会删除源文件httpd.conf。 相对于软连接,还有硬链接, 建立硬链接命令: ln httpd.conf confighttp 硬链接文件相当于一个文件存储在两个位置,可以有效防止误删。
于是使用命令尝试下删除之前的软连接,发现成功。apache恢复,问题解决
阅读全文
0 0
- Job for apache2.service failed apache2无法启动解决
- Ubuntu中Apache2启动失败报错Job for apache2.service failed because the cont...
- 解决apache启动失败:Job for httpd.service failed.
- apache2 无法启动
- CentOS7(Job for network.service failed) Network Service开机无法启动的解决方法
- Ubuntu中配置apache的虚拟机时报apache2.serviceJob for apache2.service failed because the control process exite
- gentoo apache2 启动失败解决
- Job for network.service failed
- Apache之——命令行启动出现Failed to open the Apache2.2 Service解决方案
- 解决Docker启动服务器链接失败-Job for docker.service failed because the control process exited error code
- Apache2.2 提示the requested operation has failed并无法启动
- 解决Apache2.2安装之后启动出现“the requested operation has failed”
- Apache2.0刚装完好无法启动
- SVN 1.4.3 + APACHE2.2 无法启动
- Apache2.2 服务无法启动【转】
- 关于本地计算机无法启动Apache2
- 解决apache2无法重启问题
- (OS 5)拒绝访问。 : Failed to open the Apache2 Service
- liintcode&九章算法——No.69 二叉树的层次遍历(一) ? 待解决
- PAT
- Fibonacci Tree HDU
- 第四十一条:慎用重载
- 日常笔记之fstat函数
- Job for apache2.service failed apache2无法启动解决
- eclipse 设置 jvm参数
- 分数拆分
- 阿里云优惠券可低价抢购阿里云第四代云服务器
- hadoop问题合集&&解决方法
- OracleDBconsoleorcl服务无法启动的原因及解决思路
- 一线企业JVM调优实战
- C语言的那些坑(数组做参数计算大小问题)
- java Json查询