在试图调试kbs bbsd的时候遇到的
系统是vmware rh9 内核版本是2.4.20-8
有没有人遇到过?
google group找到后面的一段
看ps ax里面确实有[bbsd]
有没有解决的办法?
I do not think that it is VMware problem. Try using 2.4.20 kernel from
www.kernel.org. There was some exploit for ptrace, and all fixes I saw
up to now were fatally broken, as they disabled ptracing for dozens of
completely legal operations. And you are probably catch by this, as
by default mysql server switches its uid from root to mysql.
Try temporarily commenting out 'user=mysql' in /etc/mysql/my.cnf
(or where mysqld config lives on your system).
You can usually quickly reveal whether you have this problem or not:
do 'ps ax'. If you'll see "[mysqld]" (or [mysql.server] or other
name in []), you cannot strace/debug this process (even if you
are root) (and you'll most likely find mysqld in state 'T' after
doing that, as (unless it is fixed... I do not track 2.4.x much)
root has right to attach to process, but does not have right
to detach ;-) (kill -9 is solution)
Petr
--
FROM 218.76.65.*