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

    Syntax error in rules.debug

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    2 Posts 1 Posters 272 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.
    • C
      cdunbar
      last edited by

      Hello,

      Autocomplete on my web browser helpfully offered to fill in my home address in a field on the DHCP Server screen. Unfortunately I did not notice and applied my changes and apparently wrote this garbage into the config file(s) somewhere. Now I am getting the follow error:

      There were error(s) loading the rules: /tmp/rules.debug:118: syntax error.... there's more including my street address :-)

      I have manually edit /tmp/rules.debug and cleaned out the bogus entries, but that hasn't done the trick. I assume that file is generated from somewhere else. Any ideas where I can go to clean up the correct file(s)? I have tried writing new entries into the DHCP server settings as well as disabling/enabling and rebooting, but to no avail.

      Thank you,
      cdunbar

      1 Reply Last reply Reply Quote 0
      • C
        cdunbar
        last edited by cdunbar

        For posterity...

        I enabled SSH and logged in as root. I grep’d around for a bit (searching for my street name!) and found /cf/config/config.xml. There was an erroneous entry for a failover peer under the DHCP section. I deleted that entry and rebooted and all was well.

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