Current time: 04-26-2024, 03:13 PM Hello There, Guest! (LoginRegister)


Post Reply 
Backup error -> MySQL server has gone away
Author Message
Egor4ik Offline


Posts: 3
Joined: Nov 2011
Reputation: 0
Post: #3
RE: Backup error -> MySQL server has gone away
The problem replicates when doing SQL backups on big databases with compression.

for ISPCP 1.0.3 It looks like:
Code:
# /var/www/ispcp/engine/backup/ispcp-backup-all yes
Can't use string ("") as an ARRAY ref while "strict refs" in use at /var/www/ispcp/engine/backup/ispcp-backup-all line 148.
#

If {PrintError=1} in ispcp_common_methods.pl the output getting more informative:
Code:
DBD::mysql::db selectall_arrayref failed: MySQL server has gone away at /var/www/ispcp/engine/backup/../ispcp_common_methods.pl line 276.
Can't use string ("") as an ARRAY ref while "strict refs" in use at /var/www/ispcp/engine/backup/ispcp-backup-all line 148.

Fixed with:
my.cnf:
wait_timeout = 28800 (default !)
net_read_timeout = 600 (default 30 sec)
06-26-2012 07:52 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Backup error -> MySQL server has gone away - Egor4ik - 06-26-2012 07:52 PM

Forum Jump:


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