View Full Version : isp config backups not working
lifeisboost
23rd April 2006, 15:09
Hello everyone. my only issue is the isp config backups are not running. the entries are listed in cron for root but never get executed. if i take the line and paste it itno a shell command it will run. This is the only entry that does not run. here is what is listed. does it look right?
05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
till
23rd April 2006, 15:23
Did you get any cron errors in your syslog?
lifeisboost
23rd April 2006, 15:40
0 errors are listed. like i said if i run the cron from a command line or select run now from webmin it runs fine
falko
23rd April 2006, 17:32
Please run crontab -e and save the cron jobs again. Maybe it helps.
lifeisboost
5th May 2006, 17:21
okay guys its been awhile, i made the server email me the cron and this is what i got.
sh: line 1: 32144 File size limit exceeded/home/admispconfig/ispconfig/tools/zip/zip
-r /home/admispconfig/ispconfig/temp/41a1fc5061f63f92248641554f927a77/web1_web.zip
*
zip warning: name not matched: *
zip error: Nothing to do! (try: zip -r /home/admispconfig/ispconfig/temp/1715db30ead2863f75fc256bbfce98c6/web25_user.zip
. -i *)
zip warning: name not matched: *
zip error: Nothing to do! (try: zip -r /home/admispconfig/ispconfig/temp/25e5303c96fc96c1324718b685c35660/web6_user.zip
. -i *)
sh: line 1: 1123 File size limit exceeded/home/admispconfig/ispconfig/tools/zip/zip
-r /home/admispconfig/ispconfig/temp/383b5fb0bc24aed203b91292a12373db/web24_web.zip
*
mv: cannot stat `/home/admispconfig/ispconfig/temp/11c5ff58e36ab548a705a091182ee62a.zip':
No such file or directory
Warning: chown(): No such file or directory in /root/ispconfig/scripts/shell/backup.php
on line 125
Warning: chgrp(): No such file or directory in /root/ispconfig/scripts/shell/backup.php
on line 126
sh: line 1: 1603 File size limit exceeded/home/admispconfig/ispconfig/tools/zip/zip
-r /home/admispconfig/ispconfig/temp/91a4b21f998386faeeffd5c766a33f92/web13_web.zip
*
Is this a 32 or 64Bit Linux?
lifeisboost
5th May 2006, 21:50
it is 32 bit i386, like i said if i run the command in a shell prompt it runs perfectly
lifeisboost
11th May 2006, 17:24
any insight into this yet?
Hans
11th June 2006, 08:19
I want to know that i have the same problem here.
On my backup-server, as user rdiff-backup i give the command:
/usr/bin/rdiff-backup --exclude /tmp --exclude /mnt --exclude /proc --exclude /dev --exclude /cdrom --exclude /var/lib/named/dev server1_backup::/ /backup/server1 (1line!)
which works great!
However my cronjob for rdiff-backup with the contents:
40 2 * * * /usr/bin/rdiff-backup --exclude /tmp --exclude /mnt --exclude /proc --exclude /dev --exclude /cdrom --exclude /var/lib/named/dev server1_backup::/ /backup/server1 (1 line)
Is never executed.
I tried to save the cronjob again, as Falko suggested.
It did not work out for me.
I also tried:
/etc/init.d/cron stop
Make sure all cron processer are stopped
"killall -9 cron"
then
Run "crontab -e"
save the cron file and then run /etc/init.d/cron start
No results too...
I guess my cron is a little lazy! :D
If anyone knows an answer, it would be nice!
Note: the backup server: Debian Sarge 386, server1 = Debian unofficial Sarge 64 bit.
Hans
falko
11th June 2006, 13:58
any insight into this yet?
Maybe this is related to your problem? http://www.howtoforge.com/forums/showthread.php?t=4558&highlight=%2Froot%2Fispconfig%2Fscripts%2Fshell%2F backup.php
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.