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

    Error(s) loading the rules...errors in queue definition

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 2 Posters 991 Views 2 Watching
    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.
    • U Offline
      UberNewf
      last edited by

      I keep getting this error quoted below in pfS 2.8.1 Community in the "Notices" section (red bell in upper-right corner). A while back I was messing about with limiters and such and I think I must have broken something. Everything seems to be working well enough (my teens are not screaming at me <g>) but it's irritating to see this all the time.

      "There were error(s) loading the rules: /tmp/rules.debug: 100: errors in queue definition - The line in question reads [100]: queue qACK on em0 priority 6 priq ( ecn )"

      Here're the relative contents of /tmp/rules.debug. One thing I noticed is that the queue section of the file is indented. It's the only section like that. Does that make a difference at all? I tried to fix it via Diagnostics>Edit File and I think it saved (no errors on save anyway) but the file did not change upon reload (still indented).

      ...
      scrub on $LAN inet6 all    fragment reassemble
      
       altq on em0 priq queue {  qACK,  qDefault  } 
       queue qACK on em0 priority 6 priq (  ecn  )  
       queue qDefault on em0 priority 3 priq (  ecn  , default  )  
       
       altq on em1 priq queue {  qLink,  qACK  } 
       queue qLink on em1 priority 2 qlimit 500 priq (  ecn  , default  )  
       queue qACK on em1 priority 6 priq (  ecn  )  
       
      
      no nat proto carp
      ...
      

      Here's the em0 queue setting in the UI. I tried changing "Priority" to 5 and saving, with the intent of setting it back to 6 and saving again, just to see if "bumping" it like that made a difference, but I get an error on save saying "The following input errors were detected: Queue limit must be positive" (!?!).

      Screenshot 2025-09-07 122831.png

      Any hints on what I might have misconfigured and how to fix would be greatly appreciated. Thanks!

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @UberNewf
        last edited by

        @UberNewf That’s shaping, not a limiter.

        What scheduler are you using?

        I’ve run into cases where the wizard doesn’t seem to fill out everything the GUI wants filled out. In your image that field is blank.

        You can try running the wizard again? And/or start over.

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
        Upvote 👍 helpful posts!

        U 1 Reply Last reply Reply Quote 0
        • U Offline
          UberNewf @SteveITS
          last edited by

          Thanks for replying @SteveITS. I don't want to change shaping or limiting. I just want that all at defaults and I want to get rid of this error that keeps repeating in the red bell in upper-right corner:

          "There were error(s) loading the rules: /tmp/rules.debug: 100: errors in queue definition - The line in question reads [100]: queue qACK on em0 priority 6 priq ( ecn )"

          You think running one of the wizards will do that? Happy to do it if so, but I really have no idea what I'm doing in this section of the UI at all (which is probably why I'm in this mess) so I'm hesitant.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            SteveITS Rebel Alliance @UberNewf
            last edited by

            @UberNewf

            I don't want to change shaping or limiting. I just want that all at defaults

            Well the default config has nothing set, so you could delete all shaping and limiters.

            Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
            Upvote 👍 helpful posts!

            U 1 Reply Last reply Reply Quote 0
            • U Offline
              UberNewf @SteveITS
              last edited by

              Dude.... I feel dumb. There's a "Remove Shaper" button RIGHT THERE! :-)

              Clicked it, rebooted and so far the error has not returned to my notifications area. I don't expect it to either, since all the lines about queues are gone from /tmp/rules.debug.

              Glad I came here. Thanks for hand-holding me along, @SteveITS. 🤝

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