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

    Missing rrdtool after upgrade and package reinstallation

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    6 Posts 2 Posters 2.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.
    • Z
      zinger
      last edited by

      Hi everyone, recently upgraded to 2.0 after successfully running the order 1.x release for the last year. Following the instructions, I removed all packages (except vmware-tools), upgraded, and reinstalled packages.

      I'm now missing /usr/local/bin/rrdtool. I tried pkg_add -r rrdtool, but get

      Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/rrdtool.tbz: File unavailable (e.g., file not found, no access)
      pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/rrdtool.tbz' by URL
      

      Checking, it seems the /packages-8.1-release/ path is invalid, and has been replaced with /packages-8-stable/.

      1 Reply Last reply Reply Quote 0
      • Z
        zinger
        last edited by

        I used

        pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest/rrdtool.tbz
        

        and got

        pkg_add: package 'rrdtool-1.4.5' or its older version already installed
        

        thought maybe remove and reinstall?

         pkg_delete rrdtool
        pkg_delete: no such package 'rrdtool' installed
        

        thoughts?

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Not sure what package might have broken that, but it's not unheard of.

          Easiest fix is to just re-apply the 2.0 firmware so it will put the files back that it needs.

          You probably do not want that version of rrdtool anyhow as it will cause problems, things won't render properly, etc.

          try this:

          pkg_delete -f rrdtool\*
          pkg_add -r http://files.pfsense.org/packages/8/All/rrdtool-1.2.30_1.tbz
          

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • Z
            zinger
            last edited by

            Thanks for the tip, I'll give it a try and reinstall 2.0 fresh if that doesn't work.

            1 Reply Last reply Reply Quote 0
            • Z
              zinger
              last edited by

              Ah, looks like version mismatches.

              pkg_add: warning: package 'rrdtool-1.2.30_1' requires 'png-1.4.5_1', but 'png-1.4.4' is installed
              pkg_add: warning: package 'rrdtool-1.2.30_1' requires 'freetype2-2.4.4', but 'freetype2-2.4.3' is installed
              

              in console.

              Oct 27 14:28:07 	php: /status_rrd_graph_settings.php: RRD create failed exited with 1, the error is: /libexec/ld-elf.so.1: Shared object "libart_lgpl_2.so.5" not found, required by "rrdtool"
              Oct 27 14:28:07 	php: /status_rrd_graph_settings.php: RRD create failed exited with 1, the error is: /libexec/ld-elf.so.1: Shared object "libart_lgpl_2.so.5" not found, required by "rrdtool"
              Oct 27 14:28:07 	php: /status_rrd_graph_settings.php: RRD create failed exited with 1, the error is: /libexec/ld-elf.so.1: Shared object "libart_lgpl_2.so.5" not found, required by "rrdtool"
              Oct 27 14:28:07 	php: /status_rrd_graph_settings.php: RRD create failed exited with 1, the error is: /libexec/ld-elf.so.1: Shared object "libart_lgpl_2.so.5" not found, required by "rrdtool"
              Oct 27 14:28:07 	php: /status_rrd_graph_settings.php: RRD create failed exited with 1, the error is: /libexec/ld-elf.so.1: Shared object "libart_lgpl_2.so.5" not found, required by "rrdtool"
              Oct 27 14:28:07 	php: /status_rrd_graph_settings.php: RRD create failed exited with 1, the error is: /libexec/ld-elf.so.1: Shared object "libart_lgpl_2.so.5" not found, required by "rrdtool"
              Oct 27 14:28:07 	php: /status_rrd_graph_settings.php: RRD create failed exited with 1, the error is: /libexec/ld-elf.so.1: Shared object "libart_lgpl_2.so.5" not found, required by "rrdtool"
              Oct 27 14:28:07 	php: /status_rrd_graph_settings.php: RRD create failed exited with 1, the error is: /libexec/ld-elf.so.1: Shared object "libart_lgpl_2.so.5" not found, required by "rrdtool"
              Oct 27 14:28:07 	php: /status_rrd_graph_settings.php: RRD create failed exited with 1, the error is: /libexec/ld-elf.so.1: Shared object "libart_lgpl_2.so.5" not found, required by "rrdtool"
              

              in system log, fresh install it is.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Well if it were a fresh install it would have it built in, and wouldn't show up under pkg_info, and does not need installed separately.

                The issue you're seeing is that a package, when removed, took rrdtool away with it.

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

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