RHEL 7 - Shutdown/Reboot over SSH Hangs

Latest response

This isn't a major issue, but rather a small inconvenience. When I am SSH'ed into a system and I initiate a shutdown -h now the shell just hangs. The system shuts down like expected, it just doesn't handle the SSH session gracefully. I believe it times out somewhere around 10 minutes. In previous versions of RHEL, you would see a wall broadcast and the SSH session would be terminated before it fully shutsdown. It seems to terminate the pipe quicker while running a reboot vs. a shutdown. Can anyone confirm they are seeing similar behavior with their RHEL 7 installations? Or is this a "me" issue?

-Steve

Responses

Hi,
I am facing the same issue and I also don't like it when there is no feedback like
in older versions of RHEL. It's confusing when there is no reponse; first time I thought the server was frozen while rebooting. Would be nice if Redhat would change the behaviour.
Regards
Tim

This appears to have been already logged:
https://bugzilla.redhat.com/show_bug.cgi?id=1047614

Thanks for the link.

Hi I faced same issue but environment was different . scenario is like i was running RHEL 7 on my hyper-v environment and connecting ssh session via putty . after finished work I given command "systemctl hibernate" and it disconnected session . I login my hyper-v server and found my rhel 7 machine in hung state . after many time tries to reboot virtual machine (rhel 7) not comming up . its stuck at "Red hat enterprise Linux server 7.0 (Maipo) dracut 033-0161.el7 (initramfs)" . what issue could be.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.