Thursday, April 18, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1567  / 2 Years ago, fri, august 12, 2022, 12:53:59

I am running Ubuntu server 14.04 on vmware player. I have been using this server for a few weeks but I have never been ale to properly shutdown the virtual machine from the terminal. I used the following command but it does not work.



sudo shutdown now


This is an image showing the output when I run the command.



enter image description here



This is not the only way it appears. sometimes it shows the Ubuntu splash screen that usualy comes when you shutdowwn the system but it does not change from that screen. Instead it shows root@ubuntu-server:~# after a while. I used Ctrl+AltF1. to see the terminal again and it showed the same errot as in the picture.



I have to force shutdown the virtual machine through close button on the title bar and vmware always gives warnings that it is is risky to shut down on that way. I am hoping that someone will be able to give a working solution so that I can switch off the virtual machine from the terminal.


More From » server

 Answers
6
sudo shutdown now


Will bring the system down into single user mode, according to the man page.



sudo shutdown -P now


Is the more correct command, the -P option makes it power off after bringing the system down.


[#19411] Saturday, August 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ousear

Total Points: 395
Total Questions: 114
Total Answers: 89

Location: Jordan
Member since Thu, Aug 5, 2021
3 Years ago
;