免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-27 09:19 |只看该作者 |倒序浏览
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-27 11:54 |只看该作者
如果是solaris 10
请查 /etc/init.d或/etc/rc2.d /etc/rc3.d目录下是否有脚本去自动运行ssh进程

如果有就干掉,solaris10自带了ssh并启动
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP