/etc/init.d/ntop checks for /var/lib/ntop/ntop_pw.db before starting. But it is often useful to have ntop data located elsewhere. It's even temptingly configurable in /etc/conf.d/ntop. Reproducible: Always Steps to Reproduce: 1. install and configure ntop 2. mv /var/lib/ntop /some/where/else/ 3. $EDITOR /etc/conf.d/ntop to specify the new location 4. /etc/init.d/ntop restart Actual Results: # /etc/init.d/ntop restart * You need to set a password first by running * ntop --set-admin-password * ERROR: ntop failed to start Expected Results: # /etc/init.d/ntop restart * Stopping ntop ... [ ok ] * Starting ntop ... [ ok ]
Created attachment 307483 [details, diff] Suggested changes to /etc/{conf,init}.d/ntop This patch uses a $NTOP_DATA_DIR in /etc/conf.d/ntop
removed from the tree