Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

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

    pfSense Packages
    3
    4
    2.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      packet_herder
      last edited by

      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…]

      1 Reply Last reply Reply Quote 0
      • K
        klamath
        last edited by

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

        HP ProLiant MicroServer N40L - 2GB - 250G HD - 3 NIC Intel PRO/1000 MT Gigabit PCI
        pfSense 2.0.1-RELEASE (amd64)

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

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

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • P
            packet_herder
            last edited by

            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?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.