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

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

Scheduled Pinned Locked Moved pfSense Packages
4 Posts 3 Posters 2.2k Views
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 Sep 17, 2011, 4:24 PM Sep 17, 2011, 11:50 AM

    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 Sep 17, 2011, 2:58 PM Sep 17, 2011, 2:55 PM

      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
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Sep 26, 2011, 7:22 PM

        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 Sep 27, 2011, 1:34 PM

          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.
            This community forum collects and processes your personal information.
            consent.not_received