centOS 7.0 httpd 无法启动

u010782989 u010782989 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
[root@~]# systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@iZ25a4sazz ~]# systemctl status httpd.service
?.httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2016-08-07 18:12:34 CST; 26s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 1749 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 1748 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=0/SUCCESS)
Main PID: 1748 (code=exited, status=0/SUCCESS)

Aug 07 18:12:34 iZ25a4sazz systemd[1]: Starting The Apache HTTP Server...
Aug 07 18:12:34 iZ25a4sazz httpd[1748]: httpd (pid 31214) already running
Aug 07 18:12:34 iZ25a4sazz kill[1749]: kill: cannot find process ""
Aug 07 18:12:34 iZ25a4sazz systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 07 18:12:34 iZ25a4sazz systemd[1]: Failed to start The Apache HTTP Server.
Aug 07 18:12:34 iZ25a4sazz systemd[1]: Unit httpd.service entered failed state.
Aug 07 18:12:34 iZ25a4sazz systemd[1]: httpd.service failed.
...全文

相关推荐

Centos7.4服务器安装apache及安装过程出现的问题解决方法

若要禁用开机启动,运行`systemctl disable httpd.service`。7.

weixin_38658568

CentOS 7 Apache部署深度解析:httpd、systemd与SELinux协同机制

Apache HTTP Server 是 Linux Web 服务的核心基础组件,其运行远不止于启动进程,而是深度耦合操作系统层能力。理解其在 CentOS 7 中的系统级集成逻辑——包括包名 `httpd` 的企业命名规范、`systemd` 对服务生命周期的精细化管控、`SELinux` 强制访问控制策略,以及 `firewalld` 区域化网络策略——是保障服务稳定、安全与可维护的关键。这些机制共同构成 RHEL/CentOS 生态中‘最小权限、分层防护、配置即契约’的运维哲学。本文聚焦真实生产场景,

agcozdwdfvds08078

CentOS 7 离线安装 httpd 2.4.6:5个依赖包下载与顺序安装避坑指南

本文详细介绍了在CentOS 7离线环境下安装Apache HTTP Server 2.4.6的全流程,包括5个关键依赖包的下载与顺序安装避坑指南。通过权威资源获取、完整性校验、安装顺序决策树等步骤,确保稳定部署Web服务,并提供服务配置优化与故障排查方案,适用于企业级隔离网络环境。

weixin_30247307

CentOS7安装Nginx(以取代系统自带的httpd)

yum -y remove httpd 一、安装编译工具及库文件 yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel 二、首先要安装 PCRE (PCRE 作用是让 Nginx 支持 Rewrite 功能。) 1、下载 PCRE 安装包: cd /usr/local/src/ wg...

ppp17

CentOS 5.5使用yum来安装LAMP(php运行环境)

安装完成后,我们需要启动和配置服务:2.4 启动Apache: ``` /etc/init.d/httpd start ```2.5 设置Apache开机启动: ``` chkconfig httpd

weixin_38631197
评论 18
收藏 已收藏
分享
返回顶部