Service in Ubuntu

Asked by Kuma Pich

Why do we need to restart service in ubutu?and how to restart it ? give at least 2 instances

Question information

English Edit question
Ubuntu upstart Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ian Ace (iaculallad) said :

The common reason you have to restart a service is to apply the changes you made in a particular configuration file for maintenance or when a technical problem occurs:

Restart the networking service (I perform this when my laptop finds it difficult to connect to an ESSID):

sudo restart network-manager


sudo /etc/init.d/networking restart

Restart Apache (Editing fqdn file or adding virtual hosts):

sudo /etc/init.d/apache2 restart


Can you help with this problem?

Provide an answer of your own, or ask Kuma Pich for more information if necessary.

To post a message you must log in.