Error(s) loading the rules...errors in queue definition
-
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" (!?!).
Any hints on what I might have misconfigured and how to fix would be greatly appreciated. Thanks!
-
@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.
-
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.
-
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.
-
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.