LinuxQuestions.org
Review your favorite Linux distribution.
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 01-21-2005, 01:07 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Rep: Reputation: 30
Restart daemon


After I updated the /etc/xinetd.d/telnet , what service / daemon need to re-start to make the setting vaild ? is it /etc/rc.d/init.d/xinetd start ?

Thx in advance.
 
Old 01-21-2005, 02:17 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
If the file you changed is a file xinetd uses as a configuration file, then you need to restart xinetd. I haven't messed with xinetd directly, so I don't honestly know, but it looks like it. Anyway, you can either use your system startup scripts to restart xinetd, or do it manually.

If your startup scripts file Red Hat's convention, then you should be able to execute something like this on the commandline:
Code:
/etc/rc.d/init.d/xinetd restart
The name of the script may be different; you'll just have to explore a little.

To restart it manually, you can use the kill command:
Code:
killall -HUP xinetd
The syntax may be different for your system. Do a man killall to see. The SIGHUP signal forces the process to restart itself, causing it to re-read configuration files.

Otherwise, you can restart the machine.
 
Old 02-03-2005, 03:03 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Original Poster
Rep: Reputation: 30
thx your reply ,

but I have one more queston , what is the difference between /etc/rc.d/init.d/xinetd and /etc/init.d/xinetd , is it the same ? thx
 
Old 02-03-2005, 03:25 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Look at the long listings for the directories:
ls -ld /etc/rc.d
ls -ld /etc/rc.d/init.d

One directory is probably a symbolic link to the other.
/etc/init.d -> /etc/rc.d/init.d
So the file entries refer to the same file.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
best way to restart a wireless card/daemon? lefty.crupps Linux - Wireless Networking 3 08-22-2005 01:36 PM
First Restart dyrer Suse/Novell 0 05-25-2005 09:13 AM
httpd daemon needs frequent restart to work properly sushil_deore Linux - Software 0 09-16-2004 07:35 AM
How to stop and restart sendmail daemon? J_Szucs Linux - Newbie 4 06-11-2002 11:31 PM
How to restart X? bjc Linux - Newbie 3 01-12-2001 12:13 PM


All times are GMT -5. The time now is 06:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration