- 主题:ytht安装问题,请高手指教!
本人安装ythtbbs在linux9上边,安装过程如下
以bbs用户登入系统;
$ cd /home/bbs/bbssrc/software
$ make installfcgidev
$ make installghthash
$ cd /home/bbs/bbssrc/site
$ cp bbsconfig.sample bbsconfig.mybbs (修改信息)
$ cp seclist.txt.sample seclist.mybbs
$ cd /home/bbs/bbssrc
$ ./makedist.sh
$ ./configure --with-site=mybbs
$ make
$ make install
$ cd /home/bbs/bbssrc/local_utl
$ make depend
$ make
$ make install
$ cd ythtlib
$ make install
$ cd ../libythtbbs
$ make install
$ cd ../src
$ make install
以上均没有出问题,在执行
/home/bbs/bin/shminit时报了如下错误,
---------------------------
please run this program as bbs user
don't run this program as root!
oops, shminit failed, please clear all shm and retry
---------------------------
不知何故???
执行/home/bbs/bin/bbsd
telnet localhost
出现如下问题
------------------------------------------------------
[bbs@BBS bin]$ telnet localhost
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
BBS 最近 (1,5,15) 分钟的平均负荷分别为 0.02, 0.20, 0.16 (目前上限 = 20).
健康状态
Connection closed by foreign host.[bbs@BBS bin]$
------------------------------------------------------
各位安装过ytht的帮帮我了!
--
FROM 202.201.20.50
注意bbsconfig文件中,LAST_BBS_UID、LAST_BBS_GID和LAST_BBS_USER请查询/etc/passwd 文件获得,填入当前登入Windows的用户、也就是您将用来启动bbs服务的用户的信息。
【 在 虫虫vim (虫虫) 的大作中提到: 】
: 本人安装ythtbbs在linux9上边,安装过程如下
: 以bbs用户登入系统;
: $ cd /home/bbs/bbssrc/software
: $ make installfcgidev
: $ make installghthash
: $ cd /home/bbs/bbssrc/site
: $ cp bbsconfig.sample bbsconfig.mybbs (修改信息)
: ...................
--
FROM 218.197.192.163
这个做了修改的!
【 在 ASHOW 的大作中提到: 】
: 注意bbsconfig文件中,LAST_BBS_UID、LAST_BBS_GID和LAST_BBS_USER请查询/etc/passwd 文件获得,填入当前登入Windows的用户、也就是您将用来启动bbs服务的用户的信息。
: 【 在 虫虫vim (虫虫) 的大作中提到: 】
: : 本人安装ythtbbs在linux9上边,安装过程如下
: : 以bbs用户登入系统;
: (以下引言省略...)
--
FROM 202.201.20.50
【 在 虫虫vim (虫虫) 的大作中提到: 】
: 本人安装ythtbbs在linux9上边,安装过程如下
: 以bbs用户登入系统;
: $ cd /home/bbs/bbssrc/software
: $ make installfcgidev
: $ make installghthash
上面这两步要用 root 来。
: $ cd /home/bbs/bbssrc/site
: $ cp bbsconfig.sample bbsconfig.mybbs (修改信息)
: ...................
--
FROM 218.194.254.33
没错,看来是安装过得,不用root这两步就过不去!
还有没有什么地方有问题,请指教,谢谢!
【 在 dgwang 的大作中提到: 】
: 【 在 虫虫vim (虫虫) 的大作中提到: 】
: : 本人安装ythtbbs在linux9上边,安装过程如下
: : 以bbs用户登入系统;
: : $ cd /home/bbs/bbssrc/software
: : $ make installfcgidev
: : $ make installghthash
: 上面这两步要用 root 来。
: (以下引言省略...)
--
FROM 202.201.20.50
如果用linux下面的安装 执行shminit的用户的uid要和bbsconfig里面的一样
【 在 虫虫vim (虫虫) 的大作中提到: 】
: 没错,看来是安装过得,不用root这两步就过不去!
: 还有没有什么地方有问题,请指教,谢谢!
: 【 在 dgwang 的大作中提到: 】
: : 【 在 虫虫vim (虫虫) 的大作中提到: 】
: : 上面这两步要用 root 来。
: : (以下引言省略...)
--
FROM 211.155.251.247
[bbs@BBS bbs]$ ./bin/shminit
resource(s) deleted
resource(s) deleted
clear old shm...ok
creating bcache shm...ok
creating ucachehash shm...ok
creating utmp shm ...oops, shminit failed, please clear all shm and retry
【 在 dinger 的大作中提到: 】
: 如果用linux下面的安装 执行shminit的用户的uid要和bbsconfig里面的一样
: 【 在 虫虫vim (虫虫) 的大作中提到: 】
: : 没错,看来是安装过得,不用root这两步就过不去!
: : 还有没有什么地方有问题,请指教,谢谢!
--
FROM 202.201.20.50
bbsconfig最大在线人数设太大了
超出了共享内存允许最大值
【 在 虫虫vim (虫虫) 的大作中提到: 】
: [bbs@BBS bbs]$ ./bin/shminit
: resource(s) deleted
: resource(s) deleted
: clear old shm...ok
: creating bcache shm...ok
: creating ucachehash shm...ok
: creating utmp shm ...oops, shminit failed, please clear all shm and retry
: ...................
--
FROM 211.155.251.247