nTop : Install from rpmforge failed to start

By | March 29, 2011

After upgrading to latest version or update your existing well working nTop, you may expect this error when starting nTop by doing “service ntop start”.

# service ntop start
Starting ntop:    Processing file /etc/ntop.conf for parameters...
Mon Nov 24 23:56:36 2008  NOTE: Interface merge enabled by default
Mon Nov 24 23:56:36 2008  Initializing gdbm databases
FATAL ERROR: Unrecognized/unprocessed ntop options...
--user ntop,
--db-file-path /var/ntop,

run ntop --help for usage information

 

A script error in the startup file has been discovered.  Edit the following line in file : /etc/rc.d/init.d/ntop

daemon $prog -d -L @/etc/ntop.conf

(This is in the “start ()” section)

Replace with the line:

daemon $prog @/etc/ntop.conf -d -L