LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-31-2006, 01:08 PM   #1
g_srinivas
Member
 
Registered: Jul 2005
Location: USA
Distribution: SuSE 9
Posts: 49

Rep: Reputation: 15
Question restarting services?


Hello,

I am running SuSE EL 9. My question is, if i make any modifications in /etc/services file then how could i restart all the services to take affect new changes without restarting the actual system??

Thanks.
 
Old 10-31-2006, 02:40 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
/etc/services is just a lookup file. It doesn't START any "services". It is used to equate a port (socket) number with a name.

The main reason to define items in /etc/services is to sort of reserve them so they are no longer shown as free ports for random port access. Some programs when they run open a specific port (e.g. telnet uses port 23). Other programs just say "get me an available port". If the port is not in /etc/services and not currently in use it will appear to be available. Putting it in /etc/services says it's not available for random usage. It isn't a true reservation however as any program that requests a specific port number would do it whether or not it was in /etc/services.

Many (not all) of the items that use /etc/services are defined in inetd.conf or xinetd.d/<file>. It is these things that start. (e.g. telnetd is the daemon that would run to answer telnet requests on port 23.)
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restarting remote services possible? Swakoo Linux - Networking 2 09-22-2006 04:42 AM
Restarting DHCP services AmdMhz Linux - Networking 3 10-31-2004 09:45 PM
Restarting services... Norrin Linux - Newbie 2 09-03-2003 09:04 PM
restarting services juanb Linux - General 1 01-02-2003 07:20 AM
restarting of services/daemons coopergr Linux - Newbie 3 04-04-2002 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:21 AM.

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