Results 1 to 4 of 4

Thread: Backup problem (with uploading)

  1. #1
    Join Date
    Dec 2011
    Posts
    5

    Backup problem (with uploading)

    Hi,

    We have an server running DirectAdmin on CentOS 5.0 64-bit, and we run daily backups via the default DirectAdmin backup functionality to an external FTP server.

    As you can see in the error log below the first 18 users are backuped without any problems, after that the errors start coming. Earlier, this error only occured in one account. That time i removed the public_html symbolic link (the account was an mail-only domain) and that solved is. But now very much backups are failing.

    Does anyone know why this error occures and how i can solve it?

    When i look in the target directory, only the first 18 backups are present.


    Code:
    User ******* has been backed up. <5:05:49>
    User ******* has been backed up. <5:07:45>
    User ******* has been backed up. <5:19:55>
    User ******* has been backed up. <5:26:26>
    User ******* has been backed up. <5:43:44>
    User ******* has been backed up. <5:47:39>
    User ******* has been backed up. <6:27:50>
    User ******* has been backed up. <6:35:25>
    User ******* has been backed up. <6:39:15>
    User ******* has been backed up. <6:41:19>
    User ******* has been backed up. <6:41:45>
    User ******* has been backed up. <6:46:06>
    User ******* has been backed up. <6:46:35>
    User ******* has been backed up. <6:47:48>
    User ******* has been backed up. <6:50:10>
    User ******* has been backed up. <6:50:57>
    User ******* has been backed up. <6:53:00>
    User ******* has been backed up. <6:53:44>
    Error renaming /home/tmp/admin/*******/user.admin.*******.tar.gz to /home/tmp/admin/user.admin.*******.tar.gz : Unable to move /home/tmp/admin/*******/user.admin.*******.tar.gz to /home/tmp/admin/user.admin.*******.tar.gz: 
    A directory component in oldpath *or *newpath does not exist or is a dangling symbolic link.
    
    <7:45:00>
    Cannot find backup file /home/tmp/admin/user.admin.*******.tar.gz to upload
    <7:45:00>
    User ******* has been backed up. <7:45:05>
    Cannot find backup file /home/tmp/admin/user.admin.*******.tar.gz to upload
    <7:45:05>
    Unable to write /home/tmp/admin/*******/backup/*******.com/email/passwd : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.com/email/passwd.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.com/email: No such file or directory
    
    Unable to write /home/tmp/admin/*******/backup/*******.nl/email/passwd : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.nl/email/passwd.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.nl/email: No such file or directory
    
    Unable to write /home/tmp/admin/*******/backup/*******.nl/email/quota : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.nl/email/quota.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.nl/email: No such file or directory
    
    
    Error reading /home/tmp/admin/*******/backup/*******.com/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/tmp/admin/*******/backup/*******.com/domain.conf for reading.
    
    Error reading /home/tmp/admin/*******/backup/*******.nl/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/tmp/admin/*******/backup/*******.nl/domain.conf for reading.
    
    Error writing /home/tmp/admin/*******/backup/apache_owned_files.list : Unable to open file for writing
    
    Error Compressing the backup file /home/tmp/admin/*******/backup/home.tar.gz : /bin/tar: /home/tmp/admin/*******/backup/home.tar.gz: Cannot open: Permission denied
    /bin/tar: Error is not recoverable: exiting now
    
    gzip: stdout: Broken pipe
    /bin/tar: /home/tmp/admin/*******/backup/home.tar.gz: Wrote only 4096 of 10240 bytes
    /bin/tar: Error is not recoverable: exiting now
    
    <7:45:40>
    Cannot find backup file /home/tmp/admin/user.admin.*******.tar.gz to upload
    <7:45:40>
    Unable to write /home/tmp/admin/*******/backup/*******.nl/email/passwd : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.nl/email/passwd.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.nl/email: No such file or directory
    
    
    Error reading /home/tmp/admin/*******/backup/*******.nl/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/tmp/admin/*******/backup/*******.nl/domain.conf for reading.
    
    Error writing /home/tmp/admin/*******/backup/apache_owned_files.list : Unable to open file for writing
    
    Error Compressing the backup file /home/tmp/admin/*******/backup/home.tar.gz : /bin/tar: /home/tmp/admin/*******/backup/home.tar.gz: Cannot open: Permission denied
    /bin/tar: Error is not recoverable: exiting now
    /bin/tar: Child returned status 2
    
    gzip: stdout: Broken pipe
    /bin/tar: Error exit delayed from previous errors
    
    <7:46:09>
    Cannot find backup file /home/tmp/admin/user.admin.*******.tar.gz to upload
    <7:46:09>
    Unable to write /home/tmp/admin/*******/backup/*******.nl/email/passwd : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.nl/email/passwd.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.nl/email: No such file or directory
    
    <b>A *directory *component in /home/tmp/admin/*******/backup/*******.nl/email/data/imap/info does not exist or is a dangling symbolic link</b>
    Unable to create the directory /home/tmp/admin/*******/backup/*******.nl/email/data/imap/info
    
    <b>A *directory *component in /home/tmp/admin/*******/backup/*******.nl/email/data/imap/jerney does not exist or is a dangling symbolic link</b>
    Unable to create the directory /home/tmp/admin/*******/backup/*******.nl/email/data/imap/jerney
    
    Unable to write /home/tmp/admin/*******/backup/*******.nl/email/quota : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.nl/email/quota.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.nl/email: No such file or directory
    
    Unable to write /home/tmp/admin/*******/backup/*******.com/email/passwd : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.com/email/passwd.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.com/email: No such file or directory
    
    
    Error reading /home/tmp/admin/*******/backup/*******.nl/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/tmp/admin/*******/backup/*******.nl/domain.conf for reading.
    
    Error reading /home/tmp/admin/*******/backup/*******.com/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/tmp/admin/*******/backup/*******.com/domain.conf for reading.
    
    Error writing /home/tmp/admin/*******/backup/apache_owned_files.list : Unable to open file for writing
    
    Error Compressing the backup file /home/tmp/admin/*******/backup/home.tar.gz : /bin/tar: /home/tmp/admin/*******/backup/home.tar.gz: Cannot open: Permission denied
    /bin/tar: Error is not recoverable: exiting now
    /bin/tar: Child returned status 2
    /bin/tar: Error exit delayed from previous errors
    
    gzip: stdout: Broken pipe
    
    <7:47:55>
    Cannot find backup file /home/tmp/admin/user.admin.*******.tar.gz to upload
    <7:47:55>
    Unable to write /home/tmp/admin/*******/backup/*******.nl/email/passwd : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.nl/email/passwd.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.nl/email: No such file or directory
    
    Unable to write /home/tmp/admin/*******/backup/*******.nl/email/quota : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.nl/email/quota.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.nl/email: No such file or directory
    
    
    Error reading /home/tmp/admin/*******/backup/*******.nl/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/tmp/admin/*******/backup/*******.nl/domain.conf for reading.
    
    Error writing /home/tmp/admin/*******/backup/apache_owned_files.list : Unable to open file for writing
    
    Error Compressing the backup file /home/tmp/admin/*******/backup/home.tar.gz : /bin/tar: /home/tmp/admin/*******/backup/home.tar.gz: Cannot open: Permission denied
    /bin/tar: Error is not recoverable: exiting now
    /bin/tar: Child returned status 2
    /bin/tar: Error exit delayed from previous errors
    
    gzip: stdout: Broken pipe
    
    <7:48:01>
    Cannot find backup file /home/tmp/admin/user.admin.*******.tar.gz to upload
    <7:48:01>
    Unable to write /home/tmp/admin/*******/backup/*******blog.com/email/passwd : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******blog.com/email/passwd.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******blog.com/email: No such file or directory
    
    
    Error reading /home/tmp/admin/*******/backup/*******blog.com/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/tmp/admin/*******/backup/*******blog.com/domain.conf for reading.
    
    Error writing /home/tmp/admin/*******/backup/apache_owned_files.list : Unable to open file for writing
    
    Error Compressing the backup file /home/tmp/admin/*******/backup/home.tar.gz : /bin/tar: /home/tmp/admin/*******/backup/home.tar.gz: Cannot open: Permission denied
    /bin/tar: Error is not recoverable: exiting now
    
    gzip: stdout: Broken pipe
    /bin/tar: /home/tmp/admin/*******/backup/home.tar.gz: Cannot write: Broken pipe
    /bin/tar: Error is not recoverable: exiting now
    
    <7:48:19>
    Cannot find backup file /home/tmp/admin/user.admin.*******.tar.gz to upload
    <7:48:19>
    Unable to write /home/tmp/admin/*******/backup/*******.nl/email/passwd : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.nl/email/passwd.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.nl/email: No such file or directory
    
    
    Error reading /home/tmp/admin/*******/backup/*******.nl/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/tmp/admin/*******/backup/*******.nl/domain.conf for reading.
    
    Error writing /home/tmp/admin/*******/backup/apache_owned_files.list : Unable to open file for writing
    
    Error Compressing the backup file /home/tmp/admin/*******/backup/home.tar.gz : /bin/tar: /home/tmp/admin/*******/backup/home.tar.gz: Cannot open: Permission denied
    /bin/tar: Error is not recoverable: exiting now
    /bin/tar: Child returned status 2
    /bin/tar: Error exit delayed from previous errors
    
    gzip: stdout: Broken pipe
    
    <7:48:48>
    Cannot find backup file /home/tmp/admin/user.admin.*******.tar.gz to upload
    <7:48:48>
    Unable to write /home/tmp/admin/*******/backup/*******.biz/email/passwd : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.biz/email/passwd.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.biz/email: No such file or directory
    
    <b>A *directory *component in /home/tmp/admin/*******/backup/*******.biz/email/data/imap/info does not exist or is a dangling symbolic link</b>
    Unable to create the directory /home/tmp/admin/*******/backup/*******.biz/email/data/imap/info
    
    <b>A *directory *component in /home/tmp/admin/*******/backup/*******.biz/email/data/imap/test does not exist or is a dangling symbolic link</b>
    Unable to create the directory /home/tmp/admin/*******/backup/*******.biz/email/data/imap/test
    
    Unable to write /home/tmp/admin/*******/backup/*******.biz/email/quota : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/*******.biz/email/quota.lock: No such file or directory
    /home/tmp/admin/*******/backup/*******.biz/email: No such file or directory
    
    Unable to write /home/tmp/admin/*******/backup/********************.nl/email/passwd : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/********************.nl/email/passwd.lock: No such file or directory
    /home/tmp/admin/*******/backup/********************.nl/email: No such file or directory
    
    Unable to write /home/tmp/admin/*******/backup/**************.nl/email/passwd : Unable to get Lock on file:
    open error for /home/tmp/admin/*******/backup/**************.nl/email/passwd.lock: No such file or directory
    /home/tmp/admin/*******/backup/**************.nl/email: No such file or directory
    
    
    Error reading /home/tmp/admin/*******/backup/*******.biz/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/tmp/admin/*******/backup/*******.biz/domain.conf for reading.
    
    Error reading /home/tmp/admin/*******/backup/********************.nl/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/tmp/admin/*******/backup/********************.nl/domain.conf for reading.
    
    Error reading /home/tmp/admin/*******/backup/**************.nl/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/tmp/admin/*******/backup/**************.nl/domain.conf for reading.
    
    Error writing /home/tmp/admin/*******/backup/apache_owned_files.list : Unable to open file for writing
    
    Error Compressing the backup file /home/tmp/admin/*******/backup/home.tar.gz : /bin/tar: /home/tmp/admin/*******/backup/home.tar.gz: Cannot open: Permission denied
    /bin/tar: Error is not recoverable: exiting now
    
    gzip: stdout: Broken pipe
    /bin/tar: /home/tmp/admin/*******/backup/home.tar.gz: Wrote only 2048 of 10240 bytes
    /bin/tar: Error is not recoverable: exiting now
    
    <7:49:54>
    Cannot find backup file /home/tmp/admin/user.admin.*******.tar.gz to upload
    <7:49:54>

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,947
    Hello,

    Do you have enough free space on HDD? /tmp and /home partitions?

    Might be helpful: http://www.directadmin.com/features.php?id=1052

  3. #3
    Join Date
    Sep 2010
    Posts
    46
    Quote Originally Posted by zEitEr View Post
    Hello,

    Do you have enough free space on HDD? /tmp and /home partitions?

    Might be helpful: http://www.directadmin.com/features.php?id=1052

    hi
    i have a same prolem with backup but the /home/tmp permission and quote is set correctly .

    i am using 1.44.1 directadmin version
    my server free space
    $# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup-lv_root 94G 44G 46G 50% /
    tmpfs 939M 0 939M 0% /dev/shm
    /dev/sda1 485M 94M 367M 21% /boot

    my fstab file :

    # cat /etc/fstab

    #
    # /etc/fstab
    # Created by anaconda on Thu Aug 23 03:52:39 2012
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    /dev/mapper/VolGroup-lv_root / ext4 defaults,usrquota,grpquota 1 1
    UUID=c390ce4f-4281-4c60-ba6c-73bf75f7aa80 /boot ext4 defaults 1 2
    /dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs defaults 0 0
    proc /proc proc defaults 0 0

    how can i solve the problem

    when i tray to backup i see this error :
    User abdisco has been backed up. <3:00:22>
    User admin has been backed up. <3:00:41>
    Error renaming /home/tmp/admin/afghanian/reseller.admin.afghanian.tar.gz to /home/tmp/admin/reseller.admin.afghanian.tar.gz : Unable to move /home/tmp/admin/afghanian/reseller.admin.afghanian.tar.gz to /home/tmp/admin/reseller.admin.afghanian.tar.gz:
    A directory component in oldpath or newpath does not exist or is a dangling symbolic link.

  4. #4
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,122
    Are there any broken symbolic links anywhere in the original user for which the backup fails?

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •