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.
    • T
      tuanvcuu @stephenw10
      last edited by

      @stephenw10 hello Steve,

      i created a pfsense lab and i installed ntopng as a link i give you, that work as well,

      but on another pfsense i remove and re install it dont work anymore, if i start with ntopng --community it work but not work with service ntonpg start

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

        So exactly what is the history of the install that is not working?

        T 1 Reply Last reply Reply Quote 0
        • T
          tuanvcuu @stephenw10
          last edited by tuanvcuu

          @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
          error 2.PNG
          and on the web
          Inkederror 1_LI.jpg
          i tried deleted coockies but it doen't work

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

            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

            T 1 Reply Last reply Reply Quote 0
            • T
              tuanvcuu @stephenw10
              last edited by

              @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

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

                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

                T 1 Reply Last reply Reply Quote 1
                • T
                  tuanvcuu @stephenw10
                  last edited by

                  @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,1642604792043-inkederror-1_li.jpg, 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

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

                    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.

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tuanvcuu @stephenw10
                      last edited by

                      @stephenw10 hello Steve,
                      i was posted on his forum but seems they considered this is an error strange

                      1 Reply Last reply Reply Quote 0
                      • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.