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

    Install ntopng conflict

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    23 Posts 4 Posters 1.9k 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.
    • V
      Varnish @Gertjan
      last edited by

      @Gertjan I see nothing in the system logs abput it trying to start

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

        You enabled it first in Diag > ntop-ng settings I assume?

        Where are you seeing it not start? More info needed!

        Steve

        V 1 Reply Last reply Reply Quote 0
        • V
          Varnish @stephenw10
          last edited by

          @stephenw10 Yes, i did.

          Also earlier i had a big issue that made my whole pfSense get fucked up by installing this script:

          https://github.com/gozoinks/unifi-pfsense/blob/master/install-unifi/install-unifi.sh

          I have tried factory reset the pfSense before from GUI, but i can still see the script installed on it when i restart the server from the ibterface it saya something about unifi.sh stopped. What happened when i installed that script is that i could not enter the interface, the unifi controller tried to boot up instad on 10.0.0.1 so i did edit all lines in the script so it didn't boot up. But im not sure how to remove it the righr way. I can't risk locking myself out since i bought a watchguard xtm 5 with pfsense on it and i dont have any serial console if i lock myself out to access the server.

          Where do i find more logs about it not starting?

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

            Ok, it could be anything then. It's clearly pulled some packages from that 3rd party repo.... no clue what might have been broken.

            You need to get a serial console cable and re-install clean.

            Steve

            V 2 Replies Last reply Reply Quote 0
            • V
              Varnish @stephenw10
              last edited by

              @stephenw10 So you can't reinstall clean from the interface at all? Like i can access SSH..

              Fuck. Then i need to flash stuff and everything, i bought it with pfSense on it. Nothing else we can try? Where do the logs show up for services not starting?

              1 Reply Last reply Reply Quote 0
              • V
                Varnish @stephenw10
                last edited by

                @stephenw10 Nov 7 15:55:44 php /etc/rc.packages: The command '/usr/bin/fetch -o /usr/local/share/ntopng -T 5 https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz' returned exit code '1', the output was 'fetch: https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz: Not Found'
                Nov 7 15:55:45 php /etc/rc.packages: The command '/usr/bin/fetch -o /usr/local/share/ntopng -T 5 https://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz' returned exit code '1', the output was 'fetch: https://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz: Not Found'
                Nov 7 15:55:45 php /etc/rc.packages: The command '/usr/bin/fetch -o /usr/local/share/ntopng -T 5 https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz' returned exit code '1', the output was 'fetch: https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz: Not Found'
                Nov 7 15:55:45 php /etc/rc.packages: The command '/usr/bin/fetch -o /usr/local/share/ntopng -T 5 https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz' returned exit code '1', the output was 'fetch: https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz: Not Found'
                Nov 7 15:55:45 check_reload_status Syncing firewall
                Nov 7 15:55:45 php /etc/rc.packages: Successfully installed package: ntopng.
                Nov 7 15:55:45 pkg-static pfSense-pkg-ntopng-0.8.13_3 installed

                Latest logs after install on system.

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

                  Errors would be in the system log. Try starting it from Status > Services and then checking the log.

                  You should really have access to the console anyway. If you ever get locked out of the GUI you will need it.

                  Are you running from CF card or SSD? You could potentially reinstall in something else and move the driver back.

                  Steve

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    Varnish @stephenw10
                    last edited by Varnish

                    @stephenw10 I'm no tech expert but i know the BIOS is very locked down and i have a CF card with pfSense that i saw inside and it's also a SSD disk in it.

                    It seems like nothing happens thats new in the system logs when i try to start it. This is my latest logs:

                    Nov 7 16:36:49 login login on ttyv0 as root
                    Nov 7 16:38:20 sshd 52517 user admin login class [preauth]
                    Nov 7 16:38:20 sshd 52517 user admin login class [preauth]
                    Nov 7 16:38:20 sshd 52517 Accepted keyboard-interactive/pam for admin from 10.0.0.15 port 60832 ssh2
                    Nov 7 16:41:01 ntopng [Prefs.cpp:1308] ERROR: Unable to locate scripts dir

                    1 Reply Last reply Reply Quote 0
                    • V
                      Varnish
                      last edited by

                      My logs was sorted wrong, so this is the error:

                      Nov 7 16:52:00 ntopng [Prefs.cpp:1308] ERROR: Unable to locate scripts dir

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

                        You could check to see if you have the same files/directories I have:

                        [2.5.0-DEVELOPMENT][admin@xtm800.stevew.lan]/root: find / -name "*ntop*"
                        /root/ntopng.core
                        /usr/local/www/ntopng_redirect.php
                        /usr/local/pkg/ntopng.inc
                        /usr/local/pkg/ntopng.xml
                        /usr/local/etc/rc.d/ntopng
                        /usr/local/etc/rc.d/ntopng.sh
                        /usr/local/bin/ntopng-geoip2update.sh
                        /usr/local/bin/ntopng
                        /usr/local/share/licenses/pfSense-pkg-ntopng-0.8.13_3
                        /usr/local/share/licenses/ntopng-3.8.d20190920,1
                        /usr/local/share/ntopng
                        /usr/local/share/ntopng/httpdocs/ssl/ntopng-cert.pem.dummy
                        /usr/local/share/ntopng/httpdocs/ssl/ntopng-cert.pem
                        /usr/local/share/ntopng/httpdocs/img/interaction-graph-icons/ntopng.png
                        /usr/local/share/ntopng/httpdocs/css/ntopng.css
                        /usr/local/share/ntopng/httpdocs/js/ntop.min.js.map
                        /usr/local/share/ntopng/httpdocs/js/cubism_ntop.v1.js
                        /usr/local/share/ntopng/httpdocs/js/ntop.min.js
                        /usr/local/share/ntopng/httpdocs/js/ntopng_utils.js
                        /usr/local/share/ntopng/httpdocs/js/ntopng_validators.js
                        /usr/local/share/ntopng/httpdocs/misc/ntopng-utils-manage-config.in
                        /usr/local/share/ntopng/httpdocs/misc/ntopng-utils-manage-config
                        /usr/local/share/ntopng/httpdocs/misc/ntopng_template_elk6.json
                        /usr/local/share/ntopng/httpdocs/misc/ntopng_template_elk.json
                        /usr/local/share/ntopng/httpdocs/misc/ntopng-add-user.sh
                        /usr/local/share/ntopng/scripts/lua/examples/ntop.lua
                        /usr/local/share/ntopng/scripts/lua/modules/ntop_utils.lua
                        /usr/local/share/pfSense-pkg-ntopng
                        /usr/local/include/glib-2.0/gio/gmountoperation.h
                        /etc/inc/priv/ntopng.priv.inc
                        /cf/conf/pkg_log_pfSense-pkg-ntopng.txt
                        /var/mail/ntopng
                        /var/run/ntopng.pid
                        /var/db/ntopng
                        /var/db/ntopng/ntopng.log
                        /var/db/ntopng/ntopng.log.4
                        /var/db/ntopng/ntopng.rdb
                        /var/db/ntopng/ntopng.log.3
                        /var/db/ntopng/2/rrd/ntop.rrd
                        /var/db/ntopng/ntopng.log.2
                        /var/db/ntopng/0/rrd/ntop.rrd
                        /var/db/ntopng/ntopng.log.5
                        /var/db/ntopng/ntopng.log.1
                        

                        But really I would recommend you just don't install ntop-ng until you have re-intalled.

                        Steve

                        V 1 Reply Last reply Reply Quote 0
                        • V
                          Varnish @stephenw10
                          last edited by

                          @stephenw10 Computer is broke and the serial cable might take some time to arrive.

                          [2.4.4-RELEASE][admin@crapwifi.localdomain]/root: find / -name "ntop"
                          /etc/inc/priv/ntopng.priv.inc
                          /root/ntopng.core
                          /usr/local/bin/ntopng-geoipupdate.sh
                          /usr/local/bin/ntopng
                          /usr/local/etc/rc.d/ntopng
                          /usr/local/etc/rc.d/ntopng.sh
                          /usr/local/pkg/ntopng.inc
                          /usr/local/pkg/ntopng.xml
                          /usr/local/share/licenses/pfSense-pkg-ntopng-0.8.13_3
                          /usr/local/share/licenses/ntopng-3.6.d201800910,1
                          /usr/local/share/ntopng
                          /usr/local/share/pfSense-pkg-ntopng
                          /usr/local/www/ntopng_redirect.php
                          /usr/local/include/glib-2.0/gio/gmountoperation.h
                          /usr/local/man/man8/ntopng.8.gz
                          /var/cache/pkg/ntopng-3.6.d201800910,1-85afdb6ae2.txz
                          /var/cache/pkg/ntopng-3.6.d201800910,1.txz
                          /var/cache/pkg/pfSense-pkg-ntopng-0.8.13_3.txz
                          /var/cache/pkg/pfSense-pkg-ntopng-0.8.13_3-8efab5a244.txz
                          /var/db/ntopng
                          /var/db/ntopng/ntopng.log
                          /var/db/ntopng/ntopng.rdb
                          /var/mail/ntopng
                          /cf/conf/pkg_log_pfSense-pkg-ntopng.txt

                          Looks OK?

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

                            @stephenw10 said in Install ntopng conflict:

                            /usr/local/share/ntopng/scripts/

                            You don't appear to have that. Which seems to agree with the error you have.

                            Apart from ntopng, what is broken?

                            I suggest you remove ntop-ng and concentrate on fixing whatever you need to until you can re-install.

                            Put the SSD in a laptop. Install pfSense to it. Enable serial console. Move it back. Win.
                            The does assume you have an em NIC in your laptop otherwise you would have to edit the config to match.

                            Steve

                            V 1 Reply Last reply Reply Quote 0
                            • V
                              Varnish @stephenw10
                              last edited by

                              @stephenw10 ntopng is the only thing's broken i think

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