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

    V2.3 Getting rrd error in logfile same as closed bug#6053 [Solved]

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 630 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.
    • I
      illern
      last edited by

      Hello!

      Upgraded one of my boxes yesterday from 2.2.6 to v2.3 -release (amd64).

      Almost every startup or reboot i get some error messages about update of rrd graph that fails.
      One message for every graph.

      php-cgi 		rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-mbuf.rrd N:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/system-mbuf.rrd: illegal attempt to update using time 1460567396 when last update time is 1460572889 (minimum one second step)'
      

      This one is from a reboot only and the timestamps are more then 5000s apart.
      The bug#6053 have the same error and is closed.

      /Best regards illern.

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

        could it be that your BIOS-time is 1.5 hours into the future ? setting it to the correct time will most likely remove the error on boot (better a minute in the past, then the future)

        graphs are started before NTP kicks in to adjust the clock to the correct time.

        1 Reply Last reply Reply Quote 0
        • I
          illern
          last edited by

          Thanks heper for pointing me in the right direction.

          This pfsense is running on a vm machine under virtualbox.
          There is a setting for the bios clock if it will send UTC or local time to the vm machine.
          I had it on Local and it needed to be on UTC for pfsense.

          Changed it and waited out the last update time of rrd and then the reboots are ok.

          I believed my clock was Ok since I have ntp on the host server and ntp in pfsense.

          /Best regards illern.

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