Ntopng - regular errors
-
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 -
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 -
Anyone?
-
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.
-
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.
-
Thanks!