Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-06-2004, 04:13 AM   #1
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 45
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.
Old 05-06-2004, 04:17 AM   #2
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
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...

Old 05-06-2004, 04:18 AM   #3
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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.
Old 05-06-2004, 04:26 AM   #4
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Original Poster
Rep: Reputation: 45
hey, thanks!, these were really fast & helpful posts.
Old 05-06-2004, 06:26 AM   #5
Registered: Mar 2004
Location: Netherlands
Distribution: Debian kernel 2.4.xx
Posts: 36

Rep: Reputation: 15
You can also try webmin (grafical interface)

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to start daemons in slackware anindyanuri Slackware 5 07-12-2005 09:13 PM
Start Services/Daemons exkor5000 Linux - Newbie 1 11-16-2003 05:00 PM
How do I Start daemons At Boot? kyiyer Linux - Newbie 10 09-18-2003 08:32 PM
Start/stop services on start-up koyi Slackware 5 08-04-2003 08:20 AM
What daemons i stop to boot faster? h1tman Linux - Newbie 9 07-23-2003 11:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration