- 主题:SMTH的php中funcs.php的 bbs_init_ext();失败
你什么系统?redhat 7.3 ?
【 在 lovef1y (阿菜(是菜鸟的菜,不是菜刀的菜!!)) 的大作中提到: 】
: funcs.php中
: 我试着注释,找错误,其他的都已经注释掉,只留下这段
: if (!bbs_ext_initialized())
: ...................
--
FROM 128.12.181.*
tail httpd 的 error.log
【 在 lovef1y (阿菜(是菜鸟的菜,不是菜刀的菜!!)) 的大作中提到: 】
: debian
: smth是1.2的
--
FROM 128.12.181.*
用root身份执行ipcs,然后 grep "^User" httpd.conf
【 在 lovef1y (阿菜(是菜鸟的菜,不是菜刀的菜!!)) 的大作中提到: 】
: [Sat Oct 2 15:31:01 2004] [notice] Apache/1.3.27 (Unix) PHP/4.3.1
: configured -- resuming normal operations
: [Sat Oct 2 15:31:01 2004] [notice] Accept mutex: sysvsem (Default:
: ...................
--
FROM 128.12.181.*
e74 owner root perms 660 所以httpd没办法读那个共享内存
解决办法killall所有bbs程序,用root身份清共享内存
【 在 lovef1y (阿菜(是菜鸟的菜,不是菜刀的菜!!)) 的大作中提到: 】
: #ipcs
: ------ Shared Memory Segments --------
: key shmid owner perms bytes nattch status
: ...................
--
FROM 128.12.181.*
check httpd error_log
【 在 humos (苍凉) 的大作中提到: 】
: 我一样这个问题
: funcs.php中
: 我试着注释,找错误,其他的都已经注释掉,只留下这段
: ...................
--
FROM 128.12.181.30
dest无所
如果你现在bbs是正常运行的,这个输出不正常,miscd没起来?
【 在 humos (苍凉) 的大作中提到: 】
: -bash-2.05b$ ipcs
: ------ Shared Memory Segments --------
: key shmid owner perms bytes nattch status
: ...................
--
FROM 128.12.181.30