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

    Failed to create RRD graphs

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 4 Posters 2.2k 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.
    • N
      nikkon
      last edited by

      Hi all,

      On arecently updated machine (2.2.4) i have rrd graphs issue:

      php-fpm[6614]: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: This RRD was created on other architecture/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/system-processor.rrd-eighthour.png –start 1438435981 --end 1438464781 --step 60 --vertical-label "utilization, number" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "firewall.ideaplussolutions.net - System :: Processor - 8 hours - 1 minute average" --height 200 --width 620 DEF:"user=/var/db/rrd/system-processor.rrd:user:AVERAGE:step=60" DEF:"nice=/var/db/rrd/system-processor.rrd:nice:AVERAGE:step=60" DEF:"system=/var/db/rrd/system-processor.rrd:system:AVERAGE:step=60" DEF:"interrupt=/var/db/rrd/system-processor.rrd:interrupt:AVERAGE:step=60" DEF:"processes=/var/db/rrd/system-processor.rrd:processes:AVERAGE:step=60" AREA:"user#00AA00:user" AREA:"nice#990000:nice:STACK" AREA:"system#0000FF:system:STACK" AREA:"interrupt#DD9B00:interrupt:STACK" LINE2:"processes#000000:processes" COMMENT:"\n

      php-fpm[6614]: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: This RRD was created on other architecture/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/system-processor.rrd-day.png –start 1438378381 --end 1438464781 --step 300 --vertical-label "utilization, number" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "firewall.ideaplussolutions.net - System :: Processor - 1 day - 5 minutes average" --height 200 --width 620 DEF:"user=/var/db/rrd/system-processor.rrd:user:AVERAGE:step=300" DEF:"nice=/var/db/rrd/system-processor.rrd:nice:AVERAGE:step=300" DEF:"system=/var/db/rrd/system-processor.rrd:system:AVERAGE:step=300" DEF:"interrupt=/var/db/rrd/system-processor.rrd:interrupt:AVERAGE:step=300" DEF:"processes=/var/db/rrd/system-processor.rrd:processes:AVERAGE:step=300" AREA:"user#00AA00:user" AREA:"nice#990000:nice:STACK" AREA:"system#0000FF:system:STACK" AREA:"interrupt#DD9B00:interrupt:STACK" LINE2:"processes#000000:processes" COMMENT:"\n"

      any clue?

      rrd.png
      rrd.png_thumb

      pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

      Happy PfSense user :)

      1 Reply Last reply Reply Quote 0
      • H
        hda
        last edited by

        @nikkon:

        …the error is: ERROR: This RRD was created on other architecture...
        ...
        any clue?

        Explain this ?

        1 Reply Last reply Reply Quote 0
        • N
          nikkon
          last edited by

          i just wanted to check the latency and … no more graphs today as it can be seen in the screenshot.
          i have no clue how to fix-it. restart is not accepted now...so it may be restarted manually i guess.

          pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

          Happy PfSense user :)

          1 Reply Last reply Reply Quote 0
          • H
            hda
            last edited by

            No idea but, I see 2.2.3 in sig, to say for sure 2.2.4 is the better version…

            1 Reply Last reply Reply Quote 0
            • N
              nikkon
              last edited by

              is there a way to delete old logs/cache ?

              pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

              Happy PfSense user :)

              1 Reply Last reply Reply Quote 0
              • H
                hda
                last edited by

                See [Diagnostics: Execute command] ls -al /tmp ?

                1 Reply Last reply Reply Quote 0
                • N
                  nikkon
                  last edited by

                  not much about rrd

                  /root: ls -al /tmp
                  total 408
                  drwxrwxrwt  8 root    wheel      1536 Aug  2 01:31 .
                  drwxr-xr-x  26 root    wheel      1024 Jul 30 17:54 ..
                  drwxr-xr-x  2 root    wheel        512 Aug  1 00:29 .PBI.13407
                  drwxr-xr-x  2 root    wheel        512 Aug  1 00:28 .PBI.44796
                  srwxr-xr-x  1 clamav  wheel          0 Jul 31 23:50 .dguardianipc
                  srwxr-xr-x  1 clamav  wheel          0 Jul 31 23:50 .dguardianurlipc
                  drwxrwxr-x  2 root    operator    512 Jul 31 23:50 .snap
                  -rw-rw-rw-  1 root    wheel          0 Aug  2 01:31 DDNS0.lock
                  -rw-rw-rw-  1 root    wheel          0 Aug  1 23:50 aliasurl.lock
                  -rw-r–r--  1 root    wheel        78 Aug  1 00:28 bootup_messages
                  -rw-r--r--  1 root    wheel    144941 Aug  2 01:03 config.cache
                  -rw-rw-rw-  1 root    wheel          0 Aug  2 01:31 config.lock
                  -rw-r--r--  1 root    wheel        511 Jul 31 23:50 dhcpd.sh
                  -rw-rw-rw-  1 root    wheel          0 Aug  2 01:31 filter.lock
                  drwxr-xr-x  7 root    wheel        512 Aug  1 00:27 lighttpdcompress
                  drwxr-xr-x  3 root    wheel        512 Jul 31 23:50 mnt
                  -rw-rw-rw-  1 root    wheel          0 Aug  2 01:31 openvpn.lock
                  -rw-r--r--  1 root    wheel        11 Jul 31 23:50 ovpns1_router
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 ovpns1up
                  -rw-r--r--  1 root    wheel        118 Aug  1 00:29 pbi_delete_errors.txt
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 pfBaddfile
                  -rw-r--r--  1 root    wheel        14 Aug  2 01:26 pfSense_version
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 pfbdeduptemp
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 pfbduptemp
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 pfbmatchfile
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 pfbsyncfile
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 pfbtempfile
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 pfbtempfile2
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 pfbtempmatchfile
                  -rw-r--r--  1 root    wheel      1776 Aug  2 01:31 pfctl_si_out
                  -rw-r--r--  1 root    wheel      95979 Aug  2 01:31 pfctl_ss_out
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 php_errors.txt
                  -rw-r--r--  1 root    wheel      51330 Aug  1 00:29 pkg_info.cache
                  -rw-r--r--  1 root    wheel          8 Jul 31 23:50 pppoe0_defaultgw
                  -rw-r--r--  1 root    wheel          7 Jul 31 23:50 pppoe0_defaultgwv6
                  -rw-r--r--  1 root    wheel        16 Jul 31 23:50 pppoe0_ip
                  -rw-r--r--  1 root    wheel        15 Jul 31 23:50 pppoe0_ipv6
                  -rw-r--r--  1 root    wheel          9 Jul 31 23:50 pppoe0_router
                  -rw-r--r--  1 root    wheel          8 Jul 31 23:50 pppoe0_routerv6
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 pppoe0up
                  -rw-r--r--  1 root    wheel          0 Jul 31 23:50 pppoe0upv6
                  -rw-rw-rw-  1 root    wheel          0 Jul 31 23:50 resolvconf.lock
                  -rw-r--r--  1 root    wheel      9114 Aug  2 01:31 rules.debug
                  -rw-r--r--  1 root    wheel      9114 Aug  2 01:31 rules.debug.old
                  -rw-r--r--  1 root    wheel        107 Aug  2 01:31 rules.limits
                  -rw-r--r--  1 root    wheel        614 Aug  1 00:28 rules.test.packages
                  -rw-------  1 root    wheel        216 Aug  2 01:31 sess_58b9b497995fc024e4afb17d95728898
                  -rw-r--r--  1 root    wheel          0 Aug  2 01:31 tmpHOSTS
                  drwxr-xr-x  2 root    wheel        512 Jul 31 23:50 xlsx

                  pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

                  Happy PfSense user :)

                  1 Reply Last reply Reply Quote 0
                  • H
                    hda
                    last edited by

                    So the system did not make any *.png's store in /tmp with the data in /var/db/rrd ?

                    1 Reply Last reply Reply Quote 0
                    • N
                      nikkon
                      last edited by

                      i got stuff in there:
                      /var/db/rrd: ls
                      DMZGW-quality.rrd    lan-packets.rrd      oltenia-quality.rrd  ovpns1-packets.rrd  system-mbuf.rrd      system-states.rrd    wan-traffic.rrd
                      ipsec-packets.rrd    lan-traffic.rrd      opt1-packets.rrd    ovpns1-traffic.rrd  system-memory.rrd    updaterrd.sh
                      ipsec-traffic.rrd    ntpd.rrd            opt1-traffic.rrd    ovpns1-vpnusers.rrd  system-processor.rrd wan-packets.rrd

                      we'll delete all and see

                      pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

                      Happy PfSense user :)

                      1 Reply Last reply Reply Quote 0
                      • pttP
                        ptt Rebel Alliance
                        last edited by

                        If you want to "delete"  just go to "Status –> RRD Graphs --> Settings tab" and use the "Reset RRD Data" Button  ;)

                        1 Reply Last reply Reply Quote 0
                        • N
                          nikkon
                          last edited by

                          done…that was what i intended.
                          still have the old data...try to replace and not to loose the reports.
                          in any case now it seems ok....it does work again.

                          pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

                          Happy PfSense user :)

                          1 Reply Last reply Reply Quote 0
                          • P
                            phil.davis
                            last edited by

                            During an upgrade you have switched from 32-bit ot 64-bit install (or even from 64-bit back to 32-bit). You should check on the dashboard if ou have 32 or 64 bit, and check in System->Firmware, Updater Settings to see if there is some special or wrong place selected for getting updates.
                            If you change the 32/64 bit then the old RRD files will not work.

                            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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