免费注册 查看新帖 |

Chinaunix

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

[服务应用] 求助:ssh连不上Centos服务器,可以ping通 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-12-18 21:14 |只看该作者 |倒序浏览
昨晚突然断电后,今天ssh连不上Centos服务器,可以ping通,用同一帐户在主机上是可以登录的;关了防火墙ssh也登录不了,以前我是没管防火墙也可以的.
捣鼓了好久不知道问题在哪儿,求助各位高人,谢谢!

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
2 [报告]
发表于 2013-12-18 21:16 |只看该作者
检查下系统日志看看有没有报错信息

论坛徽章:
0
3 [报告]
发表于 2013-12-18 21:46 |只看该作者
本帖最后由 bmechuangye 于 2013-12-18 21:48 编辑

这里存在问题吗? 实在太多了,不知道问题在哪?

# grep error /var/log/messages
Dec 17 21:45:24 localhost fcoemon: error 17 File exists
Dec 18 15:38:12 localhost NetworkManager[1555]: <warn> error requesting auth for org.freedesktop.network-manager-settings.system.wifi.share.protected: (6) Remote Exception invoking org.freedesktop.PolicyKit1.Authority.CheckAuthorization() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.DBus.Error.NameHasNoOwner: Remote Exception invoking org.freedesktop.DBus.GetConnectionUnixUser() on / at name org.freedesktop.DBus: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.51': no such name
Dec 18 20:34:01 localhost NetworkManager[1560]:    ifcfg-rh:     error: Couldn't parse file '/etc/sysconfig/network-scripts/ifcfg-lo;52b195e9'
Dec 18 20:34:01 localhost NetworkManager[1560]:    ifcfg-rh:     error: Couldn't parse file '/etc/sysconfig/network-scripts/ifcfg-lo;52b195e9'
Dec 18 20:37:25 localhost fcoemon: error 111 Connection refused
Dec 18 20:41:56 localhost fcoemon: error 111 Connection refused

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
4 [报告]
发表于 2013-12-18 22:04 |只看该作者
看下/etc/secure日志,另外,检查下你的网络配置文件

论坛徽章:
0
5 [报告]
发表于 2013-12-18 22:20 |只看该作者
OK, Thank you!

论坛徽章:
0
6 [报告]
发表于 2013-12-18 22:23 |只看该作者
Should check which file ?

[root@localhost science]# more /etc/security/
access.conf       console.handlers  group.conf        namespace.conf    opasswd           sepermit.conf
chroot.conf       console.perms     limits.conf       namespace.d/      pam_env.conf      time.conf
console.apps/     console.perms.d/  limits.d/         namespace.init    pam_winbind.conf

论坛徽章:
0
7 [报告]
发表于 2013-12-18 22:42 |只看该作者
本帖最后由 bmechuangye 于 2013-12-18 22:43 编辑

输入密码反复出现这种情况,也没啥提示出错

Snap2.jpg (12.67 KB, 下载次数: 195)

Snap2.jpg

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
8 [报告]
发表于 2013-12-19 08:15 |只看该作者
检查下 /var/log/secure

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
9 [报告]
发表于 2013-12-19 09:49 |只看该作者
密码改啦?

论坛徽章:
0
10 [报告]
发表于 2013-12-19 10:11 |只看该作者
小民非常感谢版主的热切关心! 好的我再看看 /var/log/secure
这个问题真是麻烦的,还希望版主能继续提供帮助!
实在是急啊,这边项目要做,不能老是呆在服务器前直接用服务器啊

@jackyyen
密码没改的,其它电脑ssh连不上,但直接从服务器使用可以的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP