ispcp-backup-all error - Maxunit - 06-29-2010 09:41 PM
Dear ISPCP Community,
I recently updated to ispCP 1.0.5 on Debian and since then I have the following problem and get the following email from my server:
Code:
A critical error just was encountered while executing function backup_all_engine() in /var/www/ispcp/engine/backup/ispcp-backup-all
Error encountered was:
========================================================================
Domain f3underground.com: ERROR: tar returned exit status -1, have a look in /var/www/virtual/f3underground.com-backup-2010.06.23-002103.tar.bz2.log
========================================================================
The file says:
Code:
/bin/tar: ./htdocs/screenshots/monthly_05_2010: file changed as we read it
/bin/tar: ./htdocs/screenshots: file changed as we read it
Nothing more, nothing less :/
Any ideas on how to fix this?
Greetings,
Maxunit
RE: ispcp-backup-all error - chris734 - 06-29-2010 10:30 PM
sorry my english , what response as at :
ls -al /var/www/virtual/f3underground.com
(06-29-2010 09:41 PM)Maxunit Wrote: Dear ISPCP Community,
I recently updated to ispCP 1.0.5 on Debian and since then I have the following problem and get the following email from my server:
Code:
A critical error just was encountered while executing function backup_all_engine() in /var/www/ispcp/engine/backup/ispcp-backup-all
Error encountered was:
========================================================================
Domain f3underground.com: ERROR: tar returned exit status -1, have a look in /var/www/virtual/f3underground.com-backup-2010.06.23-002103.tar.bz2.log
========================================================================
The file says:
Code:
/bin/tar: ./htdocs/screenshots/monthly_05_2010: file changed as we read it
/bin/tar: ./htdocs/screenshots: file changed as we read it
Nothing more, nothing less :/
Any ideas on how to fix this?
Greetings,
Maxunit
RE: ispcp-backup-all error - Maxunit - 06-29-2010 11:45 PM
The command returned the following output:
Code:
h1605663:~# ls -al /var/www/virtual/f3underground.com
insgesamt 264
drwxrwx--- 10 vu2003 www-data 4096 1. Jun 19:41 .
dr-xr-xr-x 5 root root 4096 29. Jun 13:43 ..
drwxrwx--- 2 vu2003 www-data 4096 29. Jun 00:22 backups
drwxr-xr-x 2 vu2003 vu2003 4096 20. Nov 2009 beta
drwxr-xr-x 2 vu2003 vu2003 4096 4. Sep 2009 cgi-bin
drwxr-xr-x 3 www-data www-data 4096 1. Jun 16:27 disabled
drwxrwxr-x 3 vu2003 vu2003 4096 4. Sep 2009 errors
-rw-r--r-- 1 root root 57 31. Okt 2009 f3underground.com-backup-2009 .10.31-001359.tar.bz2.log
-rw-r--r-- 1 root root 40 20. Nov 2009 f3underground.com-backup-2009 .11.20-001658.tar.bz2.log
-rw-r--r-- 1 root root 59 4. Dez 2009 f3underground.com-backup-2009 .12.04-001633.tar.bz2.log
-rw-r--r-- 1 root root 184 26. Dez 2009 f3underground.com-backup-2009 .12.26-001238.tar.bz2.log
-rw-r--r-- 1 root root 57 13. Jan 01:27 f3underground.com-backup-2010 .01.13-001432.tar.bz2.log
-rw-r--r-- 1 root root 57 14. Jan 01:13 f3underground.com-backup-2010 .01.14-001431.tar.bz2.log
-rw-r--r-- 1 root root 57 20. Jan 01:27 f3underground.com-backup-2010 .01.20-001517.tar.bz2.log
-rw-r--r-- 1 root root 57 23. Jan 01:33 f3underground.com-backup-2010 .01.23-001722.tar.bz2.log
-rw-r--r-- 1 root root 57 28. Jan 01:45 f3underground.com-backup-2010 .01.28-001714.tar.bz2.log
-rw-r--r-- 1 root root 57 2. Feb 01:31 f3underground.com-backup-2010 .02.02-001538.tar.bz2.log
-rw-r--r-- 1 root root 57 5. Feb 01:29 f3underground.com-backup-2010 .02.05-001301.tar.bz2.log
-rw-r--r-- 1 root root 57 17. Feb 01:50 f3underground.com-backup-2010 .02.17-001643.tar.bz2.log
-rw-r--r-- 1 root root 57 18. Feb 01:27 f3underground.com-backup-2010 .02.18-001229.tar.bz2.log
-rw-r--r-- 1 root root 57 15. Mär 02:08 f3underground.com-backup-201 0.03.15-002240.tar.bz2.log
-rw-r--r-- 1 root root 57 20. Mär 02:03 f3underground.com-backup-201 0.03.20-002123.tar.bz2.log
-rw-r--r-- 1 root root 57 22. Mär 02:17 f3underground.com-backup-201 0.03.22-002104.tar.bz2.log
-rw-r--r-- 1 root root 57 10. Apr 02:54 f3underground.com-backup-2010 .04.10-003514.tar.bz2.log
-rw-r--r-- 1 root root 235 12. Apr 02:49 f3underground.com-backup-2010 .04.12-002206.tar.bz2.log
-rw-r--r-- 1 root root 57 13. Apr 02:34 f3underground.com-backup-2010 .04.13-002450.tar.bz2.log
-rw-r--r-- 1 root root 241 22. Apr 03:27 f3underground.com-backup-2010 .04.22-001917.tar.bz2.log
-rw-r--r-- 1 root root 55 25. Apr 03:30 f3underground.com-backup-2010 .04.25-002501.tar.bz2.log
-rw-r--r-- 1 root root 57 26. Apr 02:43 f3underground.com-backup-2010 .04.26-002250.tar.bz2.log
-rw-r--r-- 1 root root 57 29. Apr 02:45 f3underground.com-backup-2010 .04.29-002114.tar.bz2.log
-rw-r--r-- 1 root root 116 1. Mai 02:51 f3underground.com-backup-2010 .05.01-002028.tar.bz2.log
-rw-r--r-- 1 root root 59 2. Mai 00:32 f3underground.com-backup-2010 .05.02-002718.tar.bz2.log
-rw-r--r-- 1 root root 59 3. Mai 00:25 f3underground.com-backup-2010 .05.03-002028.tar.bz2.log
-rw-r--r-- 1 root root 59 4. Mai 00:28 f3underground.com-backup-2010 .05.04-002338.tar.bz2.log
-rw-r--r-- 1 root root 116 5. Mai 03:14 f3underground.com-backup-2010 .05.05-002124.tar.bz2.log
-rw-r--r-- 1 root root 59 6. Mai 00:25 f3underground.com-backup-2010 .05.06-001906.tar.bz2.log
-rw-r--r-- 1 root root 296 7. Mai 03:12 f3underground.com-backup-2010 .05.07-002047.tar.bz2.log
-rw-r--r-- 1 root root 207 8. Mai 01:23 f3underground.com-backup-2010 .05.08-002004.tar.bz2.log
-rw-r--r-- 1 root root 205 9. Mai 03:30 f3underground.com-backup-2010 .05.09-001750.tar.bz2.log
-rw-r--r-- 1 root root 134 10. Mai 00:31 f3underground.com-backup-2010 .05.10-002025.tar.bz2.log
-rw-r--r-- 1 root root 134 11. Mai 00:28 f3underground.com-backup-2010 .05.11-002201.tar.bz2.log
-rw-r--r-- 1 root root 134 12. Mai 00:19 f3underground.com-backup-2010 .05.12-001401.tar.bz2.log
-rw-r--r-- 1 root root 134 13. Mai 00:31 f3underground.com-backup-2010 .05.13-002330.tar.bz2.log
-rw-r--r-- 1 root root 134 14. Mai 00:35 f3underground.com-backup-2010 .05.14-002428.tar.bz2.log
-rw-r--r-- 1 root root 134 15. Mai 00:31 f3underground.com-backup-2010 .05.15-002213.tar.bz2.log
-rw-r--r-- 1 root root 134 16. Mai 00:31 f3underground.com-backup-2010 .05.16-002128.tar.bz2.log
-rw-r--r-- 1 root root 134 17. Mai 00:41 f3underground.com-backup-2010 .05.17-002410.tar.bz2.log
-rw-r--r-- 1 root root 260 18. Mai 04:13 f3underground.com-backup-2010 .05.18-002010.tar.bz2.log
-rw-r--r-- 1 root root 59 19. Mai 00:33 f3underground.com-backup-2010 .05.19-002246.tar.bz2.log
-rw-r--r-- 1 root root 189 20. Mai 04:27 f3underground.com-backup-2010 .05.20-002110.tar.bz2.log
-rw-r--r-- 1 root root 189 21. Mai 04:13 f3underground.com-backup-2010 .05.21-001904.tar.bz2.log
-rw-r--r-- 1 root root 134 22. Mai 00:39 f3underground.com-backup-2010 .05.22-002416.tar.bz2.log
-rw-r--r-- 1 root root 130 23. Mai 04:21 f3underground.com-backup-2010 .05.23-003043.tar.bz2.log
-rw-r--r-- 1 root root 134 24. Mai 00:36 f3underground.com-backup-2010 .05.24-002209.tar.bz2.log
-rw-r--r-- 1 root root 55 26. Mai 04:10 f3underground.com-backup-2010 .05.26-001928.tar.bz2.log
-rw-r--r-- 1 root root 134 27. Mai 00:48 f3underground.com-backup-2010 .05.27-002749.tar.bz2.log
-rw-r--r-- 1 root root 205 28. Mai 04:21 f3underground.com-backup-2010 .05.28-001646.tar.bz2.log
-rw-r--r-- 1 root root 134 29. Mai 00:36 f3underground.com-backup-2010 .05.29-002313.tar.bz2.log
-rw-r--r-- 1 root root 134 30. Mai 00:30 f3underground.com-backup-2010 .05.30-001927.tar.bz2.log
-rw-r--r-- 1 root root 134 31. Mai 00:31 f3underground.com-backup-2010 .05.31-002049.tar.bz2.log
-rw-r--r-- 1 root root 134 1. Jun 00:46 f3underground.com-backup-2010 .06.01-002555.tar.bz2.log
drwxrwxr-x 21 vu2003 vu2003 4096 1. Jun 20:50 htdocs
-rw-r--r-- 1 root root 30 1. Jun 16:28 .htgroup
-rw-r--r-- 1 root root 54 1. Jun 16:28 .htpasswd
drwxrwx--- 2 vu2003 www-data 4096 5. Sep 2009 logs
drwxrwx--- 2 vu2003 www-data 4096 29. Jun 13:19 phptmp
EDIT:
The Backup Daemon only has problems with creating the full backup, but it has no problems with creating the MySQL DB Backups.
Code:
h1605663:~# ls -al /var/www/virtual/f3underground.com/backups
insgesamt 9545692
drwxrwx--- 2 vu2003 www-data 4096 29. Jun 00:22 .
drwxrwx--- 10 vu2003 www-data 4096 1. Jun 19:41 ..
-rw-rw---- 1 vu2003 vu2003 9668 29. Jun 00:18 f3devcenter.sql.bz2
-rw-rw---- 1 vu2003 vu2003 9734100764 25. Mai 04:11 f3underground.com-backup-2010.05.25-001648.tar.bz2
-rw-rw---- 1 vu2003 vu2003 31099293 29. Jun 00:19 f3underground.sql.bz2
-rw-rw---- 1 vu2003 vu2003 1526 29. Jun 00:18 imchat.sql.bz2
RE: ispcp-backup-all error - chris734 - 06-30-2010 02:09 AM
what is your version of debian ?
do you debian is updated ?
for no risk, go to step 3 here :
http://isp-control.net/documentation/start:installation:debian
control you source.list and update your system.
RE: ispcp-backup-all error - Maxunit - 06-30-2010 03:12 AM
EDIT:
My Root runs Debian Lenny...I had Etch sources inside the sources.list...i removed them and will upgrade the server again.
EDIT:
I updated several packages...lets see, if it will work again or not...
RE: ispcp-backup-all error - chris734 - 06-30-2010 06:30 PM
yes is right, go here for upgrade etch to lenny :
http://www.debianadmin.com/howto-upgrade-from-debian-etch-40-to-lenny-50.html
RE: ispcp-backup-all error - joximu - 06-30-2010 06:46 PM
Hi Maxunit:
it seems that the backups already did not work very well in may and also before (see the backup-log in the domain folder - btw. you can delete them...)
With big (dize) sites the backup needs some time to be finished. If during this time some of the files are changing (temp etc) then tar throws the error and it's not 100% sure that the backup is usefull - that's why ispcp removes it and sends the message.
It seems that the backup (the one that was successful) starts at around 0:15 a quater after midnight. But it taks almost 4 hours!
which is a reasonable time for a 9GB file.
Maybe you can improve the time by switching to gzip instead of bzip2 (less cpu ressources and faster - but less compression, normally not very much less...)
/J
|