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

Ntopng - regular errors

Scheduled Pinned Locked Moved pfSense Packages
6 Posts 3 Posters 1.8k 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.
  • A
    asterix
    last edited by Jan 28, 2015, 6:18 PM

    Getting these errors in the system logs. Please let me know what I need to do to fix it. Reboots have not helped.

    Jan 28 13:12:00 ntopng: [Lua.cpp:2539] WARNING: Script failure [/usr/local/share/ntopng/scripts/callbacks/second.lua][error loading module 'lua_utils' from file '/usr/local/share/ntopng/scripts/lua/modules/lua_utils.lua': cannot open /usr/local/share/ntopng/scripts/lua/modules/lua_utils.lua: No such file or directory]

    Jan 27 21:58:40 ntopng: [Geolocation.cpp:59] WARNING: Unable to read GeoIP database /usr/local/share/ntopng/httpdocs/geoip/GeoLiteCityv6.dat
    Jan 27 21:58:40 ntopng: [Geolocation.cpp:59] WARNING: Unable to read GeoIP database /usr/local/share/ntopng/httpdocs/geoip/GeoLiteCity.dat
    Jan 27 21:58:40 ntopng: [Geolocation.cpp:59] WARNING: Unable to read GeoIP database /usr/local/share/ntopng/httpdocs/geoip/GeoIPASNumv6.dat
    Jan 27 21:58:40 ntopng: [Geolocation.cpp:59] WARNING: Unable to read GeoIP database /usr/local/share/ntopng/httpdocs/geoip/GeoIPASNum.dat
    Jan 27 21:58:39 ntopng: [Geolocation.cpp:59] WARNING: Unable to read GeoIP database /usr/local/share/ntopng/httpdocs/geoip/GeoLiteCityv6.dat
    Jan 27 21:58:39 ntopng: [Geolocation.cpp:59] WARNING: Unable to read GeoIP database /usr/local/share/ntopng/httpdocs/geoip/GeoLiteCity.dat
    Jan 27 21:58:39 ntopng: [Geolocation.cpp:59] WARNING: Unable to read GeoIP database /usr/local/share/ntopng/httpdocs/geoip/GeoIPASNumv6.dat
    Jan 27 21:58:39 ntopng: [Geolocation.cpp:59] WARNING: Unable to read GeoIP database /usr/local/share/ntopng/httpdocs/geoip/GeoIPASNum.dat

    1 Reply Last reply Reply Quote 0
    • A
      asterix
      last edited by Jan 28, 2015, 6:43 PM

      Got more…

      Jan 28 13:36:35 ntopng: [Lua.cpp:2775] WARNING: Script failure [/usr/local/share/ntopng/scripts/lua/get_flow_data.lua][error loading module 'flow_utils' from file './flow_utils.lua': cannot open ./flow_utils.lua: No such file or directory]
      Jan 28 13:36:35 ntopng: [Lua.cpp:2775] WARNING: Script failure [/usr/local/share/ntopng/scripts/lua/get_flow_data.lua][error loading module 'template' from file '/usr/local/share/ntopng/scripts/lua/modules/template.lua': cannot open /usr/local/share/ntopng/scripts/lua/modules/template.lua: No such file or directory]
      Jan 28 13:33:46 ntopng: [Lua.cpp:72] ERROR: ntop_find_interface : expected string, got number
      Jan 28 13:33:46 ntopng: [Lua.cpp:72] ERROR: ntop_find_interface : expected string, got number
      Jan 28 13:33:46 ntopng: [Lua.cpp:72] ERROR: ntop_find_interface : expected string, got number
      Jan 28 13:33:46 ntopng: [Lua.cpp:72] ERROR: ntop_find_interface : expected string, got number
      Jan 28 13:33:46 ntopng: [Lua.cpp:72] ERROR: ntop_find_interface : expected string, got number
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/13/20.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/13/15.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/13/10.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/13/05.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/13/00.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/55.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/50.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/45.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/40.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/35.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/30.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/25.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/20.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/15.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/10.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/05.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/12/00.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/11/55.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:98] WARNING: SQL Error: no such table: flows from /var/db/ntopng/2/flows/2015/01/28/11/50.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/09/45.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/09/40.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/09/35.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/09/30.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/09/25.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/09/20.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/09/15.sqlite
      Jan 28 13:33:04 ntopng: [HistoricalInterface.cpp:83] WARNING: Missing file: /var/db/ntopng/2/flows/2015/01/28/09/10.sqlite

      1 Reply Last reply Reply Quote 0
      • A
        asterix
        last edited by Jan 30, 2015, 1:13 AM

        Anyone?

        1 Reply Last reply Reply Quote 0
        • C
          Cino
          last edited by Jan 30, 2015, 5:42 PM

          open up a bug report… I see the same thing in my box using 2.2 amd64

          i looked to see if they could be /usr/pbi/ntopng-amd64/local/share/ntopng/httpdocs, they aren't there.

          1 Reply Last reply Reply Quote 0
          • C
            charliem
            last edited by Feb 1, 2015, 1:31 AM

            You can manually add the geoip files to get rid of the geoip errors (follow the procedure in this thread)

            I've seen the lua_utils errors, but not the sqlite errors.  Seems that it bails when looking for an interface; maybe that missing interface causes the sqlite problems?  Note that the directories in the error messages do not reflect the pfSense locations.

            1 Reply Last reply Reply Quote 0
            • C
              Cino
              last edited by Feb 1, 2015, 1:59 AM

              Thanks!

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received