Ntop: Error on startup: Invalid argument supplied for foreach()…



  • When the ntop package is started, the following error occurs:

    Warning: Invalid argument supplied for foreach() in /etc/inc/pkg-utils.inc(412) : eval()'d code on line 22

    Naturally the service is then shown as stopped. This happens when you then attempt to start it again. I have also uninstalled then reinstalled the package to no effect.

    Current version: 2.0-RELEASE  (i386) built on Tue Sep 13 17:28:43 EDT 2011

    A few snapshots back (within a week) I had successfully started ntop and was exploring its web interface, so something broke recently. This isnt a big deal as I am just starting using pfsense and wanted to get an idea of what it can do (so I dont depend on ntop atm) - does anyone else get this error?

    Thanks.

    [Updated with better error line…]



  • I've got the same issue!  >:(
    I finally uninstall the package bc it's dont work!


  • Rebel Alliance Developer Netgate

    Perhaps you didn't actually select any interfaces for ntop to listen on in the ntop settings?



  • Hi jimp,

    Thanks - I went to the ntop settings and selected the relevant interfaces, and saved (note you have to also provide the ntop password even if you arent changing it??). I dont know what got rid of the interfaces I had access to ntop before?


Locked