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

    RRD errors on upgrade

    Scheduled Pinned Locked Moved Plus 23.05 Development Snapshots (Retired)
    4 Posts 3 Posters 1.4k 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.
    • B
      bigsy
      last edited by

      NG2100 running 23.05 (latest built on Mon May 15 22:17:58 UTC 2023).

      I've noticed some rrd errors with some of the recent 23.05-RC updates. Along the lines of:

      May 16 06:00:46 php-fpm[415]: /rc.newwanip: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/wan-traffic.rrd N:U:U:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/wan-traffic.rrd: illegal attempt to update using time 1684213246 when last update time is 1684215726 (minimum one second step)'
      

      Not sure why there's an error in the times on reboot. It sorts itself out after an hour or so, as shown on the graph below which demonstrates two monitoring 'down times' of about an hour following updates.
      Screenshot rrd.png

      P jimpJ 2 Replies Last reply Reply Quote 0
      • P
        pst @bigsy
        last edited by

        @bigsy I also noticed another RRD error in the log, impact unknown:

        May 16 09:34:54 	php-cgi 	450 	rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-sensors.rrd N:U:U:U:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/system-sensors.rrd: found extra data on update argument: U'
        
        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate @bigsy
          last edited by

          @bigsy said in RRD errors on upgrade:

          May 16 06:00:46 php-fpm[415]: /rc.newwanip: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/wan-traffic.rrd N:U:U:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/wan-traffic.rrd: illegal attempt to update using time 1684213246 when last update time is 1684215726 (minimum one second step)'
          

          Not sure why there's an error in the times on reboot. It sorts itself out after an hour or so, as shown on the graph below which demonstrates two monitoring 'down times' of about an hour following updates.

          Your clock rolled backwards during the reboot so it isn't allowing you to insert 'old' data. Make sure your BIOS time and system time agree, it may be getting skewed somehow.

          @pst said in RRD errors on upgrade:

          @bigsy I also noticed another RRD error in the log, impact unknown:

          May 16 09:34:54 	php-cgi 	450 	rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-sensors.rrd N:U:U:U:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/system-sensors.rrd: found extra data on update argument: U'
          

          Your system may have more data sources for temperature now than it had in the past. You may need to reset your graphing data (or just delete /var/db/rrd/system-sensors.rrd) and then either disable/enable graphing or reboot so it can rebuild that file with the correct number of sources.

          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!

          B 1 Reply Last reply Reply Quote 3
          • B
            bigsy @jimp
            last edited by

            @jimp Thanks for the reply.

            This is on a 2100, so no BIOS that I'm aware of. I'll delete the file as you suggest before the next RC or final release.

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