简体   繁体   English

CHECK_NRPE:错误 - 无法完成SSL握手并且无法通过SSH进入框或本地访问它

[英]CHECK_NRPE: Error - Could not complete SSL handshake AND cannot SSH into box or access it locally

Nagios reported the following error: CHECK_NRPE: Error - Could not complete SSL handshake Nagios报告了以下错误:CHECK_NRPE:错误 - 无法完成SSL握手

Up until this point, everything had been running fine on this linux server for... months at least. 到目前为止,这个linux服务器上的所有内容都运行良好,至少持续了几个月。

I attempted to ssh into the server and could not. 我试图ssh到服务器,但不能。 I was able to ping the box. 我能够打开盒子。 I hooked up a monitor and keyboard to the server directly (there is usually nothing hooked up to this server - I usually always ssh into it). 我直接将一个显示器和键盘连接到服务器上(通常没有任何东西连接到这个服务器 - 我通常总是把它连接到它)。 I got the login screen and entered in my username/password. 我收到了登录屏幕并输入了我的用户名/密码。 ...and then nothing. ......然后什么都没有。 I wasn't able to access the machine. 我无法访问该机器。

I hard rebooted the server and it came back up fine. 我很难重新启动服务器,它恢复正常。

What should I be looking for to figure out what happened? 我应该找什么来弄清楚发生了什么? ie, What happened? 即,发生了什么? What log files on the machine can I access? 我可以访问机器上的哪些日志文件? In looking at some of my logs, it looks like my background processes/software was running during the time the machine wasn't responding to my attempts to access it. 在查看我的一些日志时,看起来我的后台进程/软件在机器没有响应我访问它的尝试期间运行。

I need to run this to ground to ensure this doesn't happen again. 我需要将其运行到地面以确保不再发生这种情况。

It varies by linux flavor, but generally there are some log files that can point you in the right direction. 它因linux风格而异,但通常有一些日志文件可以指向正确的方向。

In /var/log there will be logs that can be helpful. /var/log会有一些有用的日志。 Depending on the flavor you should see either syslog or messages . 根据风格,您应该看到syslogmessages Look at any other recently written logs in there as well. 看看那里最近写的任何其他日志。

It's also quite likely the issue is hardware related. 问题也很可能与硬件有关。 You should perform a memory test during reboot. 您应该在重新启动期间执行内存测试。 The process will depend on your boot loader or bios. 该过程将取决于您的引导加载程序或BIOS。

You can install a crashdump utility. 您可以安装crashdump实用程序。

You can run fsck . 你可以运行fsck

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM