- 主题:after i make install...
./configure --prefix=/usr/local/bbs --disable-www --disable-ssh
make
make install
make install-home
sh makedist.sh /usr/local/bbs
makedist.sh: line 14: cd: bbshome: 没有那个文件或目录
what bbshome in makedist mean?
--
FROM 211.69.195.*
final step,sigh
./bbsd -p 2300
telnet 127.0.0.1 2300
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
#netstat -a|grep bbsd
//nothing
#
【 在 lotusin (跟着水木一条道走到黑) 的大作中提到: 】
: 在smth_bbs目录下,cvs co bbshome
--
修改:hustjby FROM 211.69.195.*
FROM 211.69.195.*
不装web和ssh的configure参数是不是那样的?
./configure --prefix=/usr/local/bbs --disable-web --disable-ssh
【 在 flyriver (江~~请假闭关中) 的大作中提到: 】
: 重新弄一次吧,把 /usr/local/bbs 删掉,然后严格按照 INSTALL 说的做一遍。
--
修改:hustjby FROM 211.67.31.*
FROM 211.67.31.*
./configure --prefix=/usr/local/bbs --disable-www
make
make install
make install-home
chown -R bbs:bbs /usr/local/bbs
//no error returned
./miscd daemon
./bbslogd
./bbsd -p 2300
# telnet localhost 2300
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
#netstat -a |grep bbsd
//still nothing
#
en,can you give any suggestion?
【 在 flyriver (江~~请假闭关中) 的大作中提到: 】
: 重新弄一次吧,把 /usr/local/bbs 删掉,然后严格按照 INSTALL 说的做一遍。
--
修改:hustjby FROM 211.69.195.*
FROM 211.69.195.*
sorry,i typed it wrong
the bbs groupid and userid are 503,and i changed it in site/devel.h
now i can see the port listening
#./bbsd -p 6541
# netstat -a|grep 6541
tcp 0 0 *:6541 *:* LISTEN
# telnet 127.0.0.1 6541
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
【 在 newer (妞儿/牛2) 的大作中提到: 】
: chown -R bbs:bbs /usr/local/bbs
--
修改:hustjby FROM 211.69.195.*
FROM 211.69.195.*
# ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 32768 root 777 196608 2 dest
0x00000000 557057 root 644 98304 2 dest
0x00000e74 753666 9999 660 1024 3
0x00000000 786435 root 777 196608 2 dest
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
???
【 在 newer (妞儿/牛2) 的大作中提到: 】
: 把ipcs帖上来?
--
FROM 211.69.195.*
i did it,it seems the same:(
#ipcrm
./miscd daemon
# ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 32768 root 777 196608 2 dest
0x00000000 557057 root 644 98304 2 dest
0x00000e74 753666 9999 660 1024 3
0x00000000 786435 root 777 196608 2 dest
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
【 在 newer (妞儿/牛2) 的大作中提到: 】
: 用ipcrm将这些东西都清掉
: 然后再
: miscd daemon
: ...................
--
FROM 211.69.195.*
usage: ipcrm [ [-q msqid] [-m shmid] [-s semid]
[-Q msgkey] [-M shmkey] [-S semkey] ... ]
[root@hustraid bin]# ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 32768 root 777 196608 2 dest
0x00000000 557057 root 644 98304 2 dest
0x00000e74 753666 9999 660 1024 3
0x00000000 786435 root 777 196608 2 dest
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
what key should i enter as a arg?
ipcrm -M 0x00000000
ipcrm: illegal key (0x00000000)
u mean if the miscd process is runing should be checked?why not us ps cmd?:)
sorry for stupid question
【 在 newer (妞儿/牛2) 的大作中提到: 】
: 用ipcrm将这些东西都清掉
: 然后再
: miscd daemon
: ...................
--
FROM 211.69.195.*
#chown -R bbs:bbs bbs
#cd /bbs/bin
#./miscd daemon
# ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 32768 root 777 196608 2 dest
0x00000000 557057 root 644 98304 2 dest
0x00000e74 983042 9999 660 1024 0
0x00000000 786435 root 777 196608 2 dest
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
【 在 newer (妞儿/牛2) 的大作中提到: 】
: 哦对了
: 你先
: killall -9 miscd
: ...................
--
FROM 211.69.195.*
ps -A |grep miscd
why there is not this process?
【 在 hustjby (鹿杖客&&MiniCouper@白云黄鹤) 的大作中提到: 】
: #chown -R bbs:bbs bbs
: #cd /bbs/bin
: #./miscd daemon
: ...................
--
FROM 211.69.195.*