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 2.1k 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.
    • kiokomanK
      kiokoman LAYER 8
      last edited by kiokoman

      from console

      pkg delete xproto-7.0.31 libfontenc-1.1.3_1 mkfontscale-1.1.3 mkfontdir-1.0.7
      

      try to reinstall ntopng from the gui

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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

        [admin@crapwifi.localdomain]/root: pkg delete xproto-7.0.31 libfontenc-1.1.3_1 mkfontscale-1.1.3 mkfontdir-1.0.7
        No packages matched for pattern 'xproto-7.0.31'

        No packages matched for pattern 'libfontenc-1.1.3_1'

        No packages matched for pattern 'mkfontscale-1.1.3'

        No packages matched for pattern 'mkfontdir-1.0.7'

        Checking integrity... done (0 conflicting)
        4 packages requested for removal: 0 locked, 4 missing
        [2.4.4-RELEASE][admin@crapwifi.localdomain]/root:
        Message from syslogd@crapwifi at Nov 6 20:58:00 ...
        crapwifi php-fpm[341]: /index.php: Successful login for user 'admin' from: 10.0.0.15 (Local Database

        Didn't work @kiokoman

        1 Reply Last reply Reply Quote 0
        • kiokomanK
          kiokoman LAYER 8
          last edited by

          pkg install mkfontdir-1.0.7
          pkg delete xproto-7.0.31 libfontenc-1.1.3_1 mkfontscale-1.1.3 mkfontdir-1.0.7
          pkg install pfSense-pkg-ntopng-0.8.13_3
          

          ?

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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

            @kiokoman [2.4.4-RELEASE][admin@crapwifi.localdomain]/root: pkg install mkfontdir-1.0.7
            Updating pfSense-core repository catalogue...
            pfSense-core repository is up to date.
            Updating pfSense repository catalogue...
            Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
            Fetching packagesite.txz: 100% 138 KiB 141.3kB/s 00:01
            Processing entries: 100%
            pfSense repository update completed. 522 packages processed.
            All repositories are up to date.
            Checking integrity... done (1 conflicting)

            • mkfontdir-1.0.7 [pfSense] conflicts with mkfontscale-1.2.1 [installed] on /usr/local/bin/mkfontdir
              Cannot solve problem using SAT solver, trying another plan
              Checking integrity... done (0 conflicting)
              The most recent version of packages are already installed
              [2.4.4-RELEASE][admin@crapwifi.localdomain]/root: pkg delete xproto-7.0.31 libfontenc-1.1.3_1 mkfontscale-1.1.3 mkfontdir-1.0.
              No packages matched for pattern 'xproto-7.0.31'

            No packages matched for pattern 'libfontenc-1.1.3_1'

            No packages matched for pattern 'mkfontscale-1.1.3'

            No packages matched for pattern 'mkfontdir-1.0.'

            Checking integrity... done (0 conflicting)
            4 packages requested for removal: 0 locked, 4 missing
            [2.4.4-RELEASE][admin@crapwifi.localdomain]/root: pkg install pfSense-pkg-ntopng-0.8.13_3
            Updating pfSense-core repository catalogue...
            pfSense-core repository is up to date.
            Updating pfSense repository catalogue...
            pfSense repository is up to date.
            All repositories are up to date.
            Checking integrity... done (1 conflicting)

            • mkfontdir-1.0.7 [pfSense] conflicts with mkfontscale-1.2.1 [installed] on /usr/local/bin/mkfontdir
              Cannot solve problem using SAT solver, trying another plan
              Checking integrity... done (0 conflicting)
              The most recent version of packages are already installed
              [2.4.4-RELEASE][admin@crapwifi.localdomain]/root:
            1 Reply Last reply Reply Quote 0
            • V
              Varnish
              last edited by

              Please help..

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

                You have a newer version of mkfontscale installed than is in the 2.4.4 pkg repo.
                What is the history here? Was is set to 2.5 at any time?

                You must remove that first:

                pkg delete mkfontscale-1.2.1
                

                However it may have pulled in other things, it might be easier to re-install 2.4.4p3 at this point to be sure it's clean.

                Steve

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

                  @stephenw10 It finally installed! Hope it works.

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

                    @stephenw10 The package don't start..

                    GertjanG 1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @Varnish
                      last edited by

                      @Varnish said in Install ntopng conflict:

                      @stephenw10 The package don't start..

                      Humm, that can have a couple of billions of reasons.
                      ( I include/use the fact that you have/had packages version on your system that do not exist for pfSense 24.4-p3 )
                      What about telling yourself, and us, the reason why.
                      Look in the logs ... ;)

                      Showing that info raises the chance some one can actually answer your question.

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

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