isp config backups not working

Discussion in 'Installation/Configuration' started by lifeisboost, Apr 23, 2006.

  1. lifeisboost

    lifeisboost New Member

    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
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you get any cron errors in your syslog?
     
  3. lifeisboost

    lifeisboost New Member

    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
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Please run
    Code:
    crontab -e
    and save the cron jobs again. Maybe it helps.
     
  5. lifeisboost

    lifeisboost New Member

    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
    *
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Is this a 32 or 64Bit Linux?
     
  7. lifeisboost

    lifeisboost New Member

    it is 32 bit i386, like i said if i run the command in a shell prompt it runs perfectly
     
  8. lifeisboost

    lifeisboost New Member

    any insight into this yet?
     
  9. Hans

    Hans Moderator ISPConfig Developer

    similar problem

    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
     
  10. falko

    falko Super Moderator ISPConfig Developer

Share This Page