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

    NtopNG 0.8.1 error

    Scheduled Pinned Locked Moved Traffic Monitoring
    5 Posts 3 Posters 2.0k 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.
    • M
      markn62
      last edited by

      On a full install of PfSense 2.2.4-RELEASE (amd64). Just upgraded the NtopNG package to 0.8.1 and now get the error shown below every time I visit the Dashboard. The fix?

      Crash report begins.  Anonymous machine information:
      amd64
      10.1-RELEASE-p15
      FreeBSD 10.1-RELEASE-p15 #0 c5ab052(releng/10.1)-dirty: Sat Jul 25 20:20:58 CDT 2015    root@pfs22-amd64-builder:/usr/obj.amd64/usr/pfSensesrc/src/sys/pfSense_SMP.10

      Crash report details:
      PHP Errors:
      [10-Oct-2015 10:30:28 America/Los_Angeles] PHP Fatal error:  Cannot redeclare ntopng_update_geoip() (previously declared in /etc/inc/pkg-utils.inc(699) : eval()'d code:127) in /usr/local/pkg/ntopng.inc on line 290

      1 Reply Last reply Reply Quote 0
      • NetViciousN
        NetVicious
        last edited by

        Same problem here. Did you fixed it ?

        ..//\/ e t . \/ i c i o u s ..

        1 Reply Last reply Reply Quote 0
        • M
          markn62
          last edited by

          Kindof, a work-around. Added to cron on a weekly schedule the following;

          cd /usr/pbi/ntopng-amd64/local/share/ntopng/httpdocs/geoip;fetch http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz;fetch http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz;fetch http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz;fetch http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz;gunzip -f GeoLiteCity.dat.gz GeoLiteCityv6.dat.gz GeoIPASNum.dat.gz GeoIPASNumv6.dat.gz;

          I see there is a 0.8.2 pkg upgrade that may fix this. I'll try upgrading this weekend.

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            It's not redeclared anywhere. And it's not on line 290 either, never has been.

            https://github.com/pfsense/pfsense-packages/blob/master/config/ntopng/ntopng.inc#L263

            Uninstall and reinstall the package, god knows what crappy mixture of things you have there.

            1 Reply Last reply Reply Quote 0
            • M
              markn62
              last edited by

              Make that two crappy mixtures the package installer created.

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