NTOPNG Core Dump
-
Starting ntopng service errors out with.
Assertion failed: (prefix->bitlen <= patricia->maxbits), function ndpi_patricia_lookup, file third_party/src/ndpi_patricia.c, line 646.
-
i have same pb as you, maybe new version ntopng ? mine v. 5.3.220420
pid 49316 (ntopng), jid 0, uid 2006: exited on signal 10
-
-
Has anyone pinpointed what the cause is? I'm having similar problems. nothing useful in the logs. Just seems to run fine for an arbitrary amount of time then coredump. I'm starting to suspect if its a ram issue.
5.0.220113 [Community/Embedded build]
watching the logs with trace enabled I can't seem to see anything useful being logged right before a reported coredump..
18/May/2022 20:08:01 [LuaEngineNtop.cpp:2969] ntop_get_dirs() called 18/May/2022 20:08:01 [LuaEngineInterface.cpp:45] getCurrentInterface() called 18/May/2022 20:08:01 [LuaEngineInterface.cpp:2869] ntop_get_ndpi_protocols() called 18/May/2022 20:08:01 [LuaEngineInterface.cpp:45] getCurrentInterface() called 18/May/2022 20:08:01 [LuaEngineInterface.cpp:2890] ntop_get_ndpi_categories() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:2648] ntop_is_nedge() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:1021] ntop_list_dir_files() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:1027] Listing directory /var/db/ntopng/plugins0/http_lint 18/May/2022 20:08:01 [LuaEngineNtop.cpp:2969] ntop_get_dirs() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:4354] ntop_get_redis() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:2969] ntop_get_dirs() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:2969] ntop_get_dirs() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:2969] ntop_get_dirs() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:2969] ntop_get_dirs() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:2969] ntop_get_dirs() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:2969] ntop_get_dirs() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:2969] ntop_get_dirs() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:2624] ntop_is_pro() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:2969] ntop_get_dirs() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:1021] ntop_list_dir_files() called 18/May/2022 20:08:01 [LuaEngineNtop.cpp:1027] Listing directory /usr/local/share/ntopng/scripts/lua/modules/alert_definitions/flow
18/May/2022 20:15:55 [LuaEngineNtop.cpp:4354] ntop_get_redis() called 18/May/2022 20:15:55 [ThreadedActivity.cpp:395] Running /usr/local/share/ntopng/scripts/callbacks/system/discover.lua (iface=0x21d3f000) 18/May/2022 20:15:55 [LuaEngineNtop.cpp:2969] ntop_get_dirs() called 18/May/2022 20:15:55 [LuaEngineInterface.cpp:91] ntop_get_interface_names() called 18/May/2022 20:15:55 [LuaEngineInterface.cpp:106] Returning name [0][mvneta1] 18/May/2022 20:15:55 [LuaEngineInterface.cpp:106] Returning name [1][mvneta2] 18/May/2022 20:15:55 [LuaEngineNtop.cpp:4354] ntop_get_redis() called 18/May/2022 20:15:55 [LuaEngineNtop.cpp:239] ntop_is_shutdown() called 18/May/2022 20:15:55 [LuaEngineInterface.cpp:138] ntop_select_interface() called 18/May/2022 20:15:55 [Ntop.cpp:1296] No allowed interface found for mvneta1 18/May/2022 20:15:55 [LuaEngineInterface.cpp:45] getCurrentInterface() called 18/May/2022 20:15:55 [LuaEngineInterface.cpp:3325] ntop_get_interface_stats() called 18/May/2022 20:15:55 [LuaEngineNtop.cpp:4354] ntop_get_redis() called 18/May/2022 20:15:55 [LuaEngineNtop.cpp:239] ntop_is_shutdown() called 18/May/2022 20:15:55 [LuaEngineInterface.cpp:138] ntop_select_interface() called 18/May/2022 20:15:55 [NetworkInterface.cpp:1789] Purged 9/394 idle flows on mvneta2 18/May/2022 20:15:55 [Ntop.cpp:1296] No allowed interface found for mvneta2 18/May/2022 20:15:55 [LuaEngineInterface.cpp:45] getCurrentInterface() called 18/May/2022 20:15:55 [LuaEngineInterface.cpp:3325] ntop_get_interface_stats() called
18/May/2022 20:19:46 [LuaEngineNtop.cpp:4354] ntop_get_redis() called 18/May/2022 20:19:46 [LuaEngineInterface.cpp:45] getCurrentInterface() called 18/May/2022 20:19:46 [LuaEngineInterface.cpp:318] ntop_interface_is_packet_interface() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:378] ntop_is_not_empty_file() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:239] ntop_is_shutdown() called 18/May/2022 20:19:46 [LuaEngineInterface.cpp:138] ntop_select_interface() called 18/May/2022 20:19:46 [Ntop.cpp:1296] No allowed interface found for mvneta1 18/May/2022 20:19:46 [LuaEngineInterface.cpp:45] getCurrentInterface() called 18/May/2022 20:19:46 [LuaEngineInterface.cpp:45] getCurrentInterface() called 18/May/2022 20:19:46 [LuaEngineInterface.cpp:3325] ntop_get_interface_stats() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:4354] ntop_get_redis() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:4354] ntop_get_redis() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:2648] ntop_is_nedge() called 18/May/2022 20:19:46 [LuaEngineInterface.cpp:45] getCurrentInterface() called 18/May/2022 20:19:46 [LuaEngineInterface.cpp:318] ntop_interface_is_packet_interface() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:378] ntop_is_not_empty_file() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:4354] ntop_get_redis() called 18/May/2022 20:19:46 [LuaEngineInterface.cpp:45] getCurrentInterface() called 18/May/2022 20:19:46 [LuaEngineInterface.cpp:318] ntop_interface_is_packet_interface() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:378] ntop_is_not_empty_file() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:4354] ntop_get_redis() called 18/May/2022 20:19:46 [LuaEngineInterface.cpp:45] getCurrentInterface() called 18/May/2022 20:19:46 [LuaEngineInterface.cpp:318] ntop_interface_is_packet_interface() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:378] ntop_is_not_empty_file() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:1068] ntop_gettimemsec() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:1068] ntop_gettimemsec() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:239] ntop_is_shutdown() called 18/May/2022 20:19:46 [LuaEngineNtop.cpp:855] ntop_msleep() called
-
@bstriker Nope, I've since removed it. I have yet to see a fix for it.
-
@visseroth I have this same problem for a while now yet there seems to be no fix
-
@pigman9080 said in NTOPNG Core Dump:
@visseroth I have this same problem for a while now yet there seems to be no fix
It is painful if more and more people are getting this issue. I'm affected, too.
Jan 17 15:30:02 kernel pid 17736 (ntopng), jid 0, uid 0: exited on signal 6 (core dumped)
Jan 17 08:16:55 ntopng 44777 [HTTPserver.cpp:1686] ERROR: Either port in use or another ntopng instance is running (using the same port)
Jan 17 08:16:34 php-fpm 5949 /rc.start_packages: The command '/usr/local/etc/rc.d/ntopng.sh stop' returned exit code '1', the output was 'No matching processes were found No matching processes were found'
Jan 17 00:56:14 ntopng 52948 [Ntop.cpp:237] ERROR: Another ntopng instance is running...
Jan 17 00:55:54 php-fpm 61466 /rc.start_packages: The command '/usr/local/etc/rc.d/ntopng.sh stop' returned exit code '1', the output was 'No matching processes were found No matching processes were found' -
@motivio Truthfully I have no idea what's going on. I uninstalled it for a time and then reinstalled it to see if it works and it does seem to be working.
Maybe go to NTopNG settings and uncheck "Keep ntopng settings, graphs and traffic data.", save, remove the package, reboot then try to re-install it because I have no idea why mine started to work again. -
I have fixed the issue for myself by not using the package manager in pfsense, but rather installing directly on the pfsense shell. You can follow this documentation:
https://www.ntop.org/guides/ntopng/third_party_integrations/pfsense.html
My ntopng has been up for 76 days now
-
@pigman9080 ahh, so it's a GUI bug, good to know
-
Here's some irony, it was working, now I'm getting a core dump again, joy!
Tried the how to, yea, I'll skip that.