Ubuntu

Service in Ubuntu

Asked by Kuma Pich on 2011-06-11

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

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu upstart Edit question
Assignee:
No assignee Edit question
Last query:
2011-06-11
Last reply:
2011-06-11
Ian Ace (iaculallad) said : #1

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

or

sudo /etc/init.d/networking restart

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

sudo /etc/init.d/apache2 restart

HTH.

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.