Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-13-2005, 06:41 PM
|
#1
|
|
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:
|
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?
|
|
|
|
04-13-2005, 07:48 PM
|
#2
|
|
Member
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282
Rep:
|
try this:
bash -x /etc/init.d/xinetd reload
It'd print out a detailed information of the execution
|
|
|
|
04-14-2005, 08:14 AM
|
#3
|
|
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:
|
# 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
|
|
|
|
04-14-2005, 09:19 AM
|
#4
|
|
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:
|
So there is the step-by-step output.
I don't know how to interpret it.
|
|
|
|
04-14-2005, 10:02 AM
|
#5
|
|
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:
|
there is nothing in /var/log/messages
|
|
|
|
04-14-2005, 11:19 AM
|
#6
|
|
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:
|
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?
|
|
|
|
04-14-2005, 04:38 PM
|
#7
|
|
Member
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282
Rep:
|
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...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:17 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|