- 主题:TELNET可以访问,WEB页面无法访问
谢谢回复!
是以bbs身份运行的
User bbs
Group bbs
【 在 jiangjun (jiangjun) 的大作中提到: 】
: httpd 是否以 bbs 身份运行?
--
修改:strongarmy FROM 61.187.92.*
FROM 124.229.50.*
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啊。为啥无法显示?
--
FROM 61.187.92.*
重启过,没用。
【 在 jiangjun (jiangjun) 的大作中提到: 】
: shm shmget:readonly attach error! key = e74.
: 我觉得这个可能是关键
: 试试重启计算机
: ...................
--
FROM 61.187.92.*
telnet能访问居然还有shm没挂上?
【 在 jiangjun (jiangjun) 的大作中提到: 】
: shm shmget:readonly attach error! key = e74.
: 我觉得这个可能是关键
: 试试重启计算机
: ...................
--
FROM 123.118.1.*
我想问一下:
./miscd daemon
./bbslogd
等bbs启动命令我都是以root运行的,跟这个有关吗?
【 在 jiangjun (jiangjun) 的大作中提到: 】
: 权限问题?
--
FROM 61.187.92.*
谢谢!
这个伙计到后面丢了句“问题解决了,还是权限问题”就跑了。
【 在 jiangjun (jiangjun) 的大作中提到: 】
: 36839 shutiao Oct 18. ● 停电重启后www不能访问了(913)
: 看看这个主题
--
修改:strongarmy FROM 61.187.92.*
FROM 61.187.92.*
唉,搞了一天,还找不到原因,各位大牛帮我看看是不是这个原因:
Shared Memory Segments下有几个owner是“root”
[root@bbs bin]# ipcs -a
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x740003ce 1376256 root 600 4 0
0x740003f9 720897 root 600 4 0
0x00000e74 1736706 bbs 660 1024 5
0x740003cd 1343491 root 600 4 0
0x00000e70 1769476 bbs 660 5837252 5
0x00000e6d 1802245 bbs 660 574404 5
0x00000e71 1835014 bbs 660 99208 5
0x00000e73 1867783 bbs 660 5478200 5
0x00000e72 1900552 bbs 660 84296 5
0x00001194 1933321 bbs 660 4798384 5
0x00002335 1966090 bbs 660 90008 0
------ Semaphore Arrays --------
key semid owner perms nsems
0x00000000 229376 bbs 600 1
0x00000000 262145 bbs 600 1
0x00000000 294914 bbs 600 1
0x00000000 327683 bbs 600 1
0x00000000 360452 bbs 600 1
0x00000000 393221 bbs 600 1
0x00000000 425990 bbs 600 1
------ Message Queues --------
key msqid owner perms used-bytes messages
0x00000888 0 bbs 664 0 0
【 在 jiangjun (jiangjun) 的大作中提到: 】
: 权限问题?
--
FROM 61.187.92.*
是一样的,请看:
#define BBSUID 501
#define BBSGID 501
/* for bbs2www, by flyriver, 2001.3.9 */
#define SECNUM 13
以上是site.h中的
[bbs@bbs kbs_bbs]$ id bbs
uid=501(bbs) gid=501(bbs) groups=501(bbs)
【 在 jiangjun (jiangjun) 的大作中提到: 】
: site.h 中 BBSUID 和 BBSGID 与 实际的 bbs 用户是否对应?
--
FROM 61.187.92.*