Navigation

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

    Cron issue

    pfBlockerNG
    2
    7
    479
    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
      BeerCan last edited by

      Don't know what I did but the cron job is getting hung up

      I rebooted  no luck
      killed cron job and ran force update  no luck
      I reinstalled pfblocker and  no luck

      It just stays like this for hours

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

        That's odd. Either try a reboot or kill any pfb pids

        ps auxww | grep pfb

        kill -9

        "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
        • BBcan177
          BBcan177 Moderator last edited by

          Actually I have seen this issue before.

          There is a file I think:

          /var/run/booting

          Or something like that. This file is stopping the cron run from executing. The next release will show this in the log.

          So just delete that file.

          "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
            BeerCan last edited by

            @BBcan177:

            Actually I have seen this issue before.

            There is a file I think:

            /var/run/booting

            Or something like that. This file is stopping the cron run from executing. The next release will show this in the log.

            So just delete that file.

            That file is not there

            Just rebooted again  same issue.  Weird, the system was fine yesterday and I have made zero changes in the last 5 days

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

              Try to delete these Alexa DB files as it might have gotten corrupt:

              rm /var/db/pfblockerng/top*
              rm /var/db/pfblockerng/pfbalexawhitelist.txt

              "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
                BeerCan last edited by

                @BBcan177:

                Try to delete these Alexa DB files as it might have gotten corrupt:

                rm /var/db/pfblockerng/top*
                rm /var/db/pfblockerng/pfbalexawhitelist.txt

                Did that and it did re download top1m.csv and downloaded/recreated the whitelist

                Now it seems stuck here

                UPDATE PROCESS START [ 12/19/17 21:25:55 ]
                
                ===[  DNSBL Process  ]================================================
                
                Alexa Database downloading ( approx 21M ) ... Please wait ...
                
                
                1 Reply Last reply Reply Quote 0
                • B
                  BeerCan last edited by

                  Found the issue.

                  I don't know how it happened (I must have did it somehow)  But in the alexa whitelist setting settings, none of the TLD Inclusions were selected.  I re selected the defaults, and now everything seems to be working.

                  Thanks for pointing me in the right direction BBcan177

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post