My hosting provider apparently had a disk problem and my VPS may have been affected in some way. That was a few days ago and after that the daily B&M "Default Database backed up successfully to ..." watchdog entries have stopped. I found that my site had gone into maintenance mode and didn't come back out. It seemed that clearing the caches putting it back on-line had restored things to normal, but there's more...
Today there should have been a daily backup at 18:00, but again no confirmation. Then:
17:00 Cron run completed.
18:00 PDOException: SQLSTATE[HY000]: General error: 1017...
18:00 Cron run completed.
19:00 Cron could not run because the site is in maintenance...
19:00 node
19:00 Warning: Cannot use a scalar value as an array in...
+ more of these, and this repeats every hour now.
Here are the messages in detail:
cron PDOException: SQLSTATE[HY000]: General error: 1017 Can't find file: 'cache_admin_menu' (errno: 2): SHOW CREATE VIEW `cache_admin_menu`; Array ( ) in backup_migrate_destination_db_mysql->query() (line 439 of CONTRIB/modules/backup_migrate/includes/destinations.db.mysql.inc).
cron Cron run completed.
cron Cron could not run because the site is in maintenance mode.
access denied node
php Warning: Cannot use a scalar value as an array in block_page_build() (line 269 of modules/block/block.module).
php Warning: Cannot use a scalar value as an array in block_page_build() (line 269 of modules/block/block.module).
php Warning: Cannot use a scalar value as an array in httpbl_page_build() (line 309 of CONTRIB/modules/httpbl/httpbl.module).
php Warning: Cannot use a scalar value as an array in ctools_page_alter() (line 681 of CONTRIB/modules/ctools/ctools.module).
php Warning: Invalid argument supplied for foreach() in element_children() (line 6530 of includes/common.inc).
php Warning: Cannot use a scalar value as an array in drupal_render() (line 5987 of includes/common.inc).
php Warning: Cannot use a scalar value as an array in drupal_render() (line 6042 of includes/common.inc).
All these messages have cron.php as their location, and the second bunch repeats every hour now.
This almost looks like a reincarnation of #1622204: PDOException: SQLSTATE[HY000]: General error: 1017 Can't find file: 'cache_admin_menu' (errno: 2): SHOW CREATE TABLE `cache_admi, but the message is slightly different.
Admin Menu continues to work just fine.
I've put the site back online, and cron now runs again without any warnings. (If I take it offline, I can run cron manually without any warnings.)
I've tried to create a manual backup, and this gives me:
Site was taken offline.
The website encountered an unexpected error. Please try again later.
The watchdog log shows a new instance of the PDOException, and the site remains offline.
Comments
Comment #1
hfarrier CreditAttribution: hfarrier commentedWe report a similar issue. It has happened about 4-5 times on a non-profit site that I manager. The site never comes out of maintenance mode when a backup fails.
Comment #2
couturier CreditAttribution: couturier as a volunteer commentedSounds like this might be a server issue, but the 2.x branch is being deprecated. Upgrade to 7.x-3.2 and see if it resolves your issue.