Results 1 to 3 of 3

Thread: How to start and stop services on Linux Server

  1. #1
    Join Date
    Feb 2010
    Posts
    17

    Default How to start and stop services on Linux Server

    What are the steps taken to start and stop the services running on a linux server?
    Please suggest me some detailed steps.

  2. #2
    Join Date
    Feb 2010
    Posts
    29

    Default

    In linux servers, two different types of programs run, the ones that run tasks in the background are generally called as "Services" and "daemons". Many services are required to run the background like DB server, firewall, dns system, etc... and because of those services, it is very necessary to know the exact steps to start and stop the services running the background.

    It is possible that the process of starting and stopping the services may change according to the linux distributions.

  3. #3
    Join Date
    Feb 2010
    Posts
    12

    Default

    The services running on the Linux server can be started and stopped using two different methods. Follow the steps given below:

    Before you start or stop any service, you should check the status of the service by entering the following commands:

    Checking Service Status:

    Method One:
    /etc/init.d/service-name status

    Method Two:
    service service-name status

    Starting a Service:

    Method One:
    /etc/init.d/service-name start

    Method Two:
    service service-name start

    Stopping a Service:

    Method One:
    /etc/init.d/service-name stop

    Method Two:
    service service-name stop

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •