- 主题:问个奇怪的问题?
我按照文档装好了smth,telnet登陆没什么问题,但是怎么web用的时候有点问题呢?
phpinfo()显示挺好的,smth_bbs显示也是enable,但是就是不能解析其他的php文件,
什么都没有显示,也没有提示错误,不知道什么原因?
--
FROM 222.20.241.*
Error! shmat 2 error! key = e74.: Permission denied
奇怪,不知道哪里权限设置错误?我miscd 都是正常哦,大侠知道原因么?
【 在 atppp (Big Mouse) 的大作中提到: 】
: 看 httpd 的 error_log
--
FROM 222.20.241.*
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 root 777 49152 1
0x00000000 32769 root 777 16384 1
0x00000000 163842 bbs 600 393216 2 dest
0x00000000 196611 bbs 600 393216 2 dest
0x00000e74 229380 bbs 660 1024 5
0x00000e70 262149 bbs 660 5517252 4
0x00000e6d 294918 bbs 660 11204 4
0x00001194 327687 bbs 660 4798384 4
0x00000e73 425992 bbs 660 14578200 0
0x00000e72 458761 bbs 660 224296 0
0x00000000 655370 root 644 98304 11 dest
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
0x00000888 0 bbs 664 0 0
0x00002050 32769 root 666 0 0
0x0000204f 65538 root 666 0 0
原来只听说BBSUID和BBSGID设置错误telnet会出现这个错误,可是我是web怎么也这样?
【 在 atppp (Big Mouse) 的大作中提到: 】
: 用 root 执行 ipcs
--
FROM 222.20.241.*
我是以root运行httpd的,但是我似乎不能以bbs运行httpd,指点下?
【 在 atppp (Big Mouse) 的大作中提到: 】
: so, 估计你的 httpd 运行身份不是 bbs
--
FROM 222.20.241.*
but我是这么作的阿,User bbs Group bbs,还是出现那个情况,还以为你说用bbs
启动httpd:)
【 在 atppp (Big Mouse) 的大作中提到: 】
: httpd.conf 中把 User 和 Group 参数都修改为 bbs。INSTALL 里面有说
: 如果你硬要用 bbs 来启动 httpd:
: 1. 用 sudo 或类似方法
: ...................
--
FROM 222.20.241.*