把/usr/sbin/apache*,/etc/apache,/usr/lib/php4等等都chown成了bbs.bbs
修改httpd.conf到8080端口,用bbs帐号/usr/sbin/apachectl start,启动之后
ipcs看到没有owner是root得了,但是故障依旧,引用了smth得php函数的php页面
还是不能打开,单独的php页面可以打开的。
<?php phpinfo(); ?>的那个test.php可以看到smth_bbs support enabled
每次调用bbslogin一类的都在error.log里面留下这样的记录
Error! shmget error! key = e73.: Invalid argument
Error! shmget error! key = e73.: Invalid argument
Error! shmget error! key = e73.: Invalid argument
下面就是用root ipcs看到的结果,红色的那行在用root启动apache的的时候,owern是root,key也是从0x0000000开始的,后面也是一个dest;现在用bbs启动apache,似乎
只是owner变成了bbs而已。
真奇怪。难道是1.3.29的apache和smthbbs不和?打算换apache2试试了
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000e74 0 bbs 660 1024 64
0x00000e70 32769 bbs 660 5277252 58
0x00000e6d 65538 bbs 660 9604 59
0x00001194 98307 bbs 660 4798384 4
0x00000e73 131076 bbs 660 5478200 53
0x00000e72 163845 bbs 660 84296 53
0x00002335 196614 bbs 660 90008 51
0x00000000 458759 bbs 600 737284 6 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
【 在 newer (妞儿/牛2) 的大作中提到: 】
: 把整个chown都改成bbs试试
: (apache,php,bbs都改成bbs)
: 把web改成高端口
: ...................
--
修改:wisi FROM 202.120.189.*
FROM 202.120.189.*