Ntopng dont start correctly
-
@stephenw10 hello Steve,
i was posted on his forum but seems they considered this is an error strange -
@stephenw10 said in Ntopng dont start correctly:
Hmm, it's possible the port version is out of sync with the ntop version:
https://github.com/pfsense/FreeBSD-ports/blob/RELENG_2_6_0/net/ntopng/Makefile#L4Steve
Hi Steve
Do you have any updates on this? Regardless of what I do on my 22.01rc, the installed ntopNG package remains 4.0.0. Incidentally, it throws http errors on quite a few of the configuration/preference links in the interface - don't know if this is related to the version issue.
It show flows and so on and "works", but it seems less than solid. -
@keyser Examples are like clicking on a HOST I get:
You're not supposed to be here!
Internal server error
__.local/share/ntopng/scripts/lua/modules/plugins_utils.lua:1056: module 'active_monitoring.am_utils' not found:__no field package.preload['active_monitoring.am_utils']__no file '/var/db/ntopng/plugins0/modules/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/active_monitoring/am_utils.lua'__no file '/var/db/ntopng/plugins0/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/notifications/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/pools/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/alert_store/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/pools/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/toasts/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/recipients/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/pools/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/active_monitoring/am_utils.lua'__no file '/var/db/ntopng/plugins0/alert_definitions/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/active_monitoring/am_utils.lua'__no file '/usr/local/share/ntopng/scripts/lua/modules/active_monitoring/am_utils.lua'__no file -
Yeah, it is ntop-ng version 4, the FreeBSD package version is, confusingly, 5.0.
Unfortunately I have no particular insight into the internal workings of ntop-ng. Development time is extremely limited right now as we push to get 22.01/2.6 released. Hopefully once that is out the door there will be more cycles to look into things like this.
Steve
-
@stephenw10 Yeah, I understand that.
But are you saying the ntopNG v4.0.0 that is installed in the pfSense ntopNG package is the same as the freeBSD ntopNG package version 5.2? Otherwise I'm a bit confused by your statement.
-
The FreeBSD pkg that gets installed for the pfSense ntop-ng package is version 5.0:
[22.01-RC][admin@6100-2.stevew.lan]/root: pkg search ntop ntopng-5.0.d20210923,1 Network monitoring tool with command line and web interfaces pfSense-pkg-ntopng-0.8.13_10 pfSense package ntopng
But it reports as ntop-ng 4.0 in the ntop webgui.
Steve
-
@stephenw10 said in Ntopng dont start correctly:
The FreeBSD pkg that gets installed for the pfSense ntop-ng package is version 5.0:
[22.01-RC][admin@6100-2.stevew.lan]/root: pkg search ntop ntopng-5.0.d20210923,1 Network monitoring tool with command line and web interfaces pfSense-pkg-ntopng-0.8.13_10 pfSense package ntopng
But it reports as ntop-ng 4.0 in the ntop webgui.
Steve
Huhh, seems a little strange that the webGUI in the ntopNG install is modified by the pfSense package manager to report v4.0.0 when it is a 5.0 daily build from september 2021.
But if you say so :-) -
@stephenw10 said in Ntopng dont start correctly:
But it reports as ntop-ng 4.0 in the ntop webgui.
[2.5.2-RELEASE][root@fireodo.lan]/root: pkg search ntop
ntopng-4.2.d20210309,1 Network monitoring tool with command line and web interfaces
pfSense-pkg-ntopng-0.8.13_10 pfSense package ntopngSeems different?
-
Yes, in 2.5.2 (or 21.05).
In 22.01/2.6 the FreeBSD port used is v5.0.
The ntop-ng gui reports asntopng Community v.4.0.0 (FreeBSD 12.3)
Steve
-
@stephenw10 said in Ntopng dont start correctly:
Yes, in 2.5.2 (or 21.05).
In 22.01/2.6 the FreeBSD port used is v5.0.AhA - thanks! :-)
-
@stephenw10 said in Ntopng dont start correctly:
The FreeBSD pkg that gets installed for the pfSense ntop-ng package is version 5.0:
Excuse me for taking over your post, but I just installed it and it doesn't start.
-
Did you enable it and set an interface(s)?
-
@stephenw10, now it works perfectly.
the same thing might happen to @keyser
-
@stephenw10 said in Ntopng dont start correctly:
Yes, in 2.5.2 (or 21.05).
In 22.01/2.6 the FreeBSD port used is v5.0.
The ntop-ng gui reports asntopng Community v.4.0.0 (FreeBSD 12.3)
Steve
Hi Steve
Are you sure about that. If I run a check from the commandline it reports:
#: ntopng --version
Version: 4.0.0 [Community build]
GIT rev: :5.0.220113That seems like a packaged version of NtopNG v4.0 from github where the package version is 5.0.xx - or am I misunderstanding something? Everything in GUI, HELP->About and shell says NtopNG v4.0.0
Since I'm new to ntopng, I dunno how to tell the versions apart.
-
Yeah, it's the port version which is, confusingly, at 5.
https://pkg00-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/All/ntopng-5.0.d20210923%2C1.pkgThe package itself still reports 4.0.
Steve
-
@stephenw10 said in Ntopng dont start correctly:
Yeah, it's the port version which is, confusingly, at 5.
https://pkg00-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/All/ntopng-5.0.d20210923%2C1.pkgThe package itself still reports 4.0.
Steve
So just to be clear - it really is NtopNG v4.0.0?
And the internal version number of the port package/work to get it running on freeBSD is 5.0.x?Since it seems NtopNG 5.2 is available om freeBSD, is there any chance it could be packaged for pfSense any time soon?
-
Well that's what the gui shows. So... it could be gui version I guess. I won't pretend to be an expert on ntop-ng!
It sure looks like it's v5.0 in the port:
https://github.com/pfsense/FreeBSD-ports/commit/84c9db61e287493d33f24c5cb108908f56a801caThat's in 2.6.