LinuxSir.cn,穿越时空的Linuxsir!

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

启动httpd失败,原因如下,请各位哥哥帮忙解决!

[复制链接]
发表于 2006-12-7 13:30:21 | 显示全部楼层 |阅读模式
启动的时候显示那行有问题我就忽略,到最后太多了。一定有问题了,各位兄弟帮分析下
[root@localhost ~]# service httpd start
启动 httpd:httpd: Syntax error on line 170 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_access.so into server: /etc/httpd/modules/mod_access.so: cannot open shared object file: No such file or directory
                                                           [失败]
[root@localhost ~]# /etc/httpd/conf/httpd.conf
bash: /etc/httpd/conf/httpd.conf: 权限不够
[root@localhost ~]# cd /etc/httpd/conf
[root@localhost conf]# ls
httpd.conf  httpd.conf.bak  magic
[root@localhost conf]# service httpd start
启动 httpd:httpd: Syntax error on line 171 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_auth.so into server: /etc/httpd/modules/mod_auth.so: cannot open shared object file: No such file or directory
                                                           [失败]
[root@localhost conf]# service httpd start
启动 httpd:httpd: Syntax error on line 172 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_auth_anon.so into server: /etc/httpd/modules/mod_auth_anon.so: cannot open shared object file: No such file or directory
                                                           [失败]
[root@localhost conf]# service httpd start
启动 httpd:httpd: Syntax error on line 173 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_auth_dbm.so into server: /etc/httpd/modules/mod_auth_dbm.so: cannot open shared object file: No such file or directory
                                                           [失败]
[root@localhost conf]# service httpd start
启动 httpd:httpd: Syntax error on line 176 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_auth_ldap.so into server: /etc/httpd/modules/mod_auth_ldap.so: cannot open shared object file: No such file or directory
                                                           [失败]
[root@localhost conf]# service httpd start
启动 httpd:httpd: Syntax error on line 198 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_imap.so into server: /etc/httpd/modules/mod_imap.so: cannot open shared object file: No such file or directory
                                                           [失败]
[root@localhost conf]# service httpd start
启动 httpd:Syntax error on line 10 of /etc/httpd/conf.d/manual.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
                                                           [失败]
[root@localhost conf]# service httpd start
启动 httpd:Syntax error on line 10 of /etc/httpd/conf.d/manual.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
                                                           [失败]
[root@localhost conf]#
[root@localhost conf]# service httpd start
启动 httpd:Syntax error on line 10 of /etc/httpd/conf.d/manual.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
                                                           [失败]
[root@localhost conf]# service httpd start
启动 httpd:Syntax error on line 11 of /etc/httpd/conf.d/manual.conf:
Invalid command 'Allow', perhaps misspelled or defined by a module not included in the server configuration
                                                           [失败]
[root@localhost conf]# service httpd start
启动 httpd:Syntax error on line 10 of /etc/httpd/conf.d/squid.conf:
Invalid command 'order', perhaps misspelled or defined by a module not included in the server configuration
                                                           [失败]
[root@localhost conf]# service httpd start
启动 httpd:Syntax error on line 11 of /etc/httpd/conf.d/squid.conf:
Invalid command 'allow', perhaps misspelled or defined by a module not included in the server configuration
                                                           [失败]
[root@localhost conf]# service httpd start
启动 httpd:Syntax error on line 9 of /etc/httpd/conf.d/webalizer.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
                                                           [失败]
[root@localhost conf]# service httpd start
启动 httpd:Syntax error on line 349 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
                                                           [失败]
[root@localhost conf]#
发表于 2006-12-7 13:37:05 | 显示全部楼层
到系统 管理 服务器设置里试试
还不行的话 看看你的SElinux配置 是不是给禁止了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-7 13:40:25 | 显示全部楼层
我的配置里面选择打开,但是无论重启、还是开始服务,都无法打开,都显示停止,多谢楼上回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-4 18:34:19 | 显示全部楼层
高手永远不稀罕回答,菜鸟慢慢学也学不会
回复 支持 反对

使用道具 举报

发表于 2007-1-4 22:01:01 | 显示全部楼层
直接改,改坏了,在重装.
看手册,看日志.
回复 支持 反对

使用道具 举报

发表于 2007-1-5 10:52:21 | 显示全部楼层
貌似许多模块没有编译进去。
你的 Apache 是怎么装的?(系统自带?自己从源码编译?)
回复 支持 反对

使用道具 举报

发表于 2009-3-1 00:03:06 | 显示全部楼层
好像少了很多文件,是不是没安装完整啊?
回复 支持 反对

使用道具 举报

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

本版积分规则

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