Scan Stage Failed
-
Earlier scans today worked fine. Scan is now interruptedas below.
Jul 29 14:10:48] Scan process ended after forking.
[Jul 29 14:11:40] Scan stop request received.All recommended troubleshooting changes applied but it still refuses to complete. Sometimes it restarts abefore failing again.
Scan Stage Failed A scan stage has failed to start. This is often because the site either cannot make outbound requests or is blocked from connecting to itself. Wordfence will make up to 2 attempts to resume each failed scan stage. This scan may recover if one of these attempts is successful. Click here for steps you can try. (opens in new tab)Any further suggestions please.
-
Hi @webrat11, thanks for getting in touch.
When you mention the recommended troubleshooting, was that taken from the following?: https://www.wordfence.com/help/scan/troubleshooting/
If so, try the following to get us some more information about the scan itself:
- Stop the existing scan if it is still running (The “Start New Scan” button turns into a “Stop” button while the scan is running).
- Go to Wordfence > Scan > Manage Scan and locate the “Performance Options” section. Set “Maximum execution time for each scan stage” to 20.
- Click to “Save Changes”.
- Go to the Tools > Diagnostics page.
- In the “Debugging Options” section check the circle “Enable debugging mode”.
- If “Start scan remotely” is checked, uncheck this option.
- Click to “Save Changes”.
- Start a new scan on the Scan page.
- If the scan fails again, copy the last 20 lines or so from the Log (click the “Show Log” link) once the scan finishes and paste them in the post.
If attempting the above steps fixes the issue and scans run again, you can leave all the settings above except for “Enable Debugging Mode”. If not, we’ll take a look at the scan log information here.
Thanks,
Peter.Hi Peter, The issue appears to be intermittent. Thanks, Ian
Latest log:
[Jul 29 20:19:21:1722280761.364119:4:info] Scan process ended after forking.
[Jul 29 20:19:20:1722280760.313974:4:info] Starting cron via proxy at URL https://noc1.wordfence.com/scanp/www.ianrattew.co.uk/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=1&scanMode=highsensitivity&cronKey=421a67dc50b29c1f63c83d41336ed6a0&k=8d7c727612428fada949810542fff4c011bfede06d50518e07e59b6405440433f7afa85e837a9fc7fb1396052315b25b9dc5d8d4474a059941a95099fbe53eb9&ssl=0&signature=4e96e49cddd5a6ab047b0831d45a3b8df3f161ed6f797ee7ecf528d17e2a0e49
[Jul 29 20:19:20:1722280760.264645:4:info] getMaxExecutionTime() returning config value: 20
[Jul 29 20:19:20:1722280760.241297:4:info] Got value from wf config maxExecutionTime: 20
[Jul 29 20:19:20:1722280760.193288:2:info] Attempting to resume scan stage (2 attempt(s) remaining)...
[Jul 29 20:18:44:1722280724.679695:4:info] Scan process ended after forking.
[Jul 29 20:18:43:1722280723.628936:4:info] Starting cron via proxy at URL https://noc1.wordfence.com/scanp/www.ianrattew.co.uk/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=1&scanMode=highsensitivity&cronKey=36b8e53721f1d093648a5d66293b9dcb&k=8d7c727612428fada949810542fff4c011bfede06d50518e07e59b6405440433f7afa85e837a9fc7fb1396052315b25b9dc5d8d4474a059941a95099fbe53eb9&ssl=1&signature=0c7b9d8aaa5c4d36ce7f66cd9664d22e0d76616166c86b9a1ede1040946c7fe1
[Jul 29 20:18:43:1722280723.580606:4:info] getMaxExecutionTime() returning config value: 20
[Jul 29 20:18:43:1722280723.556661:4:info] Got value from wf config maxExecutionTime: 20
[Jul 29 20:18:43:1722280723.484587:4:info] Calling startScan(true)
[Jul 29 20:18:42:1722280722.493916:4:info] Entered fork()
[Jul 29 20:18:42:1722280722.469907:4:info] Forking during indexing: /volume1/web_packages/wordpress/wp-content/uploads/gravity_forms/d/b/h/g/.htaccess
[Jul 29 20:18:42:1722280722.446011:2:info] 8690 files indexed
[Jul 29 20:18:41:1722280721.317432:2:info] 8500 files indexed
[Jul 29 20:18:41:1722280721.106410:4:info] Ignoring invalid scan file child: /volume1/web_packages/wordpress/wp-content/db.php
[Jul 29 20:18:39:1722280719.312140:4:info] Skipping unneeded hash: /volume1/web_packages/wordpress/wp-content/backup-migration-HO9igwRTCX/tmp/backup-migration_1705618968/db_tables/wp_wpfm_backup.sql
[Jul 29 20:18:39:1722280719.288260:4:info] Skipping unneeded hash: /volume1/web_packages/wordpress/wp-content/backup-migration-HO9igwRTCX/tmp/backup-migration_1705618968/db_tables/wp_users.sql
[Jul 29 20:18:39:1722280719.265110:4:info] Skipping unneeded hash: /volume1/web_packages/wordpress/wp-content/backup-migration-HO9igwRTCX/tmp/backup-migration_1705618968/db_tables/wp_usermeta.sqladditional log. The last line looks interetsing to me at least.
Wordfence Full Activity Log
[Jul 29 20:30:21:1722281421.857138:4:info] Scan process ended after forking.
[Jul 29 20:30:20:1722281420.806707:4:info] Starting cron via proxy at URL https://noc1.wordfence.com/scanp/www.ianrattew.co.uk/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=1&scanMode=highsensitivity&cronKey=a6dff415a23b3130f26bffab5dfa25df&k=8d7c727612428fada949810542fff4c011bfede06d50518e07e59b6405440433f7afa85e837a9fc7fb1396052315b25b9dc5d8d4474a059941a95099fbe53eb9&ssl=0&signature=e869446cd87af6c8d21df6b67c87b06962c2d384b6b3bbff955a00e05bdbbb01
[Jul 29 20:30:20:1722281420.758285:4:info] getMaxExecutionTime() returning config value: 20
[Jul 29 20:30:20:1722281420.734945:4:info] Got value from wf config maxExecutionTime: 20
[Jul 29 20:30:20:1722281420.686882:2:info] Attempting to resume scan stage (2 attempt(s) remaining)...
[Jul 29 20:29:02:1722281342.389165:4:info] Scan process ended after forking.
[Jul 29 20:29:01:1722281341.880871:4:info] Starting cron via proxy at URL https://noc1.wordfence.com/scanp/www.ianrattew.co.uk/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=1&scanMode=highsensitivity&cronKey=ebdd95a91a0ea428f9438068021f5958&k=8d7c727612428fada949810542fff4c011bfede06d50518e07e59b6405440433f7afa85e837a9fc7fb1396052315b25b9dc5d8d4474a059941a95099fbe53eb9&ssl=0&signature=1101e342110119073326b03405e9e6f3a56c9b1af017bbf03ffcd45d93ac5499
[Jul 29 20:29:01:1722281341.832546:4:info] getMaxExecutionTime() returning config value: 20
[Jul 29 20:29:01:1722281341.809249:4:info] Got value from wf config maxExecutionTime: 20
[Jul 29 20:29:01:1722281341.760592:4:info] Calling startScan(true)
[Jul 29 20:29:01:1722281341.069295:4:info] Entered fork()
[Jul 29 20:29:01:1722281341.045603:4:info] Calling fork() from wordfenceHash with maxExecTime: 20
[Jul 29 20:29:00:1722281340.998000:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/Options.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.949751:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/OptimizedEmailSending.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.901793:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/Migrations.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.817871:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/MigrationAbstract.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.745734:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/Migration.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.649641:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/MailCatcherV6.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.601693:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/MailCatcherTrait.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.553599:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/MailCatcherInterface.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.505639:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/MailCatcher.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.409698:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/Helpers/UI.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.361723:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/Helpers/PluginImportDataRetriever.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.313614:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/Helpers/Helpers.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.229703:4:info] Scanning: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/Helpers/DB.php (Mem:34.0M)
[Jul 29 20:29:00:1722281340.157479:1:error] Scan Engine Error: The signature on the request to start a scan is invalid. Please try again.Hi, I am still have scan stage failures – can you advise please.
Thanks,
Ian
The topic ‘Scan Stage Failed’ is closed to new replies.