- 主题:弱问: telnet登陆时"please init shm first"
CVS YTHT的代码来安装的,
#/home/bbs/bin/bbsd 23 后
登陆时提示这个please init shm first,然后就进不了BBS
弱弱地问如何解决
:-)
--
FROM 202.119.32.102
已经在/home/bbssrc/software下make installghthash了,一样 :(
在local_utl下make会提示bbslogd.c有很多错误
我试着直接在local_utl下make shminit
把编译后的shminit拷到/home/bbs/bin/下
./shminit提示成功后,再./bbsd 23
结果还是不行 还是提示:
"please init shm first"
:((
【 在 lepton (......) 的大作中提到: 】
: 没有装ghthash
: 【 在 Fishingsnow (對鏡持柳葉自剖業與孽) 的大作中提到: 】
: : make的时候bbslogd.c提示了很多错误就终止了:(
--
FROM 202.119.32.102
[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':
bbslogd.c:207: too few arguments to function `ght_create'
make: *** [bbslogd.o] Error 1
[root@HHH local_utl]#
【 在 yuhuan (板砖王) 的大作中提到: 】
: 下次要把这个“很多错误”贴出来
: 【 在 Fishingsnow (對鏡持柳葉自剖業與孽) 的大作中提到: 】
: : make的时候bbslogd.c提示了很多错误就终止了:(
--
FROM 202.119.32.102
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
偶改用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