MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.