- 主题:telnet不上去
已经重启过一次了
[bbs@localhost bbs]$ telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
可能是什么原因呢?
--
FROM 202.108.12.*
运行了
[root@localhost bin]# ./miscd daemon
[root@localhost bin]# ./bbslogd
[root@localhost bin]# ./bbsd -p 23
A bbsd on 23 already running!
[root@localhost bin]# telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
[root@localhost bin]#
【 在 JulyClyde (七月) 的大作中提到: 】
: 运行bbsd了吗?
--
FROM 202.108.12.*
[root@localhost bbs]# cat error.log
[06/15 14:47:36 6460 3.error] (unknown user) build sysconf.img
[06/15 14:47:36 6460 3.system] (unknown user) Can't open etc/titlefile No s
uch file or directory
[06/15 14:47:36 6460 3.system] (unknown user) UCACHE:load uhashgen.dat fail
[06/15 14:47:36 6463 3.system] (unknown user) mysql connect error:Can't con
nect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[06/15 14:47:36 6480 3.system] (unknown user) reload bcache!
[06/15 14:47:36 6481 3.system] (unknown user) reload bdircache!
[06/15 14:51:28 6619 4.system] (unknown user) load a exitist ucache shm!
[06/15 14:51:43 6628 3.system] (unknown user) mysql connect error:Can't con
nect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[06/15 14:53:12 6628 3.system] (unknown user) mysql log closed
[06/15 14:53:12 6463 3.system] (unknown user) mysql log closed
[06/15 14:53:12 6623 4.miscdaemon] (unknown user) flush passwd file
[06/15 14:53:12 6623 4.miscdaemon] (unknown user) flush passwd file
[06/15 14:55:41 3330 3.error] (unknown user) build sysconf.img
[06/15 14:55:41 3330 3.system] (unknown user) UCACHE:load uhashgen.dat fail
[06/15 14:55:41 3346 3.system] (unknown user) mysql connect error:Can't con
nect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[06/15 14:55:41 3351 3.system] (unknown user) reload bcache!
[06/15 14:55:41 3351 3.system] (unknown user) reload bdircache!
[06/15 15:06:39 3826 4.system] (unknown user) load a exitist ucache shm!
[06/15 15:06:43 3835 3.system] (unknown user) mysql connect error:Can't con
nect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[06/15 15:18:31 4228 4.system] (unknown user) load a exitist ucache shm!
[06/15 15:18:31 4231 3.system] (unknown user) userd:bind Address already in
use
[06/15 15:18:36 4237 3.system] (unknown user) mysql connect error:Can't con
nect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
【 在 jiangjun2000 (%d) 的大作中提到: 】
: 看看错误日志先
--
FROM 202.108.12.*
我不会看这个...
【 在 skybluee (skybluee) 的大作中提到: 】
: [root@localhost bbs]# cat error.log
: [06/15 14:47:36 6460 3.error] (unknown user) build sysconf.img
: [06/15 14:47:36 6460 3.system] (unknown user) Can't open etc/titlefile No s
: ...................
--
FROM 202.108.12.*
仍然不行,还是那个提示
【 在 jiangjun2000 (%d) 的大作中提到: 】
: ~~~~~~~~~~~~~touch一个试试
--
FROM 202.108.12.*
请教下,如何看?
【 在 JulyClyde (七月) 的大作中提到: 】
: 看防火墙
--
FROM 202.108.12.*
是free的代码,不是kbs的,但是结构是一样的,只是有的小地方,像游戏什么的,改了些
【 在 cztart.bbs@bbs.ustc.edu.cn (Reactionary) 的大作中提到: 】
: 最近没改过代码?
: 最后一行貌似是说mysql没开。。不过好象也不该影响bbsd启动啊。。
--
FROM 202.108.12.*
[root@localhost freebbs]# netstat -nltp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 127.0.0.1:2208 0.0.0.0:*
LISTEN 2229/hpiod
tcp 0 0 127.0.0.1:60001 0.0.0.0:*
LISTEN 3829/miscd
tcp 0 0 0.0.0.0:740 0.0.0.0:*
LISTEN 1830/rpc.statd
tcp 0 0 192.168.122.1:53 0.0.0.0:*
LISTEN 2673/dnsmasq
tcp 0 0 0.0.0.0:23 0.0.0.0:*
LISTEN 3349/bbsd
tcp 0 0 127.0.0.1:631 0.0.0.0:*
LISTEN 2251/cupsd
tcp 0 0 0.0.0.0:3000 0.0.0.0:*
LISTEN 3416/bbsd
tcp 0 0 127.0.0.1:25 0.0.0.0:*
LISTEN 2295/sendmail: acce
tcp 0 0 127.0.0.1:2207 0.0.0.0:*
LISTEN 2234/python
tcp 0 0 :::111 :::*
LISTEN 1791/rpcbind
tcp 0 0 :::22 :::*
LISTEN 2270/sshd
【 在 supertcy (像个孩子) 的大作中提到: 】
: 好像23端口被占了?
: netstat -nltp
--
FROM 202.108.12.*
bbs的uid:502,gid:503,都已经在站点文件里改了
改变属主也做了
【 在 jiangjun2000 (%d) 的大作中提到: 】
: 确定uid,gid啥的对么?
: 做过chown -R bbs:bbs bbs了么
--
FROM 202.108.12.*
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 root 644 40 2
0x00000000 32769 root 644 16384 2
0x00000000 65538 root 644 268 2
0x00000e74 98307 bbs 660 1092 16
0x00000e70 131076 bbs 660 6317252 10
0x00000e73 163845 bbs 660 3658200 0
0x00000e72 196614 bbs 660 56296 0
0x00000e6d 229383 bbs 660 1466372 10
0x00000e71 262152 bbs 660 99208 10
0x00001194 294921 bbs 660 4798384 10
------ Semaphore Arrays --------
key semid owner perms nsems
0x000000a7 0 root 666 1
------ Message Queues --------
key msqid owner perms used-bytes messages
0x00000888 0 bbs 664 0 0
【 在 atppp (Big Mouse) 的大作中提到: 】
: 运行ipcs贴结果
--
FROM 202.108.12.*