cistron Radius

Discussion in 'General' started by zaqavis, May 12, 2006.

  1. zaqavis

    zaqavis New Member

    I have installed Cistron radiusd-cistron-1.5.4-1
    but they cant start service
    eroor found
    AAA : AAA server: /etc/init.d/radius line no. 27 eroor . command not found
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in line 27 of /etc/init.d/radius?
     
  3. zaqavis

    zaqavis New Member

    Radius

    full configuraiton of radius file

    eroor is starting AAA server radwatch
    /etc/init.d/radiusd
    line 27
    start- stop daemon
    commnad not found radiusd.


    #!/bin/sh
    #
    # radiusd Start the radius daemon.
    #
    # This is a script suitable for the Debian Linux distribution.
    # Copy it to /etc/init.d/radiusd, make it executable, and execute
    # "update-rc.d radiusd defaults 50".
    #

    RADIUSD=/usr/sbin/radiusd
    WATCHER=/usr/sbin/radwatch
    NAME1=radiusd
    NAME2=radwatch

    test -f $RADIUSD || exit 0

    case "$1" in
    start)
    if [ ! -f /var/log/radutmp ]
    then
    :>/var/log/radutmp
    fi
    echo -n 'Starting AAA server: '
    if [ -x $WATCHER ]
    then
    echo -n "radwatch "
    start-stop-daemon --start --quiet --startas $WATCHER \
    --pidfile /var/run/$NAME2.pid --exec $RADIUSD -- -y
    else
    start-stop-daemon --start --quiet \
    --pidfile /var/run/$NAME1.pid --exec $RADIUSD -- -y
    fi
    echo "radiusd."
    ;;
    stop)
    [ -z "$2" ] && echo -n 'Stopping AAA server: '
    if [ -x $WATCHER ]
    then
    [ -z "$2" ] && echo -n "radwatch "
    start-stop-daemon --stop --quiet \
    --pidfile /var/run/$NAME2.pid -- exec $RADWATCH
    #killall -9 radwatch 2>/dev/null
    else
    start-stop-daemon --stop --quiet \
    --pidfile /var/run/$NAME1.pid --exec $RADIUSD
    fi
    #killall radiusd 2>/dev/null
    [ -z "$2" ] && echo "radiusd."
    ;;
    reload|restart)
    sh /etc/init.d/radiusd stop quiet
    sleep 3
    /etc/init.d/radiusd start
    ;;
    *)
    echo "Usage: /etc/init.d/$NAME1 {start|stop|reload}"
    exit 1
    esac

    exit 0
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -l /usr/sbin/radiusd
    ?
     
  5. zaqavis

    zaqavis New Member

    Radius

    ls -l /usr/sbin/radiusd

    -rwxr-xr-x 1 root root 149297 oct 29 1998 /usr/sbin/radiusd
     
  6. falko

    falko Super Moderator ISPConfig Developer

    And what's the output of
    Code:
    ls -l /usr/sbin/radwatch
    ?
     
  7. zaqavis

    zaqavis New Member

    Radius

    output of radwatch is

    -rwxr-xr-x 1 roo root 591 oct29 1998 /uysr/sbin/radwatch
     
  8. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    which start-stop-daemon
    ?
     
  9. zaqavis

    zaqavis New Member

    Restart Linux 8.0

    Can is it possible
    linux start without check fsck.
    file system is on EXT2

    Regards
     
  10. zaqavis

    zaqavis New Member

    Radius

    output of start-stop -daemon


    /usr/bin/which: no start-stop-daemon in (/usr/local/sbin: /usr/local/bin:/sbin: /bin: /usr/sbin /usr/bin: /usr/ X1R6/bin: /root/bin)
     
  11. falko

    falko Super Moderator ISPConfig Developer

    Ok, that's the problem. Which distribution do you use?
     
  12. zaqavis

    zaqavis New Member

    Radius

    distrubition is

    REDHAT 8.0
     
  13. falko

    falko Super Moderator ISPConfig Developer

    start-stop-daemon is used by Debian. Is it possible that your init script is for Debian, but not for RedHat 8?
     
  14. zaqavis

    zaqavis New Member

    Radius

    Another server same configuration is running.
     
  15. falko

    falko Super Moderator ISPConfig Developer

    Is it also a RedHat 8 system? What's the output of
    Code:
    which start-stop-daemon
    there?
     
  16. zaqavis

    zaqavis New Member

    radius

    /usr/bin/which: no start-stop-daemon in (/usr/local/bin:/bin:/usr/bin:/usr/X11R6
    /bin:/home/qavi/bin)
     
  17. falko

    falko Super Moderator ISPConfig Developer

    I guess you installed the wrong init script on your first server (the one for Debian), because cistron Radius is working on your second server which also does not have start-stop-daemon.
     
  18. zaqavis

    zaqavis New Member

    radius cistron

    whenever I installed Cistron Radius on REDHAT linux 8.0
    found warning message.

    (radiusd-cistron -1.5.4-1.i386. rpm ... V3 RSA/MD5 Signature: NO key idcba29bf9.

    what is this, how is remove.
     
  19. falko

    falko Super Moderator ISPConfig Developer

    I think the rpm package comes without an MD5 hash. You can ignore it.
     
  20. zaqavis

    zaqavis New Member

    I have installed radiusd-cistron-1.5.4-1.i386.rpm in linux enterprise 4
    but it is not working .

    when I remove rpm is showing error the rpm is not installed. then I install message shows rpm is installed.

    any idea.
     

Share This Page