LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1111|回复: 3

apache2 启动不起来!! 运行: apache2ctl start 出现如下提示——已经解决

[复制链接]
发表于 2007-7-24 22:21:28 | 显示全部楼层 |阅读模式
debian:/etc# apache2ctl start
apache2: Syntax error on line 189 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory

我先安装apache 然后卸载了,然后安装的apache2

这是怎么回事?怎样解决?谢谢
发表于 2007-7-24 22:34:06 | 显示全部楼层
创建一个空的httpd.conf试试,或把include httpd.conf那一行注了。
debian的apache2已经不用httpd.conf了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-24 22:37:47 | 显示全部楼层
把把include httpd.conf那一行注了以后

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
回复 支持 反对

使用道具 举报

发表于 2007-7-24 22:53:44 | 显示全部楼层
Post by anntonny
把把include httpd.conf那一行注了以后

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

这样的话应该已经启动起来了吧,提示的只是小问题
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表