0
votes
0answers
97 views

ubuntu server 13.10 - shutdown/reboot does not work

I recently installed Ubuntu Server 13.10 on a dedicated machine. I usually only log in via SSH, since there is no monitor attached. However, using sudo shutdown -h or sudo reboot now does not work. ...
1
vote
1answer
31 views

Before I upgraded to saucy, an ssh connection would prevent a shutdown started from X11

I upgraded to saucy not too long ago and now an X11 user can shutdown even if I'm connected to that computer via ssh. Before the upgrade, an ssh connection would prevent the X11 users from shutting ...
0
votes
1answer
12k views

Putty fatal error: Network error: connection refused (ubunty server) [closed]

I applied the below mention code to my server and after few mins i tried to re-connect to the PUTTY then its started showing me this error Putty fatal error: Network error: connection refused (ubunty ...
1
vote
1answer
152 views

mongodb does not shutdown cleanly on system shutdown

When I shutdown Ubuntu running mongodb (installed via apt), occasionally mongodb doesn't appear to finish shutting down completely - the log file matches a healthy shutdown, closing files, cleaning up ...
0
votes
1answer
5k views

Shutdown over SSH [duplicate]

I just installed a fresh ubuntu server 12.04. I log in over SSH and use sudo -s to get root access. Then I use shutdown now and the server closes the connection. I cannot access the server over SSH, ...
2
votes
2answers
5k views

Remote reboot over ssh does not restart [duplicate]

I would like to remotely reboot my Ubuntu 12.04 LTS server via ssh. I do sudo reboot and I loose connection and the server connection does not reappear. It does not ping. When I go the the physical ...
2
votes
2answers
4k views

How could I shutdown a remote host, in my network thru ssh, with a local host?

The question is simple. What would be the script I would have to use to shut down a computer in my network thru ssh. Normaly i would go to command line and: ssh desktop delik@desktop's password: ...
1
vote
1answer
953 views

Check If Users are Logged In, Check Condition, Shutdown Automatically at Set Time

First the situation: I have a server that I want to shutdown automatically at night (00:00), but I need to make sure no one is logged via ssh in still. If they are, then I will allow up to another ...
11
votes
1answer
1k views

disable shutdown/suspend if there is other user logged in via ssh

I remember that in versions of ubuntu around 9.04 was possible to disable user to shutdown ( and maybe suspend too ) system if there was other user logged in.Something like policykit or similar. Is ...
5
votes
1answer
5k views

Shutting down a computer remotely

What ways are there to shut down a computer remotely? My desktop is running Ubuntu 11.04 desktop edition and when I try to shut it down remotely using ssh, it doesn't actually work. I used the ...