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

    Ntopng dont start correctly

    Scheduled Pinned Locked Moved General pfSense Questions
    43 Posts 5 Posters 8.7k Views
    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.
    • keyserK
      keyser Rebel Alliance @stephenw10
      last edited by

      @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#L4

      Steve

      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.

      Love the no fuss of using the official appliances :-)

      keyserK 1 Reply Last reply Reply Quote 0
      • keyserK
        keyser Rebel Alliance @keyser
        last edited by

        @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

        Love the no fuss of using the official appliances :-)

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by stephenw10

          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

          keyserK 1 Reply Last reply Reply Quote 0
          • keyserK
            keyser Rebel Alliance @stephenw10
            last edited by

            @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.

            Love the no fuss of using the official appliances :-)

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              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

              keyserK fireodoF ? 3 Replies Last reply Reply Quote 0
              • keyserK
                keyser Rebel Alliance @stephenw10
                last edited by

                @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 :-)

                Love the no fuss of using the official appliances :-)

                1 Reply Last reply Reply Quote 0
                • fireodoF
                  fireodo @stephenw10
                  last edited by

                  @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 ntopng

                  Seems different?

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.8.0 CE
                  Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    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 as ntopng Community v.4.0.0 (FreeBSD 12.3)

                    Steve

                    fireodoF keyserK 2 Replies Last reply Reply Quote 1
                    • fireodoF
                      fireodo @stephenw10
                      last edited by

                      @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! :-)

                      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                      pfsense 2.8.0 CE
                      Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @stephenw10
                        last edited by A Former User

                        @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.

                        ec48572e-3eac-4315-80a3-6fb4ae886bc3-image.png

                        46f4814d-4eda-49d0-843b-0ed4ec1492b8-image.png

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Did you enable it and set an interface(s)?

                          ? 1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @stephenw10
                            last edited by

                            @stephenw10, now it works perfectly.

                            the same thing might happen to @keyser

                            1 Reply Last reply Reply Quote 0
                            • keyserK
                              keyser Rebel Alliance @stephenw10
                              last edited by

                              @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 as ntopng 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.220113

                              That 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.

                              Love the no fuss of using the official appliances :-)

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                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.pkg

                                The package itself still reports 4.0.

                                Steve

                                keyserK 1 Reply Last reply Reply Quote 0
                                • keyserK
                                  keyser Rebel Alliance @stephenw10
                                  last edited by keyser

                                  @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.pkg

                                  The 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?

                                  Love the no fuss of using the official appliances :-)

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    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/84c9db61e287493d33f24c5cb108908f56a801ca

                                    That's in 2.6.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.