Cron issue



  • 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


  • Moderator

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

    ps auxww | grep pfb

    kill -9


  • Moderator

    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.



  • @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


  • Moderator

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

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



  • @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 ...
    
    


  • 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