LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   start stop daemons (https://www.linuxquestions.org/questions/linux-newbie-8/start-stop-daemons-178494/)

aizkorri 05-06-2004 04:13 AM

start stop daemons
 
Well, this is a pretty newbie question but I think someone here might answer me in a few lines :)

How can I start/stop daemons? ftp,http,....
How can I know which services are being executed, and also which ports are opened for them?

Thanks in advance.

Mega Man X 05-06-2004 04:17 AM

If you are using Mandrake as your profile says, the best way is to go to Mandrake Control Center (find it under the menu or type mcc in the console) then go >> System >> DrakXServices. You should be able to start-stop any service from there...

Regards!

Crashed_Again 05-06-2004 04:18 AM

Most of the daeomons startup scripts are in /etc/init.d. So if you'd like to start httpd you would do:

/etc/init.d/httpd start

or to stop it:

/etc/init.d/httpd stop

or to restart it:

/etc/init.d/httpd restart

To know what ports these applications are binding to you could do this:

netstat -l

This will tell you what ports are listening and what applications have been binded to those ports.

aizkorri 05-06-2004 04:26 AM

hey, thanks!, these were really fast & helpful posts.

Cybercool 05-06-2004 06:26 AM

You can also try webmin (grafical interface)
www.webmin.com

You can monitor en run and stop processes. And lot's more!


All times are GMT -5. The time now is 10:55 AM.