- 主题:ubuntu下kbs启动错误
终于安装完毕了。。
按照教程启动。。有两个问题
1.ssh启动失败 如下
2.ssh启动失败了 telnet也连不上么
请教各位了 谢谢!
kiki@ubuntu:~$ cd bbs/
kiki@ubuntu:~/bbs$ cd bin
kiki@ubuntu:~/bbs/bin$ ./miscd daemon
kiki@ubuntu:~/bbs/bin$ ./bbslogd
kiki@ubuntu:~/bbs/bin$ ./bbsd -p 23
kiki@ubuntu:~/bbs/bin$ ./sshbbsd -p 22
error: fatal: Could not load host key: etc/ssh_host_key. Check path and permissions.
kiki@ubuntu:~/bbs/bin$ cd ../www/bin/
kiki@ubuntu:~/bbs/www/bin$ ./apachectl start
[Sat Aug 21 00:21:48 2010] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
./apachectl start: httpd started
kiki@ubuntu:~/bbs/www/bin$
kiki@ubuntu:~/bbs/www/bin$ telnet localhost
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
kiki@ubuntu:~/bbs/www/bin$
--
修改:siper FROM 211.99.222.*
FROM 211.99.222.*
用root启动一下看看
【 在 siper (asonats) 的大作中提到: 】
: 终于安装完毕了。。
: 按照教程启动。。有两个问题
: 1.ssh启动失败 如下
: ...................
--
FROM 114.255.218.*
ubuntu下没有root啊
我用sudo也不行。。
kiki@ubuntu:~/bbs/bin$ sudo ./sshbbsd -p 22
error: fatal: Could not load host key: etc/ssh_host_key. Check path and permissions.
【 在 xfgavin (KarF) 的大作中提到: 】
: 用root启动一下看看
--
FROM 211.99.222.*
【 在 siper (asonats) 的大作中提到: 】
: ubuntu下没有root啊
~~~~~~~~~~~~~~~~~~~~~。。。。。。
: 我用sudo也不行。。
: kiki@ubuntu:~/bbs/bin$ sudo ./sshbbsd -p 22
~~~~~~~~~~~~~~~~~~~~这是你的ssh key没弄好,先telnetd试试吧
: ...................
--
FROM 114.255.218.*
目前ssh_host_key文件的目录是 /home/kiki/bbs/etc
我用gedit也打不开。。
【 在 siper (asonats) 的大作中提到: 】
: ubuntu下没有root啊
: 我用sudo也不行。。
: kiki@ubuntu:~/bbs/bin$ sudo ./sshbbsd -p 22
: ...................
--
FROM 211.99.222.*
1. <1024端口应该用什么用户启动?
2. INSTALL.ssh
【 在 siper (asonats) 的大作中提到: 】
: 终于安装完毕了。。
: 按照教程启动。。有两个问题
: 1.ssh启动失败 如下
: ...................
--
FROM 123.116.112.*
百度了以下。。ssh终于起来了 密码不填就行 但还是连不上。。汗
kiki@ubuntu:~/bbs/bin$ ./sshbbsd -p 22
kiki@ubuntu:~/bbs/bin$ telnet localhost
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
百度得知:
试一下keygen的时候别打密码,看看?我也遇过这个问题,就是不打密码才能正常运行的,不知道为什么
【 在 fancyrabbit (fancy★岁月静好现世安稳) 的大作中提到: 】
: 1. <1024端口应该用什么用户启动?
: 2. INSTALL.ssh
--
FROM 211.99.222.*
确认bbsd和sshbbsd进程正常起来了么?
确认23和22端口没有其他进程占用么?
确定防火墙打开了该类端口么?
【 在 siper (asonats) 的大作中提到: 】
: 百度了以下。。ssh终于起来了 密码不填就行 但还是连不上。。汗
: kiki@ubuntu:~/bbs/bin$ ./sshbbsd -p 22
: kiki@ubuntu:~/bbs/bin$ telnet localhost
: ...................
--
FROM 123.116.112.*
兔总 我是在win7下vmware虚拟机下的ubuntu上装的kbs
如下启动bbsd和sshbbsd。。查一下好像只有sshbbsd起来了 bbsd没起来
请问要怎么起bbsd啊
kiki@ubuntu:~/bbs/bin$ sudo ./bbsd -p 23
kiki@ubuntu:~/bbs/bin$ sudo ./sshbbsd -p 22
kiki@ubuntu:~/bbs/bin$ ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 00:56 ? 00:00:01 /sbin/init
root 2 0 0 00:56 ? 00:00:00 [kthreadd]
root 3 2 0 00:56 ? 00:00:00 [migration/0]
root 4 2 0 00:56 ? 00:00:00 [ksoftirqd/0]
root 5 2 0 00:56 ? 00:00:00 [watchdog/0]
root 6 2 0 00:56 ? 00:00:00 [events/0]
root 7 2 0 00:56 ? 00:00:00 [cpuset]
root 8 2 0 00:56 ? 00:00:00 [khelper]
root 9 2 0 00:56 ? 00:00:00 [netns]
root 10 2 0 00:56 ? 00:00:00 [async/mgr]
root 11 2 0 00:56 ? 00:00:00 [kintegrityd/0]
root 12 2 0 00:56 ? 00:00:00 [kblockd/0]
root 13 2 0 00:56 ? 00:00:00 [kacpid]
root 14 2 0 00:56 ? 00:00:00 [kacpi_notify]
root 15 2 0 00:56 ? 00:00:00 [kacpi_hotplug]
root 16 2 0 00:56 ? 00:00:00 [ata/0]
root 17 2 0 00:56 ? 00:00:00 [ata_aux]
root 18 2 0 00:56 ? 00:00:00 [ksuspend_usbd]
root 19 2 0 00:56 ? 00:00:00 [khubd]
root 20 2 0 00:56 ? 00:00:00 [kseriod]
root 21 2 0 00:56 ? 00:00:00 [kmmcd]
root 22 2 0 00:56 ? 00:00:00 [bluetooth]
root 23 2 0 00:56 ? 00:00:00 [khungtaskd]
root 24 2 0 00:56 ? 00:00:00 [pdflush]
root 25 2 0 00:56 ? 00:00:00 [pdflush]
root 26 2 0 00:56 ? 00:00:00 [kswapd0]
root 27 2 0 00:56 ? 00:00:00 [aio/0]
root 28 2 0 00:56 ? 00:00:00 [ecryptfs-kthrea]
root 29 2 0 00:56 ? 00:00:00 [crypto/0]
root 32 2 0 00:56 ? 00:00:00 [pciehpd]
root 34 2 0 00:56 ? 00:00:00 [scsi_eh_0]
root 35 2 0 00:56 ? 00:00:00 [scsi_eh_1]
root 37 2 0 00:56 ? 00:00:00 [kstriped]
root 38 2 0 00:56 ? 00:00:00 [kmpathd/0]
root 39 2 0 00:56 ? 00:00:00 [kmpath_handlerd]
root 40 2 0 00:56 ? 00:00:00 [ksnapd]
root 41 2 0 00:56 ? 00:00:00 [kondemand/0]
root 42 2 0 00:56 ? 00:00:00 [kconservative/0]
root 43 2 0 00:56 ? 00:00:00 [krfcommd]
root 219 2 0 00:56 ? 00:00:00 [mpt_poll_0]
root 220 2 0 00:56 ? 00:00:00 [mpt/0]
root 261 2 0 00:56 ? 00:00:00 [scsi_eh_2]
root 342 2 0 00:56 ? 00:00:00 [kjournald2]
root 404 1 0 00:56 ? 00:00:00 upstart-udev-bridge --daemon
root 407 1 0 00:56 ? 00:00:00 udevd --daemon
root 552 407 0 00:56 ? 00:00:00 udevd --daemon
root 553 407 0 00:56 ? 00:00:00 udevd --daemon
root 650 2 0 00:56 ? 00:00:00 [kpsmoused]
root 656 1 0 00:56 ? 00:00:00 dd bs=1 if=/proc/kmsg of=/var/ru
root 724 2 0 00:56 ? 00:00:00 [kgameportd]
syslog 782 1 0 00:56 ? 00:00:00 rsyslogd -c4
102 840 1 0 00:56 ? 00:00:00 dbus-daemon --system --fork
root 847 1 0 00:56 tty4 00:00:00 /sbin/getty -8 38400 tty4
root 850 1 0 00:56 tty5 00:00:00 /sbin/getty -8 38400 tty5
root 855 1 0 00:56 tty2 00:00:00 /sbin/getty -8 38400 tty2
root 856 1 0 00:56 tty3 00:00:00 /sbin/getty -8 38400 tty3
root 858 1 0 00:56 tty6 00:00:00 /sbin/getty -8 38400 tty6
root 860 1 0 00:56 ? 00:00:00 acpid -c /etc/acpi/events -s /va
daemon 866 1 0 00:56 ? 00:00:00 atd
root 867 1 0 00:56 ? 00:00:00 cron
107 868 1 0 00:56 ? 00:00:00 hald --daemon=yes
root 869 1 0 00:56 ? 00:00:00 gdm-binary
avahi 886 1 0 00:56 ? 00:00:00 avahi-daemon: running [ubuntu.lo
avahi 887 886 0 00:56 ? 00:00:00 avahi-daemon: chroot helper
root 888 1 0 00:56 ? 00:00:00 /usr/sbin/console-kit-daemon
root 951 868 0 00:56 ? 00:00:00 hald-runner
root 1017 869 0 00:56 ? 00:00:00 /usr/lib/gdm/gdm-simple-slave --
root 1018 1017 3 00:56 tty7 00:00:20 /usr/bin/X :0 -br -verbose -auth
root 1019 1 0 00:56 ? 00:00:00 NetworkManager
root 1027 1 0 00:56 ? 00:00:00 /usr/sbin/modem-manager
root 1045 951 0 00:56 ? 00:00:00 hald-addon-storage: polling /dev
root 1046 951 0 00:56 ? 00:00:00 hald-addon-storage: no polling o
107 1049 951 0 00:56 ? 00:00:00 hald-addon-acpi: listening on ac
root 1050 951 0 00:56 ? 00:00:00 hald-addon-input: Listening on /
root 1053 1 0 00:56 ? 00:00:00 /sbin/wpa_supplicant -u -s
root 1054 1019 0 00:56 ? 00:00:00 /sbin/dhclient -d -sf /usr/lib/N
root 1187 2 0 00:56 ? 00:00:00 [vmmemctl]
root 1370 1 0 00:56 ? 00:00:00 /usr/sbin/vmtoolsd
root 1430 1 0 00:56 ? 00:00:00 /usr/sbin/cupsd -C /etc/cups/cup
gdm 1503 1 0 00:56 ? 00:00:00 /usr/bin/dbus-launch --exit-with
root 1513 1 0 00:56 ? 00:00:00 /usr/lib/devicekit-power/devkit-
kernoops 1577 1 0 00:56 ? 00:00:00 /usr/sbin/kerneloops
root 1656 1017 0 00:56 ? 00:00:00 /usr/lib/gdm/gdm-session-worker
kiki 1691 1 0 00:56 ? 00:00:00 /usr/bin/gnome-keyring-daemon --
kiki 1706 1656 0 00:56 ? 00:00:00 gnome-session
kiki 1748 1706 0 00:56 ? 00:00:00 /usr/bin/ssh-agent /usr/bin/dbus
kiki 1751 1 0 00:56 ? 00:00:00 /bin/dbus-daemon --fork --print-
kiki 1752 1 0 00:56 ? 00:00:00 /usr/bin/dbus-launch --exit-with
kiki 1756 1 0 00:56 ? 00:00:00 /usr/bin/pulseaudio --start
kiki 1759 1756 0 00:56 ? 00:00:00 /usr/lib/pulseaudio/pulse/gconf-
kiki 1761 1 0 00:56 ? 00:00:00 /usr/lib/libgconf2-4/gconfd-2
kiki 1773 1 0 00:56 ? 00:00:00 seahorse-daemon
kiki 1778 1 0 00:56 ? 00:00:00 /usr/lib/gvfs/gvfsd
kiki 1782 1 0 00:56 ? 00:00:00 /usr/lib/notify-osd/notify-osd
kiki 1785 1 0 00:56 ? 00:00:00 /usr/lib/gvfs//gvfs-fuse-daemon
kiki 1790 1706 0 00:56 ? 00:00:00 /usr/bin/metacity --replace
kiki 1828 1706 0 00:56 ? 00:00:01 gnome-panel
kiki 1829 1706 0 00:56 ? 00:00:02 nautilus
kiki 1831 1 0 00:56 ? 00:00:00 /usr/lib/bonobo-activation/bonob
kiki 1835 1706 0 00:56 ? 00:00:00 bluetooth-applet
kiki 1836 1 0 00:56 ? 00:00:00 /usr/lib/vmware-tools/bin32/vmwa
kiki 1839 1706 0 00:57 ? 00:00:00 /usr/lib/policykit-1-gnome/polki
kiki 1845 1706 0 00:57 ? 00:00:00 nm-applet --sm-disable
kiki 1846 1706 0 00:57 ? 00:00:00 gnome-power-manager
kiki 1850 1 0 00:57 ? 00:00:00 /usr/lib/gnome-applets/trashappl
kiki 1851 1706 0 00:57 ? 00:00:00 python /usr/share/system-config-
kiki 1854 1 0 00:57 ? 00:00:00 /usr/lib/gvfs/gvfs-gdu-volume-mo
kiki 1855 1706 0 00:57 ? 00:00:00 update-notifier --startup-delay=
kiki 1856 1706 0 00:57 ? 00:00:00 /usr/lib/evolution/2.28/evolutio
kiki 1861 1706 0 00:57 ? 00:00:00 /usr/lib/gnome-disk-utility/gdu-
kiki 1862 1706 0 00:57 ? 00:00:00 gnome-volume-control-applet
root 1864 1 0 00:57 ? 00:00:00 /usr/lib/devicekit-disks/devkit-
root 1866 1864 0 00:57 ? 00:00:00 devkit-disks-daemon: polling /de
kiki 1870 1 0 00:57 ? 00:00:00 gnome-screensaver
kiki 1872 1 0 00:57 ? 00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volum
root 1874 1 0 00:57 ? 00:00:00 /usr/lib/policykit-1/polkitd
kiki 1878 1 0 00:57 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spaw
kiki 1894 1 0 00:57 ? 00:00:00 /usr/lib/indicator-applet/indica
kiki 1898 1 0 00:57 ? 00:00:00 /usr/lib/indicator-applet/indica
kiki 1903 1 0 00:57 ? 00:00:00 /usr/lib/indicator-session/indic
kiki 1905 1 0 00:57 ? 00:00:00 /usr/lib/indicator-session/indic
kiki 1907 1 0 00:57 ? 00:00:00 /usr/lib/indicator-session/indic
kiki 1909 1 0 00:57 ? 00:00:00 /usr/lib/indicator-messages/indi
kiki 1911 1 0 00:57 ? 00:00:00 /usr/lib/gvfs/gvfsd-metadata
kiki 1913 1 0 00:57 ? 00:00:00 /usr/lib/gvfs/gvfsd-burn --spawn
kiki 1924 1 0 00:57 ? 00:00:02 gnome-terminal
kiki 1925 1924 0 00:57 ? 00:00:00 gnome-pty-helper
kiki 1926 1924 0 00:57 pts/0 00:00:00 bash
kiki 1958 1 0 00:57 ? 00:00:00 gedit /home/kiki/KBS 在 ubuntu 8
root 1965 1 0 00:57 ? 00:00:00 sendmail: MTA: accepting connect
root 2114 1 0 00:57 tty1 00:00:00 /sbin/getty -8 38400 tty1
kiki 2174 1 0 01:00 ? 00:00:00 ./miscd timed
kiki 2175 2174 0 01:00 ? 00:00:00 ./miscd killd
kiki 2176 2175 0 01:00 ? 00:00:00 ./miscd userd
kiki 2177 2176 0 01:00 ? 00:00:00 ./miscd flushd
kiki 2182 1 0 01:00 ? 00:00:00 ./bbslogd
kiki 2224 1 0 01:01 ? 00:00:00 /home/kiki/bbs/www/bin/httpd
kiki 2225 2224 0 01:01 ? 00:00:00 /home/kiki/bbs/www/bin/httpd
kiki 2226 2224 0 01:01 ? 00:00:00 /home/kiki/bbs/www/bin/httpd
kiki 2227 2224 0 01:01 ? 00:00:00 /home/kiki/bbs/www/bin/httpd
kiki 2228 2224 0 01:01 ? 00:00:00 /home/kiki/bbs/www/bin/httpd
kiki 2229 2224 0 01:01 ? 00:00:00 /home/kiki/bbs/www/bin/httpd
501 2243 1 0 01:02 ? 00:00:00 ./sshbbsd -p 22
kiki 2284 1926 0 01:06 pts/0 00:00:00 ps -ef
kiki@ubuntu:~/bbs/bin$
【 在 fancyrabbit (fancy★岁月静好现世安稳) 的大作中提到: 】
: 确认bbsd和sshbbsd进程正常起来了么?
: 确认23和22端口没有其他进程占用么?
: 确定防火墙打开了该类端口么?
: ...................
--
FROM 211.99.222.*
kcn上的how-to确定仔细看了???
你不起telnetd那怎么能telnet成功呢?
不用root怎么能起这俩呢?如果你想在默认端口绑定的话
【 在 siper (asonats) 的大作中提到: 】
: 百度了以下。。ssh终于起来了 密码不填就行 但还是连不上。。汗
: kiki@ubuntu:~/bbs/bin$ ./sshbbsd -p 22
: kiki@ubuntu:~/bbs/bin$ telnet localhost
: ...................
--
FROM 114.255.218.*