LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-13-2005, 06:41 PM   #1
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: SuSE 9.2 Professional, OpenSuSE 10.1 64 bit, Open SuSE 10.2, Debian Etch
Posts: 535

Rep: Reputation: 30
xinetd reload failed


I am following instructions to install some sw.
After adding a file to /etc/xinetd.d/, the next step is to reload xinetd.

I get a "failed" message:
# /etc/init.d/xinetd reload failed

Even if i remove the file i added, i still get the failed message.

How can i determine what is going wrong?
 
Old 04-13-2005, 07:48 PM   #2
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
try this:

bash -x /etc/init.d/xinetd reload

It'd print out a detailed information of the execution
 
Old 04-14-2005, 08:14 AM   #3
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: SuSE 9.2 Professional, OpenSuSE 10.1 64 bit, Open SuSE 10.2, Debian Etch
Posts: 535

Original Poster
Rep: Reputation: 30
# bash -x /etc/init.d/xinetd reload
+ XINETD_BIN=/usr/sbin/xinetd
+ test -x /usr/sbin/xinetd
+ . /etc/rc.status
++ test -z '' -o -z ''
+++ exec
+++ stty size
+++ read L C
+++ echo LINES=24 COLUMNS=80
++ eval LINES=24 COLUMNS=80
+++ LINES=24
+++ COLUMNS=80
++ test 24 -eq 0
++ test 80 -eq 0
++ export LINES COLUMNS
++ case $PATH in
++ test -t 1 -a xterm '!=' raw -a xterm '!=' dumb
++ stty size
+++ echo -en '\033'
++ esc=$'\E'
++ extd=''
++ warn=''
++ done=''
++ attn=''
+++ echo -en '\017'
++ norm=''
+++ echo -en '\015 '
++ stat=' '
++ rc_done=' done'
++ rc_running=' running'
++ rc_failed=' failed'
++ rc_missed=' missing'
++ rc_skipped=' skipped'
++ rc_dead=' dead'
++ rc_unused=' unused'
++ rc_unknown=' failed''
++ rc_reset=''p='
++ rc_save=''
++ rc_restor'='
++ _rc_service=/etc/init.d/xinetd
++ _rc_status=0
++ _rc_status_all=0
++ _rc_todo=reload
++ test reload = status
++ test -n reload
+ rc_reset
+ _rc_status=0
+ _rc_status_all=0
+ rc_check
+ _rc_status_ret=0
+ test 0 -eq 0
+ test 0 -eq 0
+ return
+ return 0
+ case "$1" in
+ echo -n 'Reload INET services (xinetd).'
Reload INET services (xinetd).+ killproc -HUP /usr/sbin/xinetd
+ rc_status -v
+ rc_check
+ _rc_status_ret=7
+ test 7 -eq 0
+ _rc_status=7
+ test 7 -eq 0
+ _rc_status_all=7
+ return
+ test 7 -gt 7
+ _rc_status_ret=7
+ case "$_rc_todo" in
+ local i
+ for i in '"$@"'
+ case "$i" in
+ local vrt=
+ local out=1
+ local opt=en
+ test -n ''
+ opt=e
+ case "$_rc_status" in
+ vrt=' failed'
+ out=2
+ echo -e '' failed
failed
+ _rc_status=0
+ return 7
+ rc_exit
+ exit 7
 
Old 04-14-2005, 09:19 AM   #4
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: SuSE 9.2 Professional, OpenSuSE 10.1 64 bit, Open SuSE 10.2, Debian Etch
Posts: 535

Original Poster
Rep: Reputation: 30
So there is the step-by-step output.
I don't know how to interpret it.
 
Old 04-14-2005, 10:02 AM   #5
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: SuSE 9.2 Professional, OpenSuSE 10.1 64 bit, Open SuSE 10.2, Debian Etch
Posts: 535

Original Poster
Rep: Reputation: 30
there is nothing in /var/log/messages
 
Old 04-14-2005, 11:19 AM   #6
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: SuSE 9.2 Professional, OpenSuSE 10.1 64 bit, Open SuSE 10.2, Debian Etch
Posts: 535

Original Poster
Rep: Reputation: 30
i did this:

# /etc/init.d/xinetd stop
Shutting down xinetd: done
# /etc/init.d/xinetd start
Starting INET services. (xinetd) done

is this the same as reloading?
 
Old 04-14-2005, 04:38 PM   #7
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
Yes. stop and start is equal to reload. The script is usually wrote this way.

Code:
...
+ echo -n 'Reload INET services (xinetd).'
Reload INET services (xinetd).+ killproc -HUP /usr/sbin/xinetd
+ rc_status -v
+ rc_check
Here is a problem. killproc -HUP /usr/sbin/xinetd returns 7...

This would require some more investigation...
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
pmap_set failed trying to start fam w/ xinetd kernel_bum Linux - Networking 2 01-21-2006 10:32 PM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover Suse/Novell 8 02-22-2005 07:57 AM
Bind failed in xinetd justAnotherGuy Linux - General 1 08-02-2003 10:32 PM
Reload syslog service..failed saavik Linux - General 0 06-20-2003 01:17 AM
Xinetd failed to reload nacosta Linux - Networking 2 11-28-2001 01:12 PM


All times are GMT -5. The time now is 11:14 AM.

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