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

    Syntax error in config file: pf rules not loaded

    Scheduled Pinned Locked Moved Traffic Shaping
    1 Posts 1 Posters 3.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.
    • B
      BodgeIT
      last edited by

      Hi, I am having trouble with the Traffic Shaper.
      It worked well for a couple of days after creating my initial ruleset through the wizard.  I made some modifications using the GUI and now have the following problems:
      There were error(s) loading the rules:
      /tmp/rules.debug:22: syntax error
      /tmp/rules.debug:23: syntax error
      /tmp/rules.debug:26: queue qwanRoot has no parent
      /tmp/rules.debug:26: errors in queue definition
      /tmp/rules.debug:27: queue qlanRoot has no parent
      /tmp/rules.debug:27: errors in queue definition
      /tmp/rules.debug:28: queue qwandef has no parent
      /tmp/rules.debug:28: errors in queue definition
      /tmp/rules.debug:29: queue qlandef has no parent
      /tmp/rules.debug:29: errors in queue definition
      /tmp/rules.debug:30: queue qwanacks has no parent
      /tmp/rules.debug:30: errors in queue definition
      /tmp/rules.debug:31: queue qlanacks has no parent
      /tmp/rules.debug:31: errors in queue definition
      /tmp/rules.debug:32: queue qVOIPUp has no parent
      /tmp/rules.debug:32: errors in queue definition
      /tmp/rules.debug:33: queue qVOIPDown has no parent
      /tmp/rules.debug:33: errors in queue definition
      /tmp/rules.debug:34: queue qP2PUp has no parent
      /tmp/rules.debug:34: errors in queue definition
      /tmp/rules.debug:35: queue qP2PDown has no parent
      /tmp/rules.debug:35: errors in queue definition
      /tmp/rules.debug:36: queue qGamesUp has no parent
      /tmp/rules.debug:36: errors in queue definition
      /tmp/rules.debug:37: queue qGamesDown has no parent
      /tmp/rules.debug:37: errors in queue definition
      /tmp/rules.debug:38: queue qOthersUpH has no parent
      /tmp/rules.debug:38: errors in queue definition
      /tmp/rules.debug:39: queue qOthersDownH has no parent
      /tmp/rules.debug:39: errors in queue definition
      /tmp/rules.debug:40: queue qOthersUpL has no parent
      /tmp/rules.debug:40: errors in queue definition
      /tmp/rules.debug:41: queue qOthersDownL has no parent
      /tmp/rules.debug:41: errors in queue definition pfctl:
      Syntax error in config file: pf rules not loaded -
      The line in question reads [22]: altq on fxp0 hfsc bandwidth queue { qwanRoot qlanRoot }…

      I also notice that some of the items selected during the wizard do not appear in the completed rules list, most notably the penalised IP option and I also do not see any rules for ACKs.

      I am using pfSense 1.2.1

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