ne mogu priatachit' process iz pod roota :( kto znaet kak pofixit'?
[root@localhost toronto]# gdb /usr/local/apache/bin/httpd 4391 GNU gdb Red Hat Linux (5.3post-0.20021129.18rh) ... Attaching to program: /usr/local/apache/bin/httpd, process 4391 Couldn't get registers: Operation not permitted. A program is being debugged already. Kill it? (y or n) n Program not killed. (gdb) q The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: /usr/local/apache/bin/httpd, process 4391 ptrace: Operation not permitted. (gdb)
kernel: Linux 2.4.20-8
distr: RH9.0(Shrike) default installation
p.s. esli sdelat' attach k drugim processam (k samomu roditelskomu processu httpd, libo k kakim-libo eshe) vsegda vilazit takaya vot huinya:
(gdb) attach 3838 Attaching to process 3838 ... 0xffffe002 in ?? () (gdb) q
pri4em vo vseh processah odin i tot je address 0xffffe002..