Missing rrdtool after upgrade and package reinstallation



  • 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/.



  • 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?


  • Rebel Alliance Developer Netgate

    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
    


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



  • 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.


  • Rebel Alliance Developer Netgate

    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.


Log in to reply