LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-22-2007, 03:44 PM   #1
wslyhbb
Member
 
Registered: Apr 2002
Location: Chicago, IL
Distribution: Mandriva 2009.0 PowerPack x86_64
Posts: 150

Rep: Reputation: 15
Question xinetd issue


I upgraded my server from Mandriva 2007 PowerPack x86_64 to Mandriva 2007 Spring PowerPack x86_64. Prior to the upgrade I had svnserve running as a system service with no issues. After the upgrade svnserve did not start at boot.
I contacted the subversion forum, but it came down to my xinetd is failing.

# /etc/rc.d/init.d/xinetd restart
Stopping xinetd [FAILED]
Starting xinetd/bin/bash: xinetd: command not found

I do have xinetd-2.3.14-5mdv2007.1.x86_64.rpm installed. I have even tried
to uninstall and reinstall it, but it did not resolve my issue.

Can someone please assist?
 
Old 06-23-2007, 08:08 AM   #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
It's telling you it can't find the command "xinetd" which likely means it doesn't know the path for the binary or that it doesn't exist where it specifies.

/etc/rc.d/init.d/xinetd is a script so you can view it with the vi command. Look for the "start" function within the script to see what it is doing at that point.

I don't use Mandriva but on my RedHat the binary called from within the xinetd init script is /usr/sbin/xinetd.

Also some distros use inetd rather than xinetd (Debian for example). You might want to verify whether you have inetd already.
 
Old 06-23-2007, 09:11 AM   #3
wslyhbb
Member
 
Registered: Apr 2002
Location: Chicago, IL
Distribution: Mandriva 2009.0 PowerPack x86_64
Posts: 150

Original Poster
Rep: Reputation: 15
Here is an excerpt from my /etc/rc.d/init.d/xinetd script:
Code:
# Local variables
NAME=xinetd
BINARY=$NAME
PROCESS=$NAME
LOCKFILE=/var/lock/subsys/$NAME
PIDFILE=/var/run/$NAME.pid

start(){
    # Check if it is already running
    if [ ! -f $LOCKFILE ]; then
	gprintf "Starting %s" "$NAME"

	# Need to get rid of localization for external services - 
	# it doesn't make much sense to have i18n on the server side here
	export LANG=C
	export LC_ALL=C
	daemon $BINARY -stayalive -reuse -pidfile $PIDFILE $EXTRAOPTIONS
	RETVAL=$?
	[ $RETVAL -eq 0 ] && touch $LOCKFILE
	echo
    fi
}
So from what I can see 'daemon xinetd'.

I do not have a /usr/sbin/xinetd, which I cannot understand why, because I have xinetd-2.3.14-5mdv2007.1.x86_64.rpm which is supposed to install /usr/sbin/xinetd, and I have even uninstalled and reinstalled that package!
 
Old 06-23-2007, 09:46 AM   #4
wslyhbb
Member
 
Registered: Apr 2002
Location: Chicago, IL
Distribution: Mandriva 2009.0 PowerPack x86_64
Posts: 150

Original Poster
Rep: Reputation: 15
Hi, I was missing /usr/sbin/xinetd. I had previously uninstalled and reinstalled xinetd-2.3.14-5mdv2007.1.x86_64.rpm, and it had not worked, but I did it again and all is good now :-D.
 
Old 09-20-2007, 01:31 AM   #5
Skankpuss
Member
 
Registered: Nov 2003
Location: England
Distribution: mandriva 2005 le
Posts: 37
Blog Entries: 1

Rep: Reputation: 15
Cheers guys, you've just sorted out my hotwayd problem.

I, too had noted that xinetd wasn't running properly, and had even re-installed it to no avail.

I've just done another re-install and bang it works! Glad I checked all the hotwayd conf files so many times now!

Stu
(mandriva 2007.1)
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xinetd michaelford Linux - General 7 04-18-2012 02:33 AM
issue installing svnserve as xinetd service in Fedora lipidinc Linux - Software 1 03-05-2006 03:49 AM
who uses xinetd? Motown Linux - Distributions 0 07-07-2004 03:56 PM
Xinetd dead --xinetd dead but pid file exists hillxy Linux - General 1 04-15-2004 02:10 PM
xinetd gui10 Linux - Security 1 11-21-2001 01:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:04 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