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

BUG: unbound/ PfblockerNG when enabling RAM disk

Scheduled Pinned Locked Moved Development
3 Posts 3 Posters 991 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.
  • M
    Mr_JinX
    last edited by Jul 2, 2017, 9:12 AM

    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
    • B
      BBcan177 Moderator
      last edited by Jul 3, 2017, 11:29 PM

      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 Jul 25, 2017, 4:20 PM Jul 25, 2017, 4:11 PM

        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.
          This community forum collects and processes your personal information.
          consent.not_received