Ntopng dont start correctly
-
@stephenw10 hello Steve,
yeah, i start ntonpg by service ntopng start i'm looking on service it seems good but i can't acces webgui you can see in picture
and on the web
i tried deleted coockies but it doen't work -
Ok, so the page is broken: 'too many redirects'
That's not the pfSense package, ntopng 5.1 is not from that.
Remove that and use the pfSense package.
Steve
-
@stephenw10 hello steve,
currently i'm testing a script install (entreprise M version),
of course if i install using pfsense package it will run but with community version,
i want to save internet access log of people in my company, so i just set it up with script -
Ah, OK. Probably should have added that in the first post!
It could be any number of things then. We are going to need to see exactly what you're doing to have any chance of assisting you here then.
Steve
-
@stephenw10 that my bad
so i have updated pfsense to 2.5.2, and i install ntopng according to above link https://www.ntop.org/guides/ntopng/third_party_integrations/pfsense.html#package-installation,but when i start ntopng by : service ntopng start, I have this error again,, i tried unistall and install but that's seems doesn't work too
if i disable ntopng and start it with : ntopng --community it works again
-
Hmm, so the install works fine when run as 'community'? You might need to hit the ntop forums for that it's not something I've ever tried.
-
@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.