时间 2008.7.8
环境 症状 yum update ntop 升级ntop到3.3.6后
# 执行/etc/init.d/ntop restart报错:
Starting ntop: Processing file /etc/ntop.conf for parameters...
Tue Jul 8 09:14:03 2008 NOTE: Interface merge enabled by default
Tue Jul 8 09:14:03 2008 Initializing gdbm databases
FATAL ERROR: Unrecognized/unprocessed ntop options...
, --user ntop, , --db-file-path /var/ntop, , --interface eth0,eth1, , , --use-syslog=local3, , , --http-server 3000, , --https-server 0, , --local-subnets 192.168.0.0/21, , ,
run ntop --help for usage information
Common problems:
-B "filter expressions" (quotes are required)
--use-syslog=facilty (the = is required)
[FAILED]
# 将start()中核心的命令 daemon $prog -d -L @/etc/ntop.conf # 改成 daemon $prog @/etc/ntop.conf -d -L