nTop:从rpmforge安装无法启动

时间:2020-02-23 14:45:06  来源:igfitidea点击:

升级到最新版本或者更新现有的运行良好的nTop后,通过执行" service ntop start"启动nTop时可能会出现此错误。

# 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

在启动文件中发现脚本错误。
编辑文件中的以下行:/etc/rc.d/init.d/ntop

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

(这是在"开始()"部分中)

替换为以下行:

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