Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, my REMOTE system has somehow been in a deadlock state, I can't SSH into it. It's not a network problem, as I am able to ping it.
Now my question is, what can I do? I can't do anything to it physically because it's miles away.
Is there a way to prevent this from happening in the future? Like a way to detect this and if it happens, the system will automatically reboot or something?
I dont know about detecting and rebooting. But if the problem is with not being able to login an option is to redirect the console to the serial port and read this from some other machine. So if the system is hung, the console will be still accessible.
Originally posted by zeropash I dont know about detecting and rebooting. But if the problem is with not being able to login an option is to redirect the console to the serial port and read this from some other machine. So if the system is hung, the console will be still accessible.
The problem is not getting any responses from the system, I think the system is in a state where CPU is 100% so nothing is responding. As for the serial port, I can't do that as the system is miles away.
I'd just like to know if there is a way (crontab script) maybe that detects this state and then reboot the system if necessary.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.