一聚教程网:一个值得你收藏的教程网站

热门教程

apache无法启动提示httpd.exe: Could not reliably determine the server

时间:2022-06-30 18:00:14 编辑:袖梨 来源:一聚教程网

查看日志发现

The Apache service named  reported the following error:
>>> httpd.exe: Could not reliably determine the server's fully qualified domain name, using 222.73.219.52 for ServerName 

百度搜索一下说是端口问题,我查一下

在windows命令行窗口下执行:
C:/>netstat -aon|findstr "80"
TCP     127.0.0.1         0.0.0.0:0               LISTENING       2448

显示没有任何问题了,于时想到了apache日志,找到x:/xx/xxx/logs中打开errors.log文件发现

(OS 3)系统找不到指定的路径。  : httpd.exe: could not open error log file x:/xx/2013_error0519.log.
Unable to open logs
(OS 3)系统找不到指定的路径。  : httpd.exe: could not open error log file x:/xx/2013_error0519.log.
Unable to open logs

看到一句是说日志文件中路径不正确了,于时我修改一下路径发现重启apache 正常可用了。

热门栏目