Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

3.12. Starting and stopping daemon services

The init program of Linux -also known as process control initialization, is in charge of starting all the normal and authorized processes that need to run at boot time on your system. These may include the APACHE daemons, NETWORK daemons, and anything else that must be running when your machine boots. Each of these processes has a script under /etc/rc.d/init.d/ directory written to accept an argument, which can be start, stop and restart. You can execute those scripts by hand in fact with a command:

Example 3-1. Starting and Stopping various Daemon's

To start the httpd Web Server manually under Linux.
         [root@deep] /# /etc/rc.d/init.d/httpd start
         

Starting httpd: [OK]

To stop the httpd Web Server manually under Linux.
         [root@deep] /# /etc/rc.d/init.d/httpd stop
         

Shutting down https: [OK]

To restart the httpd Web Server manually under Linux.
         [root@deep] /# /etc/rc.d/init.d/httpd restart
         

Shutting down https: [OK] Starting httpd: [OK]

Check inside your /etc/rc.d/init.d/ directory for services available and use command start | stop | restart to work around.

 
 
  Published under the terms of the Open Publication License Design by Interspire