|
[Mon Mar 26 16:37:41 2007] [notice] caught SIGTERM, shutting down
[Mon Mar 26 16:37:42 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 26 16:37:42 2007] [notice] Digest: generating secret for digest authentication ...
[Mon Mar 26 16:37:42 2007] [notice] Digest: done
[Mon Mar 26 16:37:43 2007] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Mon Mar 26 16:37:43 2007] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Mon Mar 26 16:37:48 2007] [error] [client 192.168.0.101] (13)Permission denied: access to /index.php denied
[Mon Mar 26 16:37:48 2007] [error] [client 192.168.0.101] (13)Permission denied: access to /index.html denied
[Mon Mar 26 16:37:48 2007] [error] [client 192.168.0.101] (13)Permission denied: access to /index.html.var denied
[Mon Mar 26 16:39:34 2007] [error] [client 192.168.0.101] (13)Permission denied: access to /index.php denied
[Mon Mar 26 16:39:34 2007] [error] [client 192.168.0.101] (13)Permission denied: access to /index.html denied
[Mon Mar 26 16:39:34 2007] [error] [client 192.168.0.101] (13)Permission denied: access to /index.html.var denied
[Mon Mar 26 16:39:34 2007] [error] [client 192.168.0.101] (13)Permission denied: access to /favicon.ico denied
[Mon Mar 26 16:39:41 2007] [error] [client 192.168.0.101] (13)Permission denied: access to /index.php denied
[Mon Mar 26 16:39:41 2007] [error] [client 192.168.0.101] (13)Permission denied: access to /index.html denied
[Mon Mar 26 16:39:41 2007] [error] [client 192.168.0.101] (13)Permission denied: access to /index.html.var denied
以上是/var/log/httpd/error_log文件的一部分
在我配置完DNS和samba以及apache后一切正常。前面都成功了,访问网站www.santoday.cn都是正常。而且mysqld 也启动正常,只是中间我在设置mysqladmin -u root password 的时候把root换成了santoday(新建的用户) 。在这之前全部正常。后来我安装openwebmail。输入mail.santoday.cn/cgi-bin/openwebmail/openwebmail.PL用户登录界面都出来了,但是直接访问mail.santoday.cn的时候一直
提示:You don't have permission to access /mail/index.php on this server.
我在网上找遍了所有资料都没解决故障。而且在访问www.santoday.cn的时候也是上面提示没有权限。
我发现以下几点不明白对不对。请大家帮忙看看,我ping www.santoday.cn 时出来的信息是这样:
[root@santoday openwebmail]# ping www.santoday.cn
PING www.santoday.cn (192.168.0.101) 56(84) bytes of data.
64 bytes from mail.0.168.192.in-addr.arpa (192.168.0.101): icmp_seq=1 ttl=64 time=0.037 ms
64 bytes from mail.0.168.192.in-addr.arpa (192.168.0.101): icmp_seq=2 ttl=64 time=0.032 ms
64 bytes from mail.0.168.192.in-addr.arpa (192.168.0.101): icmp_seq=3 ttl=64 time=0.033 ms
[root@santoday openwebmail]# host 192.168.0.101
101.0.168.192.in-addr.arpa domain name pointer www.0.168.192.in-addr.arpa.
101.0.168.192.in-addr.arpa domain name pointer mail.0.168.192.in-addr.arpa.
101.0.168.192.in-addr.arpa domain name pointer bbs.0.168.192.in-addr.arpa.
101.0.168.192.in-addr.arpa domain name pointer ftp.0.168.192.in-addr.arpa.
上面ping时为什么不是www.0.168.192.in 而是mail.0.168.192呢 我的dns应该对呀 我也检查过。
出现问题后我把之前的httpd.conf文件还原回去,故障依旧!我的httpd.conf文件内user和组都是apache. 我也chmod 755 /var/www/html(存放网页的目录了)
请教高手帮我分析原因看看,在此谢过了! |
|