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

Errors on reboot after update - Related to RRD

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
9 Posts 5 Posters 2.9k 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.
  • S
    Seth
    last edited by Jan 6, 2009, 3:59 PM

    After doing an update through the webgui I get this after "configuring firewall…..done" and before "starting CRON... done"

    Generatinog RRD graphs...ERROR: expected 2 data sources readings (got 4) from N:U:
    U:U:U
    ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
    ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
    ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
    ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
    ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
    ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
    ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
    done.

    1 Reply Last reply Reply Quote 0
    • I
      iminet
      last edited by Jan 6, 2009, 5:01 PM

      A have same problem.
      But only the Wan RRD graphics not see.
      And this error in a log:
      "php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: No DS called 'inblock' in '/var/db…."

      1 Reply Last reply Reply Quote 0
      • D
        databeestje
        last edited by Jan 12, 2009, 8:45 PM

        Actually, a later snapshot should have upgraded your databases to a newer format. At which point it should not show those errors anymore.

        Seth

        1 Reply Last reply Reply Quote 0
        • I
          iminet
          last edited by Jan 27, 2009, 10:05 AM Jan 27, 2009, 9:04 AM

          I remove traffic and packets rrd file in /var/db/rrd/ folder. Reboot.
          And its works  ;D

          But wan is empty  :(

          1 Reply Last reply Reply Quote 0
          • E
            emigrating
            last edited by Feb 14, 2009, 1:20 PM

            @databeestje:

            Actually, a later snapshot should have upgraded your databases to a newer format. At which point it should not show those errors anymore.

            Seth

            Is there a way to manually upgrade the databases to the new format because it hasn't happened for me. Been using it since before it turned into 2.0-alphaalpha and generally updated every few days but I must have somehow missed the build that updated the DB.

            1 Reply Last reply Reply Quote 0
            • D
              databeestje
              last edited by Feb 14, 2009, 9:08 PM

              You can't miss the DB update normally because it will have the config.xml version 5.5.

              This so that it triggers only once.

              If you set the config.xml to 5.4 it'll run on the next boot.

              1 Reply Last reply Reply Quote 0
              • E
                emigrating
                last edited by Feb 14, 2009, 11:31 PM

                Hmm, well I dunno what to tell you - I've definitely missed the update :)

                In any case, I did like you said; changed the version tag in /conf/config.xml to 5.4 and rebooted the system. That was quite some time ago now, and not only has it still not updated the RRD database but my config file is still showing version 5.4.

                I'm about to run through the update process again (i.e. grab a new build) but if that still does not work - do you have any other ideas?

                1 Reply Last reply Reply Quote 0
                • N
                  nocer
                  last edited by Feb 15, 2009, 3:59 AM

                  Hi,

                  Even if you're able to update your db, the graphs for the WAN are empty. For example,

                  http://pfbox/status_rrd_graph.php?cat=traffic&option=lan&style=inverse

                  gives me all LAN traffic in/out, but

                  http://pfbox/status_rrd_graph.php?cat=traffic&option=wan&style=inverse

                  gives me nothing, just empty graphs.

                  Same happens to packets graphs. It's been quite some time since I first noticed, beg of January.

                  cheers,

                  1 Reply Last reply Reply Quote 0
                  • D
                    databeestje
                    last edited by Apr 1, 2009, 6:41 AM

                    nocer, I can not replicate that issue. They have been working normally for me.

                    I suspect your databases might be broken. If you have been updating a lot in the timeframe I was working on this it might well have broken your databases.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received