RRD graphs not working (amd64)



  • Upgraded to the latest snapshot and now RRD is giving an error in the logs:

    php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Shared object has no run-time symbol table/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-day.png –start 1313380800 --end 1313461281 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "hostname - WAN4 :: Traffic - 1 day - 5 minutes average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE DEF:wan-in6_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass6:AVERAGE DEF:wan-out6_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass6:AVERAGE DEF:wan-in6_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock6:AVERAGE DEF:wan-out6_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock6:AVERAGE C


  • Rebel Alliance Developer Netgate

    You might want to upgrade again. That error suggests that one of the libraries is missing/corrupt. Do you have any packages installed?



  • Upgraded to the latest snap and it's back to normal. Thanks.



  • Just updated to the latest and still nothing… It really doesn't like that we are running the i386 version. I guess it's important now that I have a failover in place so I can reload it with x64 no problem.

    Thanks though!


  • Rebel Alliance Developer Netgate

    @keith_opswat:

    Just updated to the latest and still nothing… It really doesn't like that we are running the i386 version. I guess it's important now that I have a failover in place so I can reload it with x64 no problem.

    Thanks though!

    That has nothing to do with this thread. RRD data from amd64 is incompatible with i386 and vice versa. If you switch, it will break, and you must reset the RRD data.



  • So if we have a 64 bit capable processor but have installed pfSense i386 on the system then the RRD data will be unusable is what you're saying?


  • Rebel Alliance Developer Netgate

    No.

    If you have the i386 version installed, make graphs, and then change to the amd64 version, your graph data becomes unusable.

    If you have the amd64 version installed, make graphs, and then change to the i386 version, your graph data becomes unusable.

    If you only ever have the i386 version in use, the graph data would be OK.

    If you only ever have the amd64 version in use, the graph data would be OK.

    (And it's still not relevant to this thread)


Locked