免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4403 | 回复: 10
打印 上一主题 下一主题

求助:error: Bind to port 22 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-26 11:39 |只看该作者 |倒序浏览
Jun  6 09:53:52 BJ1         rev 2.2 FEPS chip
Jun  6 09:53:52 BJ1 sbus: [ID 349649 kern.info] fas1 at sbus2: SBus2 slot 0x3 offset 0x8800000 and slot 0x3 offset 0x8810000 SBus level 3 sparc9 ipl 5
Jun  6 09:53:52 BJ1 genunix: [ID 936769 kern.info] fas1 is /sbus@7,0/SUNW,fas@3,8800000
Jun  6 09:53:53 BJ1 scsi: [ID 193665 kern.info] sd6 at fas0: target 6 lun 0
Jun  6 09:53:53 BJ1 genunix: [ID 936769 kern.info] sd6 is /sbus@3,0/SUNW,fas@3,8800000/sd@6,0
Jun  6 09:53:56 BJ1 sshd[367]: [ID 800047 auth.error] error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Jun  6 09:53:56 BJ1 sshd[367]: [ID 800047 auth.crit] fatal: Cannot bind any address.
Jun  6 09:53:59 BJ1 pseudo: [ID 129642 kern.info] pseudo-device: pm0
Jun  6 09:53:59 BJ1 genunix: [ID 936769 kern.info] pm0 is /pseudo/pm@0
Jun  6 09:54:50 BJ1 sendmail[233]: [ID 702911 mail.alert] unable to qualify my own domain name (BJ1) -- using short name
Jun  6 14:49:56 BJ1 genunix: [ID 540533 kern.notice] ^MSunOS Release 5.8 Version Generic_108528-09 64-bit
Jun  6 14:49:56 BJ1 genunix: [ID 913631 kern.notice] Copyright 1983-2001 Sun Microsystems, Inc.  All rights reserved.
Jun  6 14:49:56 BJ1 genunix: [ID 678236 kern.info] Ethernet address = 8:0:20:8a:fa:54
Jun  6 14:49:56 BJ1 unix: [ID 597320 kern.info] NOTICE: DR Kernel Cage is DISABLED
Jun  6 14:49:56 BJ1 unix: [ID 389951 kern.info] mem = 2097152K (0x80000000)
Jun  6 14:49:56 BJ1 unix: [ID 930857 kern.info] avail mem = 2040406016
Jun  6 14:49:56 BJ1 rootnex: [ID 466748 kern.info] root nexus = 5-slot Sun Enterprise E3500



请帮忙看一下下面的日志,是不是端口被占用?ssh很久以前就配置好的,一直在用,最近才出现异常。
重启服务器,没用多久就连不服务器。一直反复这样。日志中再无其它报错信息,如果出现error: Bind to port 22 这种提示,是否会导致SSH连接不上?系统上还不能执行任何命令,如:
# /usr/platform/sun4u/sbin/prtdiag -v
/usr/platform/sun4u/sbin/prtdiag: cannot execute

操作系统是solaris8

论坛徽章:
0
2 [报告]
发表于 2007-06-26 15:47 |只看该作者
如果是solaris 10
请查 /etc/init.d或/etc/rc2.d /etc/rc3.d目录下是否有脚本去自动运行ssh进程

如果有就干掉,solaris10自带了ssh并启动

论坛徽章:
0
3 [报告]
发表于 2007-06-26 17:04 |只看该作者
看看进程是不是多启动了一个.把多启动的哪个kill.

论坛徽章:
0
4 [报告]
发表于 2007-06-27 02:47 |只看该作者
Find out which process is using port 22:

If you have lsof installed, use lsof  -i:22

If you don't have lsof installed, use the following script to find out the process using the port.


  1. #!/usr/bin/bash

  2. echo -n "which port?> "
  3. read port

  4. for pid in `ps -ef -o pid | tail +2`
  5. do
  6.   foundport=`pfiles $pid 2>&1 | grep "sockname:" | grep "port: $port$"`
  7.   if [ "$foundport" != "" ]; then
  8.     echo "proc: $pid, $foundport"
  9.   fi
  10. done
复制代码

论坛徽章:
0
5 [报告]
发表于 2007-06-27 08:41 |只看该作者
rm /root/.ssh  类似目录,手动测试sshd是否能够起来,netstat看看port 22 是否被人占用

论坛徽章:
0
6 [报告]
发表于 2007-06-27 08:47 |只看该作者
原帖由 yuhuohu 于 2007-6-26 15:47 发表
如果是solaris 10
请查 /etc/init.d或/etc/rc2.d /etc/rc3.d目录下是否有脚本去自动运行ssh进程

如果有就干掉,solaris10自带了ssh并启动



系统是solaris8 这些地方都看过了,只有两个地方有自动运行脚本
/etc/init.d/sshd
/etc/rc3.d/S99StarSSHD -> /etc/init.d/sshd

这应该是正常的吧

其它地方还没找到与SSH有关的自动运行脚本

我又看了一下日志,从开机到出现error: Bind to port 22 提示间隔只有2分钟左右
但ssh早在半年前就配置好了,没人动过。

论坛徽章:
0
7 [报告]
发表于 2007-06-27 09:15 |只看该作者
原帖由 briangao 于 2007-6-27 02:47 发表
Find out which process is using port 22:

If you have lsof installed, use lsof  -i:22

If you don't have lsof installed, use the following script to find out the process using the port.

[co ...



没有安装lsof这软件

由于是客户的机器,现在还没联系上客户,等在客户机器上试过了,再回复

论坛徽章:
0
8 [报告]
发表于 2007-06-27 09:22 |只看该作者
另外,这个error: Bind to port 22 是在操作系统刚启动的时候提示的。
还可以ssh登陆上去

当系统运行几个小时之后,ORACLE应用会自动停止
任何命令都执行不了,如:
# /usr/platform/sun4u/sbin/prtdiag -v
/usr/platform/sun4u/sbin/prtdiag: cannot execute

最后只能人工重启服务器
不知道这是什么原因?以下是两次重启的日志,请帮忙看一下
Jun  6 09:51:52 BJ1 genunix: [ID 540533 kern.notice] ^MSunOS Release 5.8 Version Generic_108528-09 64-bit
Jun  6 09:51:52 BJ1 genunix: [ID 913631 kern.notice] Copyright 1983-2001 Sun Microsystems, Inc.  All rights reserved.
Jun  6 09:51:52 BJ1 genunix: [ID 678236 kern.info] Ethernet address = 8:0:20:8a:fa:54
Jun  6 09:51:52 BJ1 unix: [ID 597320 kern.info] NOTICE: DR Kernel Cage is DISABLED
Jun  6 09:51:52 BJ1 unix: [ID 389951 kern.info] mem = 1048576K (0x40000000)
Jun  6 09:51:52 BJ1 unix: [ID 930857 kern.info] avail mem = 1012563968
Jun  6 09:51:52 BJ1 rootnex: [ID 466748 kern.info] root nexus = 5-slot Sun Enterprise E3500
Jun  6 09:51:52 BJ1 rootnex: [ID 349649 kern.info] sbus0 at root: UPA 0x3 0x0 ...
Jun  6 09:51:52 BJ1 genunix: [ID 936769 kern.info] sbus0 is /sbus@3,0
Jun  6 09:51:52 BJ1 rootnex: [ID 349649 kern.info] sbus1 at root: UPA 0x6 0x0 ...
Jun  6 09:51:52 BJ1 genunix: [ID 936769 kern.info] sbus1 is /sbus@6,0
Jun  6 09:51:52 BJ1 rootnex: [ID 349649 kern.info] sbus2 at root: UPA 0x7 0x0 ...
Jun  6 09:51:52 BJ1 genunix: [ID 936769 kern.info] sbus2 is /sbus@7,0
Jun  6 09:51:52 BJ1 socal: [ID 403145 kern.info] ID[SUNWssa.socal.driver.1010] socal0: Downloading host adapter, fw date code: @(#)Thu May  4 18:52:02 2000
Jun  6 09:51:52 BJ1 sbus: [ID 349649 kern.info] socal0 at sbus0: SBus0 slot 0xd offset 0x10000 Onboard device sparc9 ipl 3
Jun  6 09:51:52 BJ1 genunix: [ID 936769 kern.info] socal0 is /sbus@3,0/SUNW,socal@d,10000
Jun  6 09:51:52 BJ1 socal: [ID 403145 kern.info] ID[SUNWssa.socal.driver.1010] socal1: Downloading host adapter, fw date code: @(#)Thu May  4 18:52:02 2000
Jun  6 09:51:52 BJ1 sbus: [ID 349649 kern.info] socal1 at sbus1: SBus1 slot 0xd offset 0x10000 Onboard device sparc9 ipl 3
Jun  6 09:51:52 BJ1 genunix: [ID 936769 kern.info] socal1 is /sbus@6,0/SUNW,socal@d,10000
Jun  6 09:51:52 BJ1 socal: [ID 139058 kern.info] sf0 at socal0: socal_port 0
Jun  6 09:51:52 BJ1 genunix: [ID 936769 kern.info] sf0 is /sbus@3,0/SUNW,socal@d,10000/sf@0,0
Jun  6 09:51:53 BJ1 socal: [ID 139058 kern.info] sf1 at socal0: socal_port 1
Jun  6 09:51:53 BJ1 genunix: [ID 936769 kern.info] sf1 is /sbus@3,0/SUNW,socal@d,10000/sf@1,0
Jun  6 09:51:53 BJ1 socal: [ID 139058 kern.info] sf2 at socal1: socal_port 0
Jun  6 09:51:53 BJ1 genunix: [ID 936769 kern.info] sf2 is /sbus@6,0/SUNW,socal@d,10000/sf@0,0
Jun  6 09:51:53 BJ1 socal: [ID 139058 kern.info] sf3 at socal1: socal_port 1
Jun  6 09:51:53 BJ1 genunix: [ID 936769 kern.info] sf3 is /sbus@6,0/SUNW,socal@d,10000/sf@1,0
Jun  6 09:51:53 BJ1 socal: [ID 403145 kern.info] ID[SUNWssa.socal.link.6010] socal0: port 0: Fibre Channel Loop is ONLINE
Jun  6 09:52:39 BJ1 scsi: [ID 799468 kern.info] ssd6 at sf0: name w21000004cf22f299,0, bus address e2
Jun  6 09:52:39 BJ1 genunix: [ID 936769 kern.info] ssd6 is /sbus@3,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000004cf22f299,0
Jun  6 09:52:39 BJ1 scsi: [ID 365881 kern.info]         <SUN36G cyl 24620 alt 2 hd 27 sec 107>
Jun  6 09:52:39 BJ1 genunix: [ID 408114 kern.info] /sbus@3,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000004cf22f299,0 (ssd6) online
Jun  6 09:52:39 BJ1 scsi: [ID 799468 kern.info] ssd4 at sf0: name w21000004cf222ce6,0, bus address e8
Jun  6 09:52:39 BJ1 genunix: [ID 936769 kern.info] ssd4 is /sbus@3,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000004cf222ce6,0
Jun  6 09:52:39 BJ1 scsi: [ID 365881 kern.info]         <SUN36G cyl 24620 alt 2 hd 27 sec 107>
Jun  6 09:52:39 BJ1 genunix: [ID 408114 kern.info] /sbus@3,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000004cf222ce6,0 (ssd4) online
Jun  6 09:52:39 BJ1 scsi: [ID 799468 kern.info] ssd2 at sf0: name w21000004cf222c49,0, bus address e4
Jun  6 09:52:39 BJ1 genunix: [ID 936769 kern.info] ssd2 is /sbus@3,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000004cf222c49,0
Jun  6 09:52:39 BJ1 scsi: [ID 365881 kern.info]         <SUN36G cyl 24620 alt 2 hd 27 sec 107>
Jun  6 09:52:39 BJ1 genunix: [ID 408114 kern.info] /sbus@3,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000004cf222c49,0 (ssd2) online
Jun  6 09:52:39 BJ1 scsi: [ID 799468 kern.info] ssd0 at sf0: name w21000004cf222e90,0, bus address ef
Jun  6 09:52:39 BJ1 genunix: [ID 936769 kern.info] ssd0 is /sbus@3,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000004cf222e90,0
Jun  6 09:52:39 BJ1 scsi: [ID 365881 kern.info]         <SUN36G cyl 24620 alt 2 hd 27 sec 107>
Jun  6 09:52:39 BJ1 genunix: [ID 408114 kern.info] /sbus@3,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000004cf222e90,0 (ssd0) online
Jun  6 09:52:40 BJ1 swapgeneric: [ID 308332 kern.info] root on /sbus@3,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000004cf222e90,0:a fstype ufs
Jun  6 09:52:40 BJ1 rootnex: [ID 349649 kern.info] fhc0 at root: UPA 0xa 0xf8800000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] fhc0 is /fhc@a,f8800000
Jun  6 09:52:40 BJ1 ac: [ID 200460 kern.info] ac0 board 5 bank 0: base 0x0 size 1024mb rstate 2 ostate 1 condition 1
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] ac0 is /fhc@a,f8800000/ac@0,1000000
Jun  6 09:52:40 BJ1 rootnex: [ID 349649 kern.info] fhc1 at root: UPA 0xe 0xf8800000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] fhc1 is /fhc@e,f8800000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] ac1 is /fhc@e,f8800000/ac@0,1000000
Jun  6 09:52:40 BJ1 rootnex: [ID 349649 kern.info] fhc2 at root: UPA 0x2 0xf8800000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] fhc2 is /fhc@2,f8800000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] ac2 is /fhc@2,f8800000/ac@0,1000000
Jun  6 09:52:40 BJ1 rootnex: [ID 349649 kern.info] fhc3 at root: UPA 0x6 0xf8800000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] fhc3 is /fhc@6,f8800000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] ac3 is /fhc@6,f8800000/ac@0,1000000
Jun  6 09:52:40 BJ1 rootnex: [ID 349649 kern.info] central0 at root: UPA 0x1f 0x0 ...
Jun  6 09:52:40 BJ1 rootnex: [ID 349649 kern.info] fhc4 at root: UPA 0x0 0xf8800000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] fhc4 is /central@1f,0/fhc@0,f8800000
Jun  6 09:52:40 BJ1 sysctrl: [ID 979883 kern.info] NOTICE: Firmware supports Dynamic Reconfiguration of CPU/Memory boards.
Jun  6 09:52:40 BJ1 sysctrl: [ID 787141 kern.info] NOTICE: Firmware supports Dynamic Reconfiguration of I/O board types 1, 4.
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] sysctrl0 is /central@1f,0/fhc@0,f8800000/clock-board@0,900000
Jun  6 09:52:40 BJ1 sysctrl: [ID 273467 kern.info] sysctrl0: Key switch is in the secure position
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] environ0 is /fhc@a,f8800000/environment@0,400000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] environ1 is /fhc@e,f8800000/environment@0,400000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] environ2 is /fhc@2,f8800000/environment@0,400000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] environ3 is /fhc@6,f8800000/environment@0,400000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] simmstat0 is /fhc@a,f8800000/simm-status@0,600000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] simmstat1 is /fhc@e,f8800000/simm-status@0,600000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] sram0 is /fhc@a,f8800000/sram@0,200000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] sram1 is /fhc@e,f8800000/sram@0,200000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] zs0 is /central@1f,0/fhc@0,f8800000/zs@0,902000
Jun  6 09:52:40 BJ1 genunix: [ID 936769 kern.info] zs1 is /central@1f,0/fhc@0,f8800000/zs@0,904000
Jun  6 09:52:43 BJ1 rootnex: [ID 349649 kern.info] ffb0 at root: UPA 0x2 0x0
Jun  6 09:52:43 BJ1 genunix: [ID 936769 kern.info] ffb0 is /SUNW,ffb@2,0
Jun  6 09:52:43 BJ1 unix: [ID 987524 kern.info] cpu10: SUNW,UltraSPARC-II (upaid 10 impl 0x11 ver 0xa0 clock 400 MHz)
Jun  6 09:52:43 BJ1 unix: [ID 987524 kern.info] cpu11: SUNW,UltraSPARC-II (upaid 11 impl 0x11 ver 0xa0 clock 400 MHz)
Jun  6 09:52:43 BJ1 unix: [ID 721127 kern.info] cpu 11 initialization complete - online
Jun  6 09:52:43 BJ1 unix: [ID 987524 kern.info] cpu14: SUNW,UltraSPARC-II (upaid 14 impl 0x11 ver 0xa0 clock 400 MHz)
Jun  6 09:52:43 BJ1 unix: [ID 721127 kern.info] cpu 14 initialization complete - online
Jun  6 09:52:43 BJ1 unix: [ID 987524 kern.info] cpu15: SUNW,UltraSPARC-II (upaid 15 impl 0x11 ver 0xa0 clock 400 MHz)
Jun  6 09:52:43 BJ1 unix: [ID 721127 kern.info] cpu 15 initialization complete - online
Jun  6 09:52:44 BJ1 hme: [ID 517527 kern.info] SUNW,hme0 : Sbus (Rev Id = 22) Found
Jun  6 09:52:44 BJ1 sbus: [ID 349649 kern.info] hme0 at sbus0: SBus0 slot 0x3 offset 0x8c00000 and slot 0x3 offset 0x8c02000 and slot 0x3 offset 0x8c04000 and slot 0x3 offset 0x8c06000 and slot 0x3 offset 0x8c07000 SBus level 4 sparc9 ipl 7
Jun  6 09:52:44 BJ1 genunix: [ID 936769 kern.info] hme0 is /sbus@3,0/SUNW,hme@3,8c00000
Jun  6 09:52:44 BJ1 hme: [ID 517527 kern.info] SUNW,hme1 : Sbus (Rev Id = 22) Found
Jun  6 09:52:44 BJ1 sbus: [ID 349649 kern.info] hme1 at sbus2: SBus2 slot 0x3 offset 0x8c00000 and slot 0x3 offset 0x8c02000 and slot 0x3 offset 0x8c04000 and slot 0x3 offset 0x8c06000 and slot 0x3 offset 0x8c07000 SBus level 4 sparc9 ipl 7
Jun  6 09:52:44 BJ1 genunix: [ID 936769 kern.info] hme1 is /sbus@7,0/SUNW,hme@3,8c00000
Jun  6 09:52:45 BJ1 genunix: [ID 454863 kern.info] dump on /dev/dsk/c0t0d0s1 size 2000 MB
Jun  6 09:52:47 BJ1 hme: [ID 517527 kern.info] SUNW,hme0 : Internal Transceiver Selected.
Jun  6 09:52:47 BJ1 hme: [ID 517527 kern.info] SUNW,hme0 : Auto-Negotiated  100 Mbps Full-Duplex Link Up
Jun  6 09:52:50 BJ1 pseudo: [ID 129642 kern.info] pseudo-device: devinfo0
Jun  6 09:52:50 BJ1 genunix: [ID 936769 kern.info] devinfo0 is /pseudo/devinfo@0
Jun  6 09:53:45 BJ1 pseudo: [ID 129642 kern.info] pseudo-device: random0
Jun  6 09:53:45 BJ1 genunix: [ID 936769 kern.info] random0 is /pseudo/random@0
Jun  6 09:53:49 BJ1 pseudo: [ID 129642 kern.info] pseudo-device: tod0
Jun  6 09:53:49 BJ1 genunix: [ID 936769 kern.info] tod0 is /pseudo/tod@0
Jun  6 09:53:49 BJ1 pseudo: [ID 129642 kern.info] pseudo-device: pm0
Jun  6 09:53:49 BJ1 genunix: [ID 936769 kern.info] pm0 is /pseudo/pm@0
Jun  6 09:53:50 BJ1 cssd: [ID 602758 daemon.notice] starting cs00.sh (pid#251)
Jun  6 09:53:50 BJ1 cssd: [ID 602758 daemon.notice] starting ccv.sh (pid#252)
Jun  6 09:53:50 BJ1 cssd: [ID 602758 daemon.notice] starting kkcv.sh (pid#253)
Jun  6 09:53:50 BJ1 sendmail[233]: [ID 702911 mail.crit] My unqualified host name (BJ1) unknown; sleeping for retry
Jun  6 09:53:51 BJ1 pseudo: [ID 129642 kern.info] pseudo-device: vol0
Jun  6 09:53:51 BJ1 genunix: [ID 936769 kern.info] vol0 is /pseudo/vol@0
Jun  6 09:53:52 BJ1 scsi: [ID 365881 kern.info] /sbus@3,0/SUNW,fas@3,8800000 (fas0):
Jun  6 09:53:52 BJ1         rev 2.2 FEPS chip
Jun  6 09:53:52 BJ1 sbus: [ID 349649 kern.info] fas0 at sbus0: SBus0 slot 0x3 offset 0x8800000 and slot 0x3 offset 0x8810000 SBus level 3 sparc9 ipl 5
Jun  6 09:53:52 BJ1 genunix: [ID 936769 kern.info] fas0 is /sbus@3,0/SUNW,fas@3,8800000
Jun  6 09:53:52 BJ1 scsi: [ID 365881 kern.info] /sbus@7,0/SUNW,fas@3,8800000 (fas1):
Jun  6 09:53:52 BJ1         rev 2.2 FEPS chip
Jun  6 09:53:52 BJ1 sbus: [ID 349649 kern.info] fas1 at sbus2: SBus2 slot 0x3 offset 0x8800000 and slot 0x3 offset 0x8810000 SBus level 3 sparc9 ipl 5
Jun  6 09:53:52 BJ1 genunix: [ID 936769 kern.info] fas1 is /sbus@7,0/SUNW,fas@3,8800000
Jun  6 09:53:53 BJ1 scsi: [ID 193665 kern.info] sd6 at fas0: target 6 lun 0
Jun  6 09:53:53 BJ1 genunix: [ID 936769 kern.info] sd6 is /sbus@3,0/SUNW,fas@3,8800000/sd@6,0
Jun  6 09:53:56 BJ1 sshd[367]: [ID 800047 auth.error] error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Jun  6 09:53:56 BJ1 sshd[367]: [ID 800047 auth.crit] fatal: Cannot bind any address.
Jun  6 09:53:59 BJ1 pseudo: [ID 129642 kern.info] pseudo-device: pm0
Jun  6 09:53:59 BJ1 genunix: [ID 936769 kern.info] pm0 is /pseudo/pm@0
Jun  6 09:54:50 BJ1 sendmail[233]: [ID 702911 mail.alert] unable to qualify my own domain name (BJ1) -- using short name
Jun  6 14:49:56 BJ1 genunix: [ID 540533 kern.notice] ^MSunOS Release 5.8 Version Generic_108528-09 64-bit
Jun  6 14:49:56 BJ1 genunix: [ID 913631 kern.notice] Copyright 1983-2001 Sun

[ 本帖最后由 lastletter 于 2007-6-27 09:28 编辑 ]

论坛徽章:
0
9 [报告]
发表于 2007-06-27 09:26 |只看该作者
ssh的端口也改过,如改成2222
日志就提示error: Bind to port 2222

如果我把ssh原来安装的目录删了,重新安装到其它目录下, 是否就可以解决此问题?

论坛徽章:
0
10 [报告]
发表于 2007-06-27 20:18 |只看该作者
ssh的端口也改过,如改成2222
日志就提示error: Bind to port 2222
This sounds like your system trys to start sshd multiple times. If the sshd is already started, the second attemp will give you address in use error
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP