I logged into a Linux machine with its IP address, using putty, and entered shutdown command in home directory instead of in tomcat bin.
The session got closed and I am unable to re-login into the Linux server from putty.
How do I resolve this?
I logged into a Linux machine with its IP address, using putty, and entered shutdown command in home directory instead of in tomcat bin.
The session got closed and I am unable to re-login into the Linux server from putty.
How do I resolve this?
Your server is powered down, so you push the power button. Real servers will allow you to do this via an out-of-band management interface such as Dell's drac or HP's iLO. Servers without such out-of-band management should be connected to a managed power switch so you can powercycle them. Of course that only helps if the server is set to boot automatically when power is restored.
Of course, if it's a virtual server, you can simply log in to the physical host and use the relevant tool to power the VM back on again (how this works is different for each virtualization solution).
shutdown
shuts the server down, reboot
reboots the server.
Turn the server back on.