Backup is failing - 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 is failing (/thread-4532.html) Pages: 1 2 |
Backup is failing - marcorr - 09-27-2008 07:51 PM Hi, I have a problem with the ispcp-backup-all scripts. When it's running is it stops after a few minutes with this message: Can't use string ("") as an ARRAY ref while "strict refs" in use at /var/www/ispcp/engine/backup/ispcp-backup-all line 324. version rc6 running on debian testing Can anyone helps me out with this? Thank's MarcoRR RE: Backup is failing - dirkson - 11-15-2008 01:07 AM I'm having this problem now as well. RE: Backup is failing - joximu - 11-15-2008 01:50 AM could you check at which domain it is stopping - is there something with the databases (from this domain-user)? RE: Backup is failing - dirkson - 11-15-2008 01:57 AM After tinkering around with it, it looks like it'll do the first 3-4 domains (it varies), then fail. I can't make out any definining characteristics for the domains is fails on. I can't seem to figure out what is passing it "", or where it's passing it. RE: Backup is failing - joximu - 11-15-2008 01:59 AM Code: $sql="SELECT sqld_id, sqld_name FROM sql_database WHERE domain_id=$dmn_id"; line 324 = the foreach - line... that's why I think there's something with databases... /J RE: Backup is failing - marcorr - 11-15-2008 04:40 AM I changed bzip2 in gzip in the script and everything is working fine now. So or there is a bug in bzip2 or ......... With bzip2 it fails after a big site + 300MB So or there is a bug in bzip2 or ......... I deleted that big site and it was working again. I changed bzip2 in gzip in the script and everything is working fine now. RE: Backup is failing - joximu - 11-15-2008 07:17 AM thanx for this tests! RE: Backup is failing - dirkson - 03-19-2009 11:29 PM Nope, I'm still getting this exact same error, even after switching to gzip. Now it will do exactly one backup, (~400mb site backup) then fail. The boss has finally delivered an ultimatum on getting ispcp to ACTUALLY DO BACKUPS (We've been running it for, what, 9 months now? Never been able to get it to do backups.) So I REALLY need your halp, guyz. RE: Backup is failing - dirkson - 03-20-2009 08:34 PM Desperation bump. I really don't know what else to try here- The error message is too generic for me to tease much out of it, and my perl skills weren't great to start with. RE: Backup is failing - Haeber - 03-20-2009 09:56 PM Could you try to add the SQL option " LIMIT 1" into the SQL query, like: Code: $sql = "SELECT sqld_id, sqld_name FROM sql_database WHERE domain_id=$dmn_id LIMIT 1"; Best Regards Haeber |