Navigation

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

    Ntopng - regular errors

    pfSense Packages
    3
    6
    1473
    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

      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

        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

          Anyone?

          1 Reply Last reply Reply Quote 0
          • C
            Cino last edited by

            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

              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

                Thanks!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Products

                • Platform Overview
                • TNSR
                • pfSense Plus
                • Appliances

                Services

                • Training
                • Professional Services

                Support

                • Subscription Plans
                • Contact Support
                • Product Lifecycle
                • Documentation

                News

                • Media Coverage
                • Press
                • Events

                Resources

                • Blog
                • FAQ
                • Find a Partner
                • Resource Library
                • Security Information

                Company

                • About Us
                • Careers
                • Partners
                • Contact Us
                • Legal
                Our Mission

                We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                Subscribe to our Newsletter

                Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                © 2021 Rubicon Communications, LLC | Privacy Policy