热门标签 | HotTags
当前位置:  开发笔记 > 运维 > 正文

apache安装似乎失败了?

apache安装似乎失败了?--Linux通用技术-Linux技术与应用信息,下面是详情阅读。
安装了apache2,指定的启动命令是: /usr/local/apache2/bin/apachectl start
我在终端里面以root用户运行是没有问题的,进程里面有4个http相关进程
but在webmin里面的apache里面电机启动apache的时候却提示:启动apache失败 : Apache does not appear to be running :
点第二次的时候提示:
启动apache失败 : Apache does not appear to be running :
httpd (pid 10085) already running

手工在终端启动:
derek@love:/usr/local/apache2/bin> sudo /usr/local/apache2/bin/apachectl start
口令:
derek@love:/usr/local/apache2/bin>
derek@love:/usr/local/apache2/bin>
derek@love:/usr/local/apache2/bin> ps -ef |grep httpd
root 10178 1 0 20:41 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 10179 10178 0 20:41 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 10180 10178 0 20:41 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 10181 10178 0 20:41 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 10185 10178 0 20:41 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 10186 10178 0 20:41 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
derek 10194 9708 0 20:41 pts/1 00:00:00 grep httpd
derek@love:/usr/local/apache2/bin>

似乎是没有问题哈?用浏览器打开也没有问题。。不过有点奇怪的就是 即使我关闭apache,浏览器还是能够打开。


=附上错误日志=======================
derek@love:/usr/local/apache2/logs> more error_log
[Sun Jan 13 19:53:02 2008] [notice] Apache/2.2.6 (Unix) configured -- resuming n
ormal operations
[Sun Jan 13 20:15:08 2008] [error] [client 127.0.0.1] File does not exist: /usr/
local/apache2/htdocs/favicon.ico
[Sun Jan 13 20:16:59 2008] [error] [client 127.0.0.1] File does not exist: /usr/
local/apache2/htdocs/favicon.ico
[Sun Jan 13 20:21:17 2008] [notice] caught SIGTERM, shutting down
[Sun Jan 13 20:21:17 2008] [notice] Apache/2.2.6 (Unix) configured -- resuming n
ormal operations
[Sun Jan 13 20:21:33 2008] [error] [client 192.168.18.2] File does not exist: /u
sr/local/apache2/htdocs/favicon.ico
[Sun Jan 13 20:23:57 2008] [notice] caught SIGTERM, shutting down
[Sun Jan 13 20:24:13 2008] [notice] Apache/2.2.6 (Unix) configured -- resuming n
ormal operations
[Sun Jan 13 20:24:55 2008] [error] [client 192.168.18.2] File does not exist: /u
sr/local/apache2/htdocs/favicon.ico
[Sun Jan 13 20:27:15 2008] [notice] caught SIGTERM, shutting down
[Sun Jan 13 20:27:15 2008] [notice] Apache/2.2.6 (Unix) configured -- resuming n
ormal operations
[Sun Jan 13 20:27:31 2008] [error] [client 192.168.18.2] File does not exist: /u
sr/local/apache2/htdocs/favicon.ico
[Sun Jan 13 20:28:43 2008] [notice] caught SIGTERM, shutting down
[Sun Jan 13 20:31:37 2008] [notice] Apache/2.2.6 (Unix) configured -- resuming n
ormal operations
derek@love:/usr/local/apache2/logs>
推荐阅读
author-avatar
天智-孙会军
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有