Wednesday, May 22, 2013

NTOP: Failed to start on SuSE 11

in /etc/init.d/ntop,

Comment out as below

                ### if ! /usr/sbin/passcheck ; then
                ####    echo -e -n "\nntop admin password is not yet set. "
                ####    echo -e -n "Run \n\t${warn}ntop -A -u $NTOP_USER${rc_reset}\nmanually "
                ####    rc_status -u
                ####    exit
                ####else
                        if [ -z $NTOP_OPTIONS ]; then
                                setup_options
                        fi
                        startproc -q $PROGRAM $NTOP_OPTIONS
                #### fi
                rc_status -v
        ;;


and ensure below variable has correct value.
         NTOP_OPTIONS="-P /var/ntop"


other:
/etc/sysconfig/ntop


No comments:

Post a Comment