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

    There were error(s) loading the rules: pfct…

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 2 Posters 2.6k 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
      nothing
      last edited by

      Hi guys,
      I've updated two pfsense boxes running in cluster. Slave node updated successfully.
      Master node also updated OK, but the following errors appear:

      There were error(s) loading the rules: pfctl: DIOCADDRULE: Invalid argument - The line in question reads [0]: ]
      

      RRD graphs are also not working on master node. Qote from the syslog:

      
      Jun 27 13:38:47
      
      kernel: pid 60460 (rrdtool), uid 0: exited on signal 12 (core dumped)
      
      Jun 27 13:38:47
      
      php: /status_rrd_graph_img.php: Failed to create graph with error code 140, the error is: /usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-4year.png --start 1245839926 --end 1372329526 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "`hostname` - WAN :: Traffic - 4 years - 1 day 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 CDEF:"wan-in_bits_pass=wan-in_bytes_pass,8,*" CDEF:"wan-out_bits_pass=wan-out_bytes_pass,8,*"
      
      

      Any ideas?

      All is running well on slave node.

      PS
      I have no traffic shaper.

      PS2
      Wooops!
      Master node is on 2.1 FreeBSD 8.1-RELEASE-p13
      Slave node is one 2.1 FreeBSD 8.3-RELEASE-p8 (That's the one which works!)

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Not sure how you managed to be looking at a 2.1 build on FreeBSD 8.1. Are you gitsyncing?
        Check the updater settings.

        Steve

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

          Regular firmware auto upgrade. Slave node was upgraded two weeks before master node.
          Slave:

          Master:

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            You need to check the updater settings because that shouldn't be happening.
            What is the history of that box? Have you ever used git sync? The only other time I've seen this the cause was git syncing to the wrong source.

            Steve

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

              No git sync.
              Installed both servers with 2.0.3 a month ago and decided upgrade later via the auto update button in the firmware menu.
              First I've updated the slave node (2 weeks ago). Today I've updated the master node.

              Also just noticed that master node (the one with the errors) has no firewall at all. None of the rules works.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Well it could be that the snapshot you happened to load was catastrophically bad but I'd expect the 2.1 subforum to be full of complaints if that was the case.
                The update URL is the same on both boxes?

                Steve

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

                  Slave:

                  A new version is now available

                  Current version: 2.1-RC0
                        Built On: Sat Jun 22 15:45:58 EDT 2013
                      New version: Thu Jun 27 15:29:07 EDT 2013

                  Update source: http://snapshots.pfsense.org/FreeBSD_RELENG_8_3/amd64/pfSense_RELENG_2_1/.updaters

                  Master:

                  A new version is now available

                  Current version: 2.1-RC0
                        Built On: Wed Jun 26 04:30:33 EDT 2013
                      New version: Thu Jun 27 15:29:07 EDT 2013

                  Update source: http://snapshots.pfsense.org/FreeBSD_RELENG_8_3/amd64/pfSense_RELENG_2_1/.updaters

                  Well well well :)
                  New version available!

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

                    Nice  ;D
                    After the upgrade I'm back on p8 and everything works OK.
                    Looks like only the build from 26th was broken.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Nice.  :)
                      Surprised it didn't cause a flood of complaints.

                      Steve

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