Bug 65891 - error in /etc/init.d/ypxfrd
error in /etc/init.d/ypxfrd
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: ypserv (Show other bugs)
7.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Steve Dickson
Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-06-03 16:44 EDT by John McMonagle
Modified: 2015-01-07 18:56 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-01-12 21:30:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John McMonagle 2002-06-03 16:44:23 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.9-31 i686)

Description of problem:
error in /etc/init.d/ypxfrd
executable is rpc.ypxfrd  not  ypxfrd

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.run /etc/init.d/ypxfrd start
2.
3.
	

Actual Results:  don't start. Pretty obvious

Expected Results:  should run

Additional info:

my edit.
#!/bin/bash
#
# ypxfrd:       Starts the ypxfrd daemon
#
# Version:      @(#) /etc/init.d/ypxfrd 1.0
#
# chkconfig: - 26 74
# description: ypxfrd should be started in addition to ypserv to accelerate \
#              transferring yp maps.
# processname: ypxfrd

# Source function library.
[ -f /etc/rc.d/init.d/functions ] || exit 0
. /etc/rc.d/init.d/functions

# getting the YP-Domainname
. /etc/sysconfig/network

RETVAL=0

start() {
        echo -n $"Starting YP map server: "
        daemon rpc.ypxfrd $YPXFRD_ARGS
        ETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/ypxfrd
        return $RETVAL
}

stop() {
        echo -n $"Stopping YP map server: "
        killproc ypxfrd
        RETVAL=$?
        [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/ypxfrd
        echo
        return $RETVAL
}

# See how we were called.
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  status)
        status ypxfrd
        ;;
  restart|reload)
        stop
        start
        ;;
  condrestart)
        if [ -f /var/lock/subsys/ypxfrd ]; then
            stop
            start
        fi
        ;;
  *)
        echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}"
        exit 1
esac

exit $RETVAL
Comment 1 Miloslav Trmac 2003-12-03 15:11:16 EST
This is fixed in ypserv-2.8-3 (FC 1).
Triage->Currentrelease

Note You need to log in before you can comment on or make changes to this bug.