我要啟動 ntop時,/etc/init.d/ntop start 出現
正在停止 [ 確定 ]
正在啟動 ntop: Processing file /etc/ntop.conf for parameters…
Thu Jul 7 15:34:46 2011 NOTE: Interface merge enabled by default
Thu Jul 7 15:34:46 2011 Initializing gdbm databases
FATAL ERROR: Unrecognized/unprocessed ntop options…
, –user ntop, , –db-file-path /var/ntop, , , , , , , –https-server 3001, , –local-subnets 10.1.1.0/24, , , –daemon,run ntop –help for usage information
Common problems:
-B “filter expressions” (quotes are required)
–use-syslog=facilty (the = is required)[失敗]
解決方式是: 編輯/etc/init.d/ntop
在 start() 的地方
將
daemon $prog -d -L @/etc/ntop.conf
改為
daemon $prog @/etc/ntop.conf
也就是去掉 -d -L
留言