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
      last edited by

      i haved unistalled and re-installed; but it same too, i don't know why, i retarted pfsense too, you can see port 3000 is opened in the picture bellow,

      as i tell you, i stoped service ntop and start it by command : " ntopng -F" it working as well,
      but if you turn on service ntopng by command "service ntopng start " it doen't work anymore
      i don't know why

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

        If it doesn't show as a service in the gui it is not installed correctly. Check the install logs in /conf after you have removed and then re-added it.

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

          I get the impression that even when I install on a pfsense lab, I don't see the ntopng service in the serivce section, and it works
          but not smoth...

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

            It should show as a service like:

            Screenshot from 2022-01-18 15-21-24.png

            If it isn't it has not installed correctly. Check the install logs for errors.

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

              @stephenw10 Perhaps this is like most other users trying pftopNG. The Package in packagemanger is buggy as he** at best, and in dire need of an upgrade.
              I would guess he like most of us have tried to upgrade or even install a never version manually (which is needed as the packagemanager version is 3.4).

              If you install it manually, does the service still show up in the services dashboard? Since a manual install does not do all the pfSense config.xml config integrations, I would guess it does not.

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

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

                No if you only install the FreeBSD ntop-ng package none of the services are registered etc so nothing is registered. And you also wouldn't get the right start/stop scripts so I wouldn't expect anything to work.

                In 22.01/2.6-RC ntop-ng is at v5.0

                Steve

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

                  @stephenw10 Whooa, that is GREAT news. I really hope that package can reach “well working and integrated” state again.

                  In my opinion pfSense´s biggest flaw is the lack of an easy to use and integrated GUI based traffic monitoring/drilldown utility.

                  NtopNG delivers on some of those criterias and are the only option at this time. So it will be great if it is elevated to working and supported state again :-)

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

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

                    @stephenw10 Hmm, I just tried updating my new sg-6100 (not yet in service) to 22.01rc
                    It only shows ntopNG 4.0.0 - is that because the 5.0 package only becomes available when 22.01 goes release?

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

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

                      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

                      keyserK 1 Reply Last reply Reply Quote 0
                      • keyserK keyser referenced this topic on
                      • T
                        tuanvcuu
                        last edited by

                        hello everyone,
                        thank for your interresting my post

                        i have follow install ntopng via link : https://www.ntop.org/guides/ntopng/third_party_integrations/pfsense.html#starting-services-on-boot
                        but it doesn't work correctly,

                        i tried re-install ntopng but it don't work too :(

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

                          after deleted and install i got this error:

                          ntopng	93984	[Utils.cpp:684] WARNING: mkdir(/var/db/ntopng) failed [13/Permission denied]
                          
                          ntopng	93984	[Utils.cpp:684] WARNING: mkdir(/var/db/ntopng/6/rrd/l4protos/) failed [2/No such file or directory]
                          
                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            @tuanvcuu said in Ntopng dont start correctly:

                            https://www.ntop.org/guides/ntopng/third_party_integrations/pfsense.html#starting-services-on-boot

                            Hmm, you shouldn't need to do any of that, the pfSense package does it for you.

                            I suggest you remove anything you have added manually and uninstall any packages. Then install the pfSense package and only that.

                            Steve

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