- 主题:弱问: telnet登陆时"please init shm first"
ghthash版本不对,装0.5.3以上的
【 在 Heny (Heny) 的大作中提到: 】
: [root@HHH local_utl]# make
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g bbslogd.c
: bbslogd.c: In function `bansiteop':
: bbslogd.c:152: too few arguments to function `ght_create'
: bbslogd.c:177: too few arguments to function `ght_create'
: bbslogd.c:182: too many arguments to function `ght_first'
: bbslogd.c:183: too many arguments to function `ght_next'
: bbslogd.c: In function `filter_passerr':
: ...................
--
FROM 220.249.10.36
3Q
local_utl下
make 成功了
make install也成功了
但还是BBS登陆不了,还是提示 "please init shm first"
[root@HHH bin]# ./shminit
clear old shm...ok
creating bcache shm...ok
creating ucachehash shm...ok
creating utmp shm...ok
creating uindex shm...ok
check passwd file size...ok
attaching shm...ok
check for uhash...oops, shminit failed, please clear all shm and retry
[root@HHH bin]# ./bbsd 23
[root@HHH bin]#
【 在 yuhuan (板砖王) 的大作中提到: 】
: ghthash版本不对,装0.5.3以上的
: 【 在 Heny (Heny) 的大作中提到: 】
: : [root@HHH local_utl]# make
: : gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g bbslogd.c
: : bbslogd.c: In function `bansiteop':
: : bbslogd.c:152: too few arguments to function `ght_create'
: : bbslogd.c:177: too few arguments to function `ght_create'
: : bbslogd.c:182: too many arguments to function `ght_first'
: ...................
--
FROM 202.119.32.102
你这个shminit并没有如你所说成功阿
【 在 Heny (Heny) 的大作中提到: 】
: 3Q
: local_utl下
: make 成功了
: make install也成功了
: 但还是BBS登陆不了,还是提示 "please init shm first"
: [root@HHH bin]# ./shminit
: clear old shm...ok
: creating bcache shm...ok
: ...................
--
FROM 220.249.10.36
: attaching shm...ok
: check for uhash...oops, shminit failed, please clear all shm and retry
~~~~这个说明共享内存没有清除干净,是不是还有其他bbs在运行?
: [root@HHH bin]# ./bbsd 23
: [root@HHH bin]#
:
:
:
: 【 在 yuhuan (板砖王) 的大作中提到: 】
: : ghthash版本不对,装0.5.3以上的
: : 【 在 Heny (Heny) 的大作中提到: 】
: : : [root@HHH local_utl]# make
: : : gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g bbslogd.c
: : : bbslogd.c: In function `bansiteop':
: : : bbslogd.c:152: too few arguments to function `ght_create'
: : : bbslogd.c:177: too few arguments to function `ght_create'
: : : bbslogd.c:182: too many arguments to function `ght_first'
: : ...................
:
: --
:
: ※ 来源:.一塌糊涂 BBS ytht.net.[FROM: 202.119.32.102]
: ※ 修改:.Heny 于 Mar 26 16:04:25 修改本文.[FROM: 202.119.32.102]
--
FROM 162.105.91.58
这个是啥呢?
【 在 yuhuan (板砖王) 的大作中提到: 】
: gdb
: 【 在 Heny (Heny) 的大作中提到: 】
: : 已经在/home/bbssrc/software下make installghthash了,一样 :(
: : 在local_utl下make会提示bbslogd.c有很多错误
: : 我试着直接在local_utl下make shminit
: : 把编译后的shminit拷到/home/bbs/bin/下
: : ./shminit提示成功后,再./bbsd 23
: : 结果还是不行 还是提示:
: ...................
--
FROM 162.105.91.58
看前面的文章啊。 这个问题有人遇到过。
【 在 Heny (Heny) 的大作中提到: 】
: 3Q
: local_utl下
: make 成功了
: make install也成功了
: 但还是BBS登陆不了,还是提示 "please init shm first"
: [root@HHH bin]# ./shminit
: clear old shm...ok
: creating bcache shm...ok
: ...................
--
FROM 159.226.251.18
可能和上次我的问题一样
uhashgen.dat 没有考道 $BBSHOME 目录。
【 在 yuhuan (板砖王) 的大作中提到: 】
: 你这个shminit并没有如你所说成功阿
: 【 在 Heny (Heny) 的大作中提到: 】
: : 3Q
: : local_utl下
: : make 成功了
: : make install也成功了
: : 但还是BBS登陆不了,还是提示 "please init shm first"
: : [root@HHH bin]# ./shminit
: ...................
--
FROM 162.105.76.250
偶改用bbs用户去执行shminit后就可以了
3Q
:)
【 在 yuhuan (板砖王) 的大作中提到: 】
: 你这个shminit并没有如你所说成功阿
: 【 在 Heny (Heny) 的大作中提到: 】
: : 3Q
: : local_utl下
: : make 成功了
: : make install也成功了
: : 但还是BBS登陆不了,还是提示 "please init shm first"
: : [root@HHH bin]# ./shminit
: ...................
--
FROM 202.119.32.102