返回信息流转信站: BYR!news.byr.edu.cn!news.neu.edu.cn!news.newsmth.net!NEWSMTH
操作系统:RHEL5.5
APACHE,PHP:系统默认安装
BBS程序:svn co http://svn.kcn.cn/repos/kbs/trunk/kbs_bbs/
WWW程序:svn co http://svn.kcn.cn/repos/kbs/trunk/www2/
顺利安装成功后可以telnet访问,但是通过网页无法访问,首页(HTML页面)可以显示,但是一旦点击“匿名登录”(bbslogin.php)等php文件,浏览器便提示“无法显示该页面”。但自己编写一个带phpinfo()函数的info.php文件丢在与bbslogin.php同目录下,却可以访问,同时选项“kbs_bbs support => enabled”。请问:这是什么原因造成的?该如何解决。谢谢
这是一条镜像帖。来源:北邮人论坛 / bbs-man-dev / #12739同步于 1 周前
BBSMan_Dev机器人发帖
TELNET可以访问,WEB页面无法访问
strongarmy.
1 周前镜像同步26 回复
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复
转信站: BYR!news.byr.edu.cn!news.neu.edu.cn!news.newsmth.net!NEWSMTH
error_log已看过,没看出名堂来。未必是没有favicon.ico这个文件的原因啊?
[Fri Aug 26 09:39:03 2011] [error] [client 211.69.224.99] File does not exist: /var/www/html/favicon.ico
[Fri Aug 26 09:39:06 2011] [error] [client 211.69.224.99] File does not exist: /var/www/html/favicon.ico
[Fri Aug 26 09:58:26 2011] [notice] caught SIGTERM, shutting down
[Fri Aug 26 10:00:23 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Aug 26 10:00:23 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Aug 26 10:00:23 2011] [notice] Digest: done
[Fri Aug 26 10:00:24 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max proc
esses and 0 max threads.
[Fri Aug 26 10:00:24 2011] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Fri Aug 26 10:05:37 2011] [error] [client 211.69.224.99] File does not exist: /var/www/html/favicon.ico
shm shmget:readonly attach error! key = e74.[Fri Aug 26 10:05:39 2011] [error] [client 211.69.22
4.99] File does not exist: /var/www/html/favicon.ico
shm shmget:readonly attach error! key = e74.[Fri Aug 26 10:10:06 2011] [error] [client 211.69.22
4.99] File does not exist: /var/www/html/php.info
[Fri Aug 26 10:10:13 2011] [error] [client 211.69.224.99] File does not exist: /var/www/html/favicon.ico
[Fri Aug 26 10:14:27 2011] [notice] caught SIGTERM, shutting down
[Fri Aug 26 10:16:57 2011] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Fri Aug 26 10:16:57 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Aug 26 10:16:57 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Aug 26 10:16:57 2011] [notice] Digest: done
[Fri Aug 26 10:16:57 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Fri Aug 26 10:16:57 2011] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Fri Aug 26 10:29:52 2011] [error] [client 211.69.224.99] File does not exist: /var/www/html/favicon.ico
【 在 fancyrabbit (fancy★一摩尔时光) 的大作中提到: 】
: 看errorlog啊。为啥无法显示?
转信站: BYR!news.byr.edu.cn!news.neu.edu.cn!news.newsmth.net!NEWSMTH
shm shmget:readonly attach error! key = e74.
我觉得这个可能是关键
试试重启计算机
【 在 strongarmy (杨主任) 的大作中提到: 】
error_log已看过,没看出名堂来。未必是没有favicon.ico这个文件的原因啊?
[Fri Aug 26 09:39:03 2011] [error] [client 211.69.224.99] File does not exist: /var/www/html/favicon.ico
[Fri Aug 26 09:39:06 2011] [error] [client 211.69.224.99] File does not exist: /var/www/html/favicon.ico
[Fri Aug 26 09:58:26 2011] [notice] caught SIGTERM, shutting down
[Fri Aug 26 10:00:23 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Aug 26 10:00:23 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Aug 26 10:00:23 2011] [notice] Digest: done
[Fri Aug 26 10:00:24 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max proc
esses and 0 max threads.
[Fri Aug 26 10:00:24 2011] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Fri Aug 26 10:05:37 2011] [error] [client 211.69.224.99] File does not exist: /var/www/html/favicon.ico
shm shmget:readonly attach error! key = e74.[Fri Aug 26 10:05:39 2011] [error] [client 211.69.22
4.99] File does not exist: /var/www/html/favicon.ico
shm shmget:readonly attach error! key = e74.[Fri Aug 26 10:10:06 2011] [error] [client 211.69.22
4.99] File does not exist: /var/www/html/php.info
[Fri Aug 26 10:10:13 2011] [error] [client 211.69.224.99] File does not exist: /var/www/html/favicon.ico
[Fri Aug 26 10:14:27 2011] [notice] caught SIGTERM, shutting down
[Fri Aug 26 10:16:57 2011] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Fri Aug 26 10:16:57 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Aug 26 10:16:57 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Aug 26 10:16:57 2011] [notice] Digest: done
[Fri Aug 26 10:16:57 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Fri Aug 26 10:16:57 2011] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Fri Aug 26 10:29:52 2011] [error] [client 211.69.224.99] File does not exist: /var/www/html/favicon.ico
【 在 fancyrabbit (fancy★一摩尔时光) 的大作中提到: 】
: 看errorlog啊。为啥无法显示?
转信站: BYR!news.byr.edu.cn!news.neu.edu.cn!news.newsmth.net!NEWSMTH
谢谢回复!
你是指httpd.conf中的参数设置吗?
我设置为:
User bbs
Group bbs
【 在 jiangjun (jiangjun) 的大作中提到: 】
: httpd 是否以 bbs 身份运行?
转信站: BYR!news.byr.edu.cn!news.neu.edu.cn!news.newsmth.net!NEWSMTH
httpd 是否以 bbs 身份运行?
【 在 strongarmy (杨主任) 的大作中提到: 】
: 操作系统:RHEL5.5
: APACHE,PHP:系统默认安装
: BBS程序:svn co http://svn.kcn.cn/repos/kbs/trunk/kbs_bbs/
: ...................
转信站: BYR!news.byr.edu.cn!news.neu.edu.cn!news.newsmth.net!NEWSMTH
看errorlog啊。为啥无法显示?
【 在 strongarmy (杨主任) 的大作中提到: 】
: 操作系统:RHEL5.5
: APACHE,PHP:系统默认安装
: BBS程序:svn co http://svn.kcn.cn/repos/kbs/trunk/kbs_bbs/
: ...................
转信站: BYR!news.byr.edu.cn!news.neu.edu.cn!news.newsmth.net!NEWSMTH
重启过,没用。
【 在 jiangjun (jiangjun) 的大作中提到: 】
: shm shmget:readonly attach error! key = e74.
: 我觉得这个可能是关键
: 试试重启计算机
: ...................
转信站: BYR!news.byr.edu.cn!news.neu.edu.cn!news.newsmth.net!NEWSMTH
telnet能访问居然还有shm没挂上?
【 在 jiangjun (jiangjun) 的大作中提到: 】
: shm shmget:readonly attach error! key = e74.
: 我觉得这个可能是关键
: 试试重启计算机
: ...................
转信站: BYR!news.byr.edu.cn!news.neu.edu.cn!news.newsmth.net!NEWSMTH
36839 shutiao Oct 18. ● 停电重启后www不能访问了(913)
看看这个主题
【 在 strongarmy (杨主任) 的大作中提到: 】
: 重启过,没用。
转信站: BYR!news.byr.edu.cn!news.neu.edu.cn!news.newsmth.net!NEWSMTH
权限问题?
【 在 fancyrabbit (fancy★一摩尔时光) 的大作中提到: 】
: telnet能访问居然还有shm没挂上?