Current time: 11-26-2024, 04:38 AM Hello There, Guest! (LoginRegister)


Post Reply 
Backup is failing
Author Message
dirkson Offline
Junior Member
*

Posts: 27
Joined: Aug 2008
Reputation: 0
Post: #16
RE: Backup is failing
Hey, that was useful! Error message, now with verbosity:
Code:
# cat /var/log/ispcp/ispcp-backup-*
DEBUG: push_el() sub_name: backup_all_start_up(), msg: Starting...
DEBUG: push_el() sub_name: lock_backup_all_system(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/usr/bin/touch /tmp/ispcp-backup-all.lock'), msg: Ending...
DEBUG: push_el() sub_name: lock_backup_all_system(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Ending...
DEBUG: push_el() sub_name: backup_all_start_up(), msg: Ending...
DEBUG: push_el() sub_name: database_revision(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: database_revision(), msg: Ending...
DEBUG: push_el() sub_name: backup_all_engine(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: get_human_date(), msg: Starting...
DEBUG: push_el() sub_name: get_human_date(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/bin/tar --create --directory=/var/www/virtual/frogstar.com --gzip --file=/var/www/virtual/frogstar.com/frogstar.com-backup-2009.03.24-101915.tar.gz --exclude=logs --exclude=phptmp --exclude=backups --exclude=frogstar.com-backup-2009.03.24-101915.tar.gz . 2> /var/www/virtual/frogstar.com/frogstar.com-backup-2009.03.24-101915.tar.gz.log'), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/bin/rm -rf /var/www/virtual/frogstar.com/frogstar.com-backup-2009.03.24-101915.tar.gz.log'), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/bin/rm -rf /var/www/virtual/frogstar.com/backups/frogstar.com-*.tar.*'), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/bin/mv -f /var/www/virtual/frogstar.com/frogstar.com-backup-2009.03.24-101915.tar.gz /var/www/virtual/frogstar.com/backups'), msg: Ending...
DEBUG: push_el() sub_name: setfmode(), msg: Starting...
DEBUG: push_el() sub_name: setfmode(), msg: Ending...
DEBUG: push_el() sub_name: get_human_date(), msg: Starting...
DEBUG: push_el() sub_name: get_human_date(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: ERROR: Incorrect SQL Query -> MySQL server has gone away
Can't use string ("") as an ARRAY ref while "strict refs" in use at /var/www/ispcp/engine/backup/ispcp-backup-all line 324.

So mysql has "gone away"? This is odd- mysql never gives any issues elsewhere, and it's being used all the time.

First two entries (All that matter) from the mysql statement:
Code:
+-----------+-------------------------------+---------------+------------+------------+-------------------------------+----------------------+
| domain_id | domain_name                   | domain_status | domain_uid | domain_gid | admin_name                    | email                |
+-----------+-------------------------------+---------------+------------+------------+-------------------------------+----------------------+
|         1 | frogstar.com                  | ok            |       2004 |       2004 | frogstar.com                  | dirkson@frogstar.com |
|         2 | arizer.com                    | ok            |       2011 |       2011 | arizer.com                    | dirkson@frogstar.com |
It appears to be borking on arizer.com, which is only about 50mb. It appears to do frogstar.com just fine, which is 500mb or so. Neither of these currently have a mysql database.
(This post was last modified: 03-25-2009 12:28 AM by dirkson.)
03-25-2009 12:26 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Backup is failing - marcorr - 09-27-2008, 07:51 PM
RE: Backup is failing - dirkson - 11-15-2008, 01:07 AM
RE: Backup is failing - dirkson - 11-15-2008, 01:57 AM
RE: Backup is failing - joximu - 11-15-2008, 01:50 AM
RE: Backup is failing - joximu - 11-15-2008, 01:59 AM
RE: Backup is failing - marcorr - 11-15-2008, 04:40 AM
RE: Backup is failing - joximu - 11-15-2008, 07:17 AM
RE: Backup is failing - dirkson - 03-19-2009, 11:29 PM
RE: Backup is failing - dirkson - 03-20-2009, 08:34 PM
RE: Backup is failing - Haeber - 03-20-2009, 09:56 PM
RE: Backup is failing - joximu - 03-21-2009, 01:53 AM
RE: Backup is failing - dirkson - 03-23-2009, 06:56 PM
RE: Backup is failing - joximu - 03-24-2009, 07:04 AM
RE: Backup is failing - dirkson - 03-24-2009, 09:53 PM
RE: Backup is failing - joximu - 03-24-2009, 11:14 PM
RE: Backup is failing - dirkson - 03-25-2009 12:26 AM
RE: Backup is failing - joximu - 03-25-2009, 01:40 AM
RE: Backup is failing - dirkson - 03-25-2009, 04:40 AM
RE: Backup is failing - joximu - 03-25-2009, 09:07 AM
RE: Backup is failing - Norri - 08-03-2009, 06:56 PM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)