Wordfence not running automatic scans
-
Wordfence scans have not done automatic scans since Jul15 on all my sites. Have 6.0.10.
-
We should be on 6.0.11 Can you upgrade and let me know if this is still going on? We also need to see the cron jobs you have (link to view is near bottom of options page). Screenshot and paste a link here
tim
Have upgraded sites to 6.0.11, but still seems to be a problem. Here is one screen shot from one website for Cron Viewer
Wordfence Cron Viewer
This page is used for debugging and shows a list of scheduled jobs on your system. Our staff may ask you to send them the data on this page as part of a troubleshooting process.
Wed, 15 Jul 2015 03:25:37 +0000 : wordfence_hourly_cron
Wed, 15 Jul 2015 04:39:48 +0000 : wp_update_plugins
Wed, 15 Jul 2015 04:39:48 +0000 : wp_update_themes
Wed, 15 Jul 2015 04:39:48 +0000 : wp_version_check
Wed, 15 Jul 2015 07:41:00 +0000 : wp_maybe_auto_update
Wed, 15 Jul 2015 10:01:30 +0000 : et_cron_check_account
Wed, 15 Jul 2015 12:04:05 +0000 : wordfence_start_scheduled_scan
Wed, 15 Jul 2015 13:00:00 +0000 : hmbkp_schedule_hook
Wed, 15 Jul 2015 23:58:52 +0000 : wp_scheduled_delete
Thu, 16 Jul 2015 00:25:37 +0000 : wordfence_daily_cron
Thu, 16 Jul 2015 00:32:02 +0000 : updraft_backup_database
Thu, 16 Jul 2015 01:04:17 +0000 : wp_scheduled_auto_draft_delete
Thu, 16 Jul 2015 12:57:37 +0000 : wordfence_start_scheduled_scan
Fri, 17 Jul 2015 12:27:44 +0000 : wordfence_start_scheduled_scan
Sat, 18 Jul 2015 12:19:26 +0000 : wordfence_start_scheduled_scan
Sat, 18 Jul 2015 17:00:00 +0000 : hmbkp_schedule_hook
Sun, 19 Jul 2015 12:36:42 +0000 : wordfence_start_scheduled_scan
Mon, 20 Jul 2015 12:57:31 +0000 : wordfence_start_scheduled_scan
Tue, 21 Jul 2015 00:32:02 +0000 : updraft_backup
Tue, 21 Jul 2015 12:33:04 +0000 : wordfence_start_scheduled_scan
Mon, 27 Jul 2015 06:00:00 +0000 : wordfence_email_activity_reportThis is the last scan done and here is a snippet of the scan summary on the scan page.
[Jul 15 08:21:35]Scanning comments for URL’s in Google’s Safe Browsing ListSecure.
[Jul 15 08:21:36]Scanning for weak passwordsSecure.
[Jul 15 08:21:36]Scanning DNS for unauthorized changesSecure.
[Jul 15 08:21:36]Scanning to check available disk spaceSecure.
[Jul 15 08:21:36]Scanning for old themes, plugins and core filesSecure.
[Jul 15 08:21:43]Scan complete. Congratulations, no problems found.Scan Complete.I have also included this
Wordfence connectivity tester
DNS lookup for noc1.wordfence.com returns: 69.46.36.8
STARTING CURL http CONNECTION TEST….
Curl connectivity test passed.STARTING CURL https CONNECTION TEST….
Curl connectivity test passed.Starting wp_remote_post() test
wp_remote_post() test to noc1.wordfence.com failed! Response was: Operation timed out after 10001 milliseconds with 0 bytes receivedStarting wp_remote_post() test
wp_remote_post() test to noc1.wordfence.com passed!Did you add or update any plugins around the 14th or 15th of the month? Or manually add any new security (such as blocking anything in .htaccess)? It looks like scheduled jobs for other parts of WordPress and other plugins are stuck as well.
I would first check for plugin/theme updates manually, since it looks like WordPress hasn’t been checking since then — if another plugin caused the problem, they might have released a new version to fix it.
No did not do any changes on 14 or 15. All my sites are the same (about 12). Could it be a hosting issue?
Further on from my comment before, some sites need theme updates and this is not showing in WordPress. It says that all themes are up-to-date. I am at a loss to know where to look for this problem, as I think it is all related. How to I get word fence to start scanning again?
If all of the sites are on the same host, or at the same hosting company, yes, it could be something they have changed. Since you have made no changes to plugins and such since then, it does sound likely — especially with that many sites.
You could ask your host if they are blocking any traffic, including traffic from your site back to itself (this is how wp_cron works), or if they recently added mod_security or changed its rules.
If you know where to find your error_log and access_log files, it may help narrow down the issue too. In the access log, look for “POST /wp-cron” (without the quotes), and see if they have a “200” status, or something else like 404, 403, 500, or 503. The error log files would likely have multiple similar errors per day, if there is anything to log.
Thank you so much, I will look into it. Would it have something to do with using Litespeed?
I don’t know if Litespeed could cause this or not. I have heard of various WordPress problems while using Litespeed, but I’m not that familiar with it.
Since wp-cron isn’t working at all (not only for Wordfence), you might be able to find more people who are familiar with wp-cron problems in Litespeed on the main wordpress.org forum. If you have a chance to look at your logs in my last post, though, I’d still be interested to see what is happening.
If you can’t get wp-cron working shortly, be sure to check your sites manually for today’s WordPress security update!
I found one other item that might help — if it was working before though, this may not be the same problem. This article shows how to prevent LiteSpeed from killing long-running processes:
Running Wordfence under LiteSpeed web server and preventing process killing or aborting
The topic ‘Wordfence not running automatic scans’ is closed to new replies.