重启apache error.log提示AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了重启apache error.log提示AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'相关的知识,希望对你有一定的参考价值。
[Sat Sep 16 09:24:23.765772 2017] [mpm_prefork:notice] [pid 5247] AH00170: caught SIGWINCH, shutting down gracefully
[Sat Sep 16 09:24:24.874329 2017] [core:notice] [pid 5290] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sat Sep 16 09:24:24.874882 2017] [suexec:notice] [pid 5290] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 16 09:24:24.893270 2017] [auth_digest:notice] [pid 5290] AH01757: generating secret for digest authentication ...
[Sat Sep 16 09:24:24.893838 2017] [lbmethod_heartbeat:notice] [pid 5290] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 16 09:24:24.906048 2017] [mpm_prefork:notice] [pid 5290] AH00163: Apache/2.4.6 (CentOS) mod_fcgid/2.3.9 PHP/5.4.16 mod_perl/2.0.10 Perl/v5.20.3 configured -- resuming normal operations
[Sat Sep 16 09:24:24.906065 2017] [core:notice] [pid 5290] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
重启apache error.log提示AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'是设置错误造成的,解决方法为:
1、首先需要使用yum安装apache服务,yum install httpd -y。
2、接下来启动apache服务systemctl start httpd并本地测试访问。
3、然后通过命令ps -ef|grep httpd 找到apache的进程/usr/sbin/httpd 。
4、接下来输入/usr/sbin/httpd -V 这样就能查找配置文件的路径了,问题就解决。
参考技术A 你的配置文件有错吧本回答被提问者采纳以上是关于重启apache error.log提示AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'的主要内容,如果未能解决你的问题,请参考以下文章
重启服务器“AH00558: apache2: Could not reliably determine the server's fully qualified domain name”问题
Apache error.log [warn](OS 64)指定的网络名不再可用。winnt_accept: Asynchronous AcceptEx failed.
AH00052: child pid 25043 exit signal Segmentation fault (11)