下面是用root帐号ipcs的结果。我的apache的httpd.conf里面的user和group都是bbs了,
这个用那个
http://bbs.tongji.edu.cn/test.php可以看到的。用root运行apache是指我把
user和gruop都改成root?
[root@bbs bbs]# ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000e74 0 bbs 660 1024 73
0x00000e70 32769 bbs 660 5277252 68
0x00000e6d 65538 bbs 660 9604 68
0x00001194 98307 bbs 660 4798384 4
0x00000e73 131076 bbs 660 5478200 63
0x00000e72 163845 bbs 660 84296 63
0x00002335 196614 bbs 660 90008 59
0x00000000 294919 root 600 737284 12 dest
0x00000e71 262152 bbs 660 3760000 0
0x00000d7b 327689 bbs 660 9200 0
0x0000256a 360458 bbs 660 13562000 0
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
0x00000888 0 bbs 664 0 0
【 在 atppp (Big Mouse) 的大作中提到: 】
: 看你前面的文章apache的用户是bbs,那把你ipcs的输出贴上来看看?
: 还有实在不行你暂时性的试一试用root身份运行apache会不会好。
: 试验过了以后记得chown -R bbs:bbs一下bbs目录。
--
FROM 202.232.87.*