- 主题:kbs_bbs 安装成功后(?) telnet时的问题!
昨天,按照kbs_bbs/doc/INSTALL的说明安装了一下kbs_bbs,基本上一切顺利,最后登录时碰到一点问题是:
root@1[root]# telnet localhost
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Connection closed by foreign host.
qterm登录时也登录不上
我用的系统是debian0.6桌面版。先下载apache_1.3.9和php-4.4.0,然后按照kbs_bbs/doc/INSTALL里的参数和说明configure的,安装时无问题。但是我还没有尝试www登录~
cvs 时也无问题
过程大概是:
export CVSROOT=:pserver:bbsdev@cvs.kcn.cn:/home/cvs
cvs co kbs_bbs
cvs co bbshome
cd kbs_bbs
./autogen.sh
bbs按照kbs_bbs/doc/INSTALL安装成功
似乎liangls (精灵射手)也碰到过此问题,不知道他是怎么解决成功的?~~~
http://www.smth.org/bbstcon.php?board=BBSMan_Dev&gid=50134&start=50134
http://www.smth.org/bbstcon.php?board=BBSMan_Dev&gid=50046&start=50046
但是我的好像并不存在权限问题?
我用了绝对路径的阿?chown -R bbs:bbs /home/bbs
root@1[bbs]# ls -a -l
总用量 2000
drwxr-sr-x 27 bbs bbs 1712 2005-08-04 15:02 .
drwxrwsr-x 10 root staff 256 2005-08-04 00:00 ..
-rw-r--r-- 1 bbs bbs 1730 2005-08-04 00:02 acinclude.m4
-rw-r--r-- 1 bbs bbs 215663 2005-08-04 00:02 aclocal.m4
-rw-r--r-- 1 bbs bbs 234 2005-08-04 00:02 AUTHORS
-rwxr-xr-x 1 bbs bbs 77 2005-08-04 00:02 autogen.sh
drwxr-sr-x 2 bbs bbs 120 2005-08-04 00:02 autom4te.cache
-rw------- 1 bbs bbs 17 2005-08-04 15:02 .bash_history
drwxr-sr-x 13 bbs bbs 592 2005-08-04 00:02 bbs2www
-rw-r--r-- 1 bbs bbs 1896 2005-08-04 00:02 bbs2www.in
drwxr-sr-x 2 bbs bbs 1816 2005-08-04 00:01 bin
drwxr-sr-x 3 bbs bbs 72 2005-08-04 00:02 boards
-rw-r--r-- 1 bbs bbs 0 2005-08-04 00:02 ChangeLog
-rwxr-xr-x 1 bbs bbs 2774 2005-08-04 00:02 compile
-rwxr-xr-x 1 bbs bbs 43830 2005-08-04 00:02 config.guess
-rw-r--r-- 1 bbs bbs 12210 2005-08-04 00:02 config.h
-rw-r--r-- 1 bbs bbs 11582 2005-08-04 00:02 config.h.in
-rw-r--r-- 1 bbs bbs 729 2005-08-04 00:02 config.icc
-rw-r--r-- 1 bbs bbs 5965 2005-08-04 00:02 config.lib
-rw-r--r-- 1 bbs bbs 129937 2005-08-04 00:02 config.log
-rwxr-xr-x 1 bbs bbs 64926 2005-08-04 00:02 config.status
-rwxr-xr-x 1 bbs bbs 31544 2005-08-04 00:02 config.sub
-rwxr-xr-x 1 bbs bbs 973773 2005-08-04 00:02 configure
-rw-r--r-- 1 bbs bbs 5291 2005-08-04 00:02 configure.ac
drwxr-sr-x 8 bbs bbs 568 2005-08-04 00:02 contrib
-rw-r--r-- 1 bbs bbs 251 2005-08-04 00:02 COPYING
-rwxr-xr-- 1 bbs bbs 17992 2005-08-04 00:02 COPYING.GPL
drwxr-sr-x 2 bbs bbs 160 2005-08-04 00:02 CVS
-rw-r--r-- 1 bbs bbs 57 2005-08-04 00:02 .cvsignore
drwxr-sr-x 5 bbs bbs 688 2005-08-04 00:02 daemon
drwxr-sr-x 3 bbs bbs 616 2005-08-04 00:02 doc
-rwxr-xr-x 1 bbs bbs 703 2005-08-04 00:02 filter.sh
drwxr-sr-x 5 bbs bbs 120 2005-08-04 00:02 game
drwxr-sr-x 28 bbs bbs 672 2005-08-04 00:02 home
-rw-r--r-- 1 bbs bbs 25 2005-08-04 00:02 INSTALL
drwxr-sr-x 3 bbs bbs 784 2005-08-04 00:02 lib
drwxr-sr-x 5 bbs bbs 2312 2005-08-04 00:02 libBBS
drwxr-sr-x 5 bbs bbs 1200 2005-08-04 00:02 libsystem
-rwxr-xr-x 1 bbs bbs 204187 2005-08-04 00:02 libtool
drwxr-sr-x 6 bbs bbs 5416 2005-08-04 00:02 local_utl
-rw-r--r-- 1 bbs bbs 184058 2005-08-04 00:02 ltmain.sh
drwxr-sr-x 28 bbs bbs 672 2005-08-04 00:02 mail
drwxr-sr-x 5 bbs bbs 728 2005-08-04 00:02 mail2bbs
-rwxr-xr-x 1 bbs bbs 783 2005-08-04 00:02 makedist.sh
-rw-r--r-- 1 bbs bbs 12697 2005-08-04 00:02 Makefile
-rw-r--r-- 1 bbs bbs 823 2005-08-04 00:02 Makefile.am
-rw-r--r-- 1 bbs bbs 12819 2005-08-04 00:02 Makefile.in
-rw-r--r-- 1 bbs bbs 0 2005-08-04 00:02 NEWS
-rw-r--r-- 1 bbs bbs 17 2005-08-04 00:02 README
drwxr-sr-x 5 bbs bbs 832 2005-08-04 00:02 rzsz
drwxr-sr-x 9 bbs bbs 4072 2005-08-04 00:02 service
drwxr-sr-x 3 bbs bbs 904 2005-08-04 00:02 site
drwxr-sr-x 5 bbs bbs 3568 2005-08-04 00:02 src
-rw-r--r-- 1 bbs bbs 10 2005-08-04 00:02 stamp-h
-rw-r--r-- 1 bbs bbs 10 2005-08-04 00:02 stamp-h.in
drwxr-sr-x 3 bbs bbs 184 2005-08-04 00:02 test
drwxr-sr-x 8 bbs bbs 208 2005-08-04 00:02 tmp
drwxr-sr-x 2 bbs bbs 80 2005-08-04 00:15 var
drwxr-sr-x 2 bbs bbs 48 2005-08-04 00:02 vote
-rwxr-xr-x 1 bbs bbs 1257 2005-08-04 00:02 wrapper.sh
-rwxr-xr-x 1 bbs bbs 1253 2005-08-04 00:02 wrapper.sh.in
drwxr-sr-x 2 bbs bbs 48 2005-08-04 00:02 xml
netstat -an结果为:
root@1[root]# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:23 127.0.0.1:32773 TIME_WAIT
tcp 0 0 127.0.0.1:23 127.0.0.1:32774 TIME_WAIT
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::25 :::* LISTEN
请各位高手看看这个问题应该怎么解决?
先谢过各位牛人了~
ps:安装了的软件有:
apt-get install mysql-server libssl0.9.6 libssl-dev php4-domxml flex
libmysqlclient10-dev libgd2 libgd2-dev php4-gd2 libjpeg62
libjpeg62-dev libjpeg-progs libpng-dev libfreetype6 libfreetype6-dev zlib1g zlib1g-dev
libiconv-ruby libxml2 libxml2-dev libgmp3 libgmp3-dev libtool libesmtp5
libesmtp-dev openssl cvs libghthash-dev libmysqlclient10-dev libfcgi-dev libgd2-dev
--
修改:totallytt FROM 61.178.133.*
FROM 61.178.133.*
root执行ipcs贴结果
【 在 totallytt (猪猪傲) 的大作中提到: 】
: 昨天,按照kbs_bbs/doc/INSTALL的说明安装了一下kbs_bbs,基本上一切顺利,最后登录时碰到一点问题是:
: root@1[root]# telnet localhost
: Trying 127.0.0.1...
: ...................
--
FROM 128.12.181.*
呵呵,高手出现的真快~
【 在 atppp (Big Mouse) 的大作中提到: 】
: root执行ipcs贴结果
root@1[bbs]# ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000001 32768 root 600 655360 2
0x00000000 65537 root 600 393216 2 dest
0x00000000 98306 root 600 393216 2 dest
0x00000000 131075 root 600 393216 2 dest
0x00000000 163844 root 600 393216 2 dest
0x00000000 196613 root 600 393216 2 dest
0x00000000 229382 root 600 393216 2 dest
0x00000000 360455 root 600 393216 2 dest
0x00000000 688138 root 600 393216 2 dest
0x00000000 720907 root 600 12288 2 dest
0x00000000 753676 root 600 393216 2 dest
0x00000e74 655373 501 660 1024 1
0x00000000 851982 root 600 393216 2 dest
0x00000000 884751 root 600 393216 2 dest
0x00000000 917520 root 600 12288 2 dest
0x00000000 950289 root 600 12288 2 dest
0x00000000 983058 root 600 393216 2 dest
0x00000000 1015827 root 600 393216 2 dest
0x00000000 1048596 root 600 393216 2 dest
0x00000000 1081365 root 600 393216 2 dest
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
--
FROM 61.178.133.*
要考虑的真多啊
防不胜防啊!
【 在 atppp (Big Mouse) 的大作中提到: 】
: root执行ipcs贴结果
--
FROM 222.88.140.*
0x00000e74 655373 501 660 1024 1
id=501
你的site.h很可能定义了BBSUID是501,但是你bbs用户的uid不是501
【 在 totallytt (猪猪傲) 的大作中提到: 】
: 呵呵,高手出现的真快~
: root@1[bbs]# ipcs
: ------ Shared Memory Segments --------
: ...................
--
FROM 128.12.181.*
【 在 atppp (Big Mouse) 的大作中提到: 】
: 0x00000e74 655373 501 660 1024 1
: id=501
: 你的site.h很可能定义了BBSUID是501,但是你bbs用户的uid不是501
id=501的问题已经改好,但telnet时又出现
root@1[bin]# telnet localhost
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
并且没有登录界面,请问这个是因为没有安装成功的缘故吗?
--
FROM 61.178.130.*
【 在 totallytt (猪猪傲) 的大作中提到: 】
: id=501的问题已经改好,但telnet时又出现
: root@1[bin]# telnet localhost
: Trying 127.0.0.1...
: ...................
5~5~
没有人知道该怎么办吗?
--
FROM 61.178.134.*
改好以后需要重新编译阿
【 在 totallytt (猪猪傲) 的大作中提到: 】
: id=501的问题已经改好,但telnet时又出现
: root@1[bin]# telnet localhost
: Trying 127.0.0.1...
: ...................
--
FROM 211.87.212.*
【 在 roryliu (豆子) 的大作中提到: 】
: 改好以后需要重新编译阿
呵呵,我把原来的/home/bbs删掉,又重新configure了一个,还是这样子的,而且机器也重启了的~
--
FROM 61.178.134.*
不用删除,是的GID,UID和本地的BBS的ID是一致的吗?
【 在 totallytt (猪猪傲) 的大作中提到: 】
: 呵呵,我把原来的/home/bbs删掉,又重新configure了一个,还是这样子的,而且机器也重启了的~
--
FROM 211.155.136.*