xmlfan
急,在线等待.APACHE启动不了
前几天服务器重启后自己配置的apache就没法启动了(以前apche服务一直正常),但系统自带的httpd可以启动的。
# ./apachectl start
无反应.
#./apachectl restart
出现如下信息:
httpd not running, trying to start
#./apachectl stop
出现如下信息:
httpd (pid 3710?) not running
请各位指点.
xuledw
[quote]原帖由 [i]xmlfan[/i] 于 2008-5-21 09:55 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6591000&ptid=1004393][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]
在error_log里面发现提示:
[Wed May 21 09:14:44 2008] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed May 21 09:14:44 2008] [notice ... [/quote]
出问题了先查看日志。错误提示!你有两个apache 一个自己编译安装的和一个系统自带的 如果系统自带的那个启动。且你的默认和编译安装的监听端口是同一端口的话,启动会报错的!看你的报错信息就可以解决了