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

    BUG: unbound/ PfblockerNG when enabling RAM disk

    Development
    3
    3
    990
    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.
    • Mr_JinXM
      Mr_JinX
      last edited by

      Hi,

      There seems to be a bug, possibly. When i enable RAM disk for /var & /tmp i get the below error message after reload;

      There were error(s) loading the rules: /tmp/rules.debug:29: cannot load "/var/db/aliastables/pfB_Asia_v4.txt": No such file or directory - The line in question reads [29]: table <pfB_Asia_v4> persist file "/var/db/aliastables/pfB_Asia_v4.txt"
      @ 2017-07-02 09:45:54

      When i looked in the /var/unbound the "pfb_dnsbl.conf" file was missing (i assume this would have been moved to the RAM disk)

      System PC Engines APU2
      BIOS Vendor: coreboot
      Version: 88a4f96
      Release Date: 03/07/2016
      Version 2.3.4-RELEASE (amd64)
      built on Wed May 03 15:13:29 CDT 2017
      FreeBSD 10.3-RELEASE-p19

      1 Reply Last reply Reply Quote 0
      • BBcan177B
        BBcan177 Moderator
        last edited by

        All packages store data in /var. So when you reboot you will lose the all data stored in those folders.

        Try:

        php /usr/local/www/pfblockerng/pfblockerng.php dc

        Then follow that with a Force reload.

        "Experience is something you don't get until just after you need it."

        Website: http://pfBlockerNG.com
        Twitter: @BBcan177  #pfBlockerNG
        Reddit: https://www.reddit.com/r/pfBlockerNG/new/

        1 Reply Last reply Reply Quote 0
        • B
          brandonb
          last edited by

          I had the same issue until I increased my RAM disk size.  I think what happens is the file tries to write to the RAM disk but fails since it's out of space with the default size.  The setting is found under System/Advanced/Miscellaneous.  I increased mine to 512 MB's.  Since I have 8 or 16 gigs of RAM and have plenty to spare.

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