the act of stopping & starting a process, or rebooting an entire PC.

learn more… | top users | synonyms

272
votes
7answers
461k views

How do I change the hostname without a restart?

I want to change the OS hostname but I do not want to restart. I have edited /etc/hostname but it requires a restart to get implemented. How to avoid this?
50
votes
6answers
17k views

Why do we need to be root in terminal for shutdown and restart?

When we install/remove/update packages or make any changes which require administrative privileges we are prompted for the password of admin user who has the sudo privileges - this happens both via ...
44
votes
9answers
271k views

How to fix “sudo: unable to open … Read-only file system”?

The title might not be as descriptive as I would like it to be but couldn't come up with a better one. My server's file system went into Read-only. And I don't understand why it does so and how to ...
42
votes
7answers
103k views

How do I restart a Unity session from the terminal?

The command for restarting Gnome2 is: sudo /etc/init.d/gdm restart What is the equivalent for Unity?
38
votes
4answers
32k views

Should I always restart the system when I see “System restart required”?

These two nice SE posts (1, 2) comment on restarting one's ubuntu machine but they leave me with a few questions: How do you actually do the restart (I'm a beginner and using 12.04.1 LTS)? Should I ...
32
votes
5answers
6k views

Why does apt-get not require restarts, where the update manager does?

Oftentimes I try to ‘beat’ the update manager by opening a console and entering the sequence sudo apt-get update sudo apt-get upgrade which, to the best of my knowledge, should update all packages ...
26
votes
3answers
48k views

Restart Only GUI Session Or Restart Only Operating System?

Is It possible In Linux to restart only gui session or os ( i m not talking about restarting pc ) back in windows 98 if u want to restart the gui session or only os u just need to hold down shift ...
17
votes
1answer
1k views

Did they forget about the 'Restart' button, or was it just not important?

Seriously, from the top-right corner button, I have Logout, Suspend, Hibernate & Shutdown but shockingly no Restart. What happened to the Restart button?
15
votes
7answers
16k views

“Shutdown” or “Restart” logs out

While logged in as a sudo user, click the right top power icon, then select and click Shutdown menu, it comes up with a dialog asking if I want to close all programs. The dialog has two options: ...
14
votes
3answers
51k views

How to successfully restart a network without reboot? [duplicate]

When I am using Ubuntu, sometimes the network goes down and there is no option to bring back the wired network. There is always option for wireless, but no option for wired network. In such case I try ...
14
votes
2answers
42k views

Apache not able to restart

Trying to restart apache from terminal using following command: sudo service apache2 restart when executing that command getting below error: Job for apache2.service failed. See "systemctl status ...
13
votes
3answers
26k views

Laptop USB ports stop working: how to restart them without restarting the PC? [duplicate]

Possible Duplicate: USB slots stop working suddenly from time to time The usb ports of my laptop fail for some reason from time to time. This concerns apparently mainly the external mouse and ...
12
votes
4answers
34k views

How to restart every 30 minutes automatically?

I would like to schedule a restart of my Ubuntu every 30 minutes. Is there any command or a graphical way to do it?
12
votes
3answers
2k views

How resilient is Ubuntu to repeated “power-off” shutdowns?

My company is considering the use of Ubuntu as an OS for use on a hardware device. It would be installed on compact flash drive - apparently this is not standard flash drive but a specific type of ...
11
votes
3answers
2k views

Shutdown logs out instead of shutting down

Many times (not all the time) when I want to shutdown or restart, the computer does not shutdown but goes to the screen for changing the user. I am the only user of my computer. So I had to ...
10
votes
3answers
32k views

I need to restart from the root command line [duplicate]

I need help restarting/shutting down from the root command line, any commands I could use? I don't like hard resetting
10
votes
1answer
12k views

What is ubuntu 14.04 doing while showing “stopping early crypto disks”?

I created a virtual machine to install ubuntu 14.04 on VirtualBox 4.2.12.*. I created virtual CD to install it with fixed-size virtual disk of 200GB. After successful installation, it restarted as ...
9
votes
1answer
610 views

Xubuntu Restarts Automatically after Shutdown

I recently installed Xubuntu 14.04 on a Dell Workstation. Whenever I shutdown, two things happen. Either it shuts down and automatically restarts, or it hangs at shutdown with a black screen. ...
9
votes
4answers
6k views

Unable to shutdown, restart or log out

I have been unable to restart, shutdown, or log out of ubuntu since the release of 12.04. I have upgrade at the time of release for 12.10 and now for 13.04 and have had no change in the situation. On ...
8
votes
2answers
868 views

Why does Ubuntu still require restart after kernel updates when tools out there mean it's unnecessary? [duplicate]

A regular occurrence in updating Ubuntu is kernel updates, which require a restart. There are applications which negate the need for a restart after a kernel update e.g. ksplice. Why doesn't Ubuntu ...
8
votes
1answer
9k views

How can I reload dhclient without restarting network?

I am using ubuntu 14.04 on ec2 instance, I am changing dhcp settings as part of the provisioning process, and I cant find a way to reload the dhclient. Infact, theres no way to restart network on 14....
8
votes
1answer
603 views

power menu does not have shutdown and restart

I have Ubuntu 11.04 and I works perfect. I do not know what happened but for no reason the logout, restart and shutdown options disappeared from power menu. I did restart it more than one time ...
8
votes
1answer
799 views

Why does Ubuntu 14.04 keep shutting down when playing video?

I'm reasonably tech savvy but very new to Ubuntu and I'm having a problem when watching video. I can watch something for 15 minutes or so whether it be flash based or MP4 or something then Ubuntu ...
7
votes
3answers
9k views

How to completely restart script from inside the script itself

I'm setting up a shell script with menues and sub menues, options, etc. But on each menu/submenu/etc, i need a "Go back to main menu" choice. I've already got the menu set up and it works fine, but i ...
6
votes
3answers
6k views

How to manually restart services affected by apt upgrades?

How can I issue apt upgrades without automatically stopping/starting daemons? I'd like to manually restart services. To cite a specific example: I'll revisit a long-running machine and run sudo apt-...
6
votes
1answer
929 views

I cant shutdown or restart ubuntu with cinnamon

I recently installed Cinnamon on Ubuntu 14.04, now I can't shutdown or restart the system using the GUI, I must logout to do it. I tried to shutdown and restart from the applet but nothing happens, I ...
6
votes
2answers
234 views

Always Restart when Clicking Shut Down Button

When I shutdown the computer (Ubuntu 14.04), it always retart. Sometime when I press shutdown in the menu, the computer does not show me the mini window for the shutdown button. How to fix it? Thank ...
6
votes
2answers
39k views

How to avoid “Assuming drive cache: write through” message during restart? [closed]

Does anyone know how to avoid message: Assuming drive cache: write through Showing up after preforming sudo shutdown -r now. I restarted remotely but the computer did not restart. And I could ...
5
votes
2answers
8k views

Is it necessary to reboot after changing group membership?

I would like to know, why it is required to reboot, to apply the changes, which I made. I refer to the use of adduser username sudo I use Ubuntu 12.04.1 LTS "Server".
5
votes
2answers
3k views

Unable to shutdown/restart/hibernate

After I installed ubuntu 11.04, it wont shutdown nor restart, it just freeze, and I have to hold the power button in order to turn off my netbook. (It also happens on livecd) Can anyone tell me the ...
5
votes
1answer
2k views

why is cgconfig.conf not being read on reboot on 14.04?

I recenty upgraded a release from 12.04 to 14.04, and found out that my cgconfig.conf file is not being read anymore on startup. The file appears to be correct, in the sense that I can explicitly ...
5
votes
2answers
3k views

How to suppress or disable the shutdown option from indicator menu or shutdown dialog?

My goal is to allow user only to restart the system, and deny any shutdown (suspend, hibernate). I am running unity-2d. I 've managed to deny suspend and hibernate with polkit policy files like ...
5
votes
1answer
2k views

Firefox not closed properly when loging out

I just installed Ubuntu 14.04 beta2 and out of 25 tries either logging out, shutting down or restarting, my session didn't close Firefox properly 23 times when exiting. The result is the Firefox tabs ...
5
votes
1answer
886 views

Is there a way set my resolution to 1600x1200 without a monitor plugged in?

I know how to modify xorg.conf and get it to start at about 1024x768, but I can't get it to start at 1600x1200. It is quite an inconvenience to have to go and manually start them up each time. We ...
5
votes
3answers
2k views

Shutdown / restart does not complete [closed]

Sometimes when I try to shut-down or restart, I get an error saying: A program is still running: Unknown Not Responding It gives three choices Lock Screen Cancel Reboot anyway (or Shutdown Anyway) ...
5
votes
2answers
325 views

Restart Unity Without Logging Out

I've used the command unity to restart Unity without logging out, but recently that's been also logging me out. I've also tried using unity --replace but that does the same thing. Can someone ...
4
votes
1answer
29k views

How do I restart/reload Apache when it can't determine the domain name? [closed]

After installing Xdebug I tried to restart or reload Apache and I received the following message: $ sudo /etc/init.d/apache2 reload * Reloading web server config apache2 apache2: Could not reliably ...
4
votes
1answer
3k views

How to fix a computer that won't restart?

I can't restart my laptop under Ubuntu 12.04 and the screen turns black with no response after clicking the Restart button. How do I fix it?
4
votes
1answer
5k views

Kubuntu 12.10 Shortcut to Restart X Server?

I have just upgraded from Kubuntu 12.04 to 12.10. Until now, I was using AltGr+PrintScreen+K key combination to restart the X Server. After the last upgrade this shortcut doesn't work anymore. Do ...
4
votes
3answers
11k views

Dell Studio 1569 Cannot Shutdown in Ubuntu 11.10 or 12.04

I have not tried a version of Ubuntu prior to 11.10 on my machine. The laptop will not shut down or restart. Shutting down causes it to pause at "Will now Halt", where upon it sits until the battery ...
4
votes
2answers
10k views

can not restart samba

I installed samba sudo apt-get install samba. then I made configuration but when i write : sudo /etc/init.d/samba restart message appears " command not found " and when I write ls /etc/init.d I ...
4
votes
1answer
89 views

How can I get a warning before restart/shutdown?

I have just restarted my Ubuntu, but I forgot that a virtual machine was open in the background (having a minimized icon on the taskbar). Is it possible to configure Ubuntu in a way that if a user-...
4
votes
1answer
295 views

How to restart colord

A tiff security update came out today for 12.04 and colord is still running with the older shared library # lsof -n | grep DEL | grep /lib colord 3454 colord DEL REG ...
4
votes
3answers
842 views

shutdown -P works, but shutdown -r does not

I have a headless Ubuntu Server 11.04 box. If I use: sudo shutdown -P now It works every time. However, if I instead want to simply restart the machine: sudo shutdown -r now It fails to do so. ...
4
votes
3answers
5k views

Lubuntu: neither shut-down nor restart works [closed]

aI have a freshly installed Lubuntu 14.04.1 (installed with forcepae option on a laptop with Pentium M processor). The only problem that I have found so far is that I cannot shut-down or restart the ...
4
votes
6answers
2k views

Cannot restart, reboot, nor shutdown Ubuntu 11.04

I cannot restart, reboot or shut-down my PC using Natty. Whenever I hit shut-down, restart or in terminal sudo reboot it shows a black screen. If I should press down the power button for while, it ...
3
votes
2answers
2k views

What's the difference between “restart X” and “/etc/init.d/X restart”?

I normally use this command to restart my daemons(e.g. vsftpd): $sudo /etc/init.d/vsftpd restart Early today I noticed it said that I can try restart(8) utility. I did: $sudo restart vsftpd It ...
3
votes
1answer
15k views

Problem restarting the network service

Hello and thanks for reading this, I am working on network configuration, testing a few different approaches to see which one suits me best. I have installed a new instance of 14.04 server and I have ...
3
votes
3answers
6k views

How to set keyboard combination to kill the X server?

It used to be ctrl+alt+backspace to kill x server, but for some unknown reason, it was decided to disable that combination and use something else (I think it is right alt + printscreen +k). So, how ...
3
votes
2answers
12k 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 ...