Backup error -> MySQL server has gone away - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Backup error -> MySQL server has gone away (/thread-12639.html) |
Backup error -> MySQL server has gone away - Elber - 01-10-2011 08:29 PM Hi, i have problem with my backup... Quote:[DEBUG] push_el() sub_name: setfmode(), msg: Starting... In my my.cnf i have Quote:wait_timeout = 2000 How to fix my problem ? RE: Backup error -> MySQL server has gone away - mydebians - 01-13-2011 09:18 AM Hi, try to comment this line Code: wait_timeout = 2000 RE: Backup error -> MySQL server has gone away - Egor4ik - 06-26-2012 07:52 PM 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 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. Fixed with: my.cnf: wait_timeout = 28800 (default !) net_read_timeout = 600 (default 30 sec) |