- 主题:gdb bbsd error
[root@localhost root]# cd /home/bbs/bin
[root@localhost bin]# gdb bbsd
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) r -d -p 100
Starting program: /home/bbs/bin/bbsd -d -p 100
[New Thread 1074050944 (LWP 24278)]
~c
Couldn't get registers: 不允许的操作.
~c是ctrl+c吗?
论坛的症状每次陆发帖第一篇能发,后再发就提示“发帖过于频繁,休息几秒”之类的
前几天运行得好好的,昨天刚出的问题,bbs的源码没改过,除了站点定制文件
系统是rh9.0 linux
kbsbbs2.0
--
修改:Kisson FROM 211.151.89.*
FROM 211.151.89.*
Couldn't get registers: 不允许的操作.
这句话什么意思呢?
run了以后,到另一个term下无法连接gdb的bbsd啊
【 在 Kisson (歪歪鼻子) 的大作中提到: 】
: [root@localhost root]# cd /home/bbs/bin
: [root@localhost bin]# gdb bbsd
: GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
: ...................
--
FROM 211.151.89.*
[root@localhost bin]# ps aux|grep bbsd
bbs 23978 0.0 0.1 2736 484 ? S 15:41 0:00 [bbsd]
bbs 24278 0.0 0.2 2688 524 pts/3 S 16:03 0:00 [bbsd]
bbs 24407 0.0 2.5 14852 6272 ? S 16:20 0:00 [bbsd]
root 24412 0.0 0.2 4812 636 pts/3 S 16:21 0:00 grep bbsd
[root@localhost bin]# gdb bbsd
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) attach 24407
Attaching to program: /home/bbs/bin/bbsd, process 24407
Couldn't get registers: 不允许的操作.
【 在 foxban (长白发了....) 的大作中提到: 】
: (gdb) r Starting program: /sbin/ifenslave Couldn't get registers: Operation not permitted. (gdb) 看吧,我们没有足够的权限调试这个有问题的程序.
: google出来的结果...
: 你按我的步骤试试...
: ...................
--
FROM 211.151.89.*
弱问一个
如果我直接下载dev上的文件不做任何修改,是不是一般不会出现这些问题?包括站点定制文件
【 在 foxban (长白发了....) 的大作中提到: 】
: Orz...-_-
--
FROM 211.151.89.*
站点定制文件改了
uid
gid
和系统的一致了
【 在 foxban (长白发了....) 的大作中提到: 】
: 不更改站点定制文件是不行的,至少得有gid/uid啊...
: 你不是没更改源码么
--
FROM 211.151.89.*
#make install
libtool: install: warning: relinking `libphpbbslib.la'
【 在 Kisson (ouldn't get registers: \x{4E0D}\x{5141}) 的大作中提到: 】
: 站点定制文件改了
: uid
: gid
: ...................
--
FROM 211.151.89.*
现在killall miscd
提示没有miscd killed
记得以前miscd deamon
后是有进程的
【 在 foxban (长白发了....) 的大作中提到: 】
: 这个是正常的
--
FROM 211.151.89.*
忘了一个细节了
昨天好像改过bbs用户的密码
这个有关系吗?
【 在 Kisson (ouldn't get registers: \x{4E0D}\x{5141}) 的大作中提到: 】
: 现在killall miscd
: 提示没有miscd killed
: 记得以前miscd deamon
: ...................
--
FROM 211.151.89.*
哈哈
发现问题了
daemon
不是
deamon
我说呢
谢谢大家
【 在 Kisson (ouldn't get registers: \x{4E0D}\x{5141}) 的大作中提到: 】
: 现在killall miscd
: 提示没有miscd killed
: 记得以前miscd deamon
: ...................
--
FROM 211.151.89.*
3x all the same
【 在 foxban (长白发了....) 的大作中提到: 】
: ft...
--
FROM 211.151.89.*