Failed to lock file <tt>/doc/root/.backup</tt> after 5 minutes. Last error was : at /usr/libexec/webmin/web-lib-funcs.pl

Hi,

One of our VPS servers are failing to take full backup to Amazon S3 instance with the following error:

Creating backup for virtual server hxu.website.com ..
    Copying virtual server configuration ..
    .. done

    Backing up Cron jobs ..
    .. none defined.

    Copying records in DNS domain ..
    .. done

    Saving mail aliases ..
    .. done

    Saving mail and FTP users ..
    .. done

    Backing up mail and FTP user Cron jobs ..
    .. none to backup

    Backing up Dovecot control files ..
    .. none found

    Copying Apache virtual host configuration ..
    .. done

    Copying Apache log files ..
    .. done

    Copying Logrotate configuration ..
    .. done

    Dumping MySQL database hxu_website_com ..
    .. done

    Creating TAR file of home directory ..
    .. done

    Uploading archive to Amazon's S3 service ..
    .. done

.. completed in 2 minutes, 55 seconds

Creating backup for virtual server website.com ..
Failed to lock file <tt>/home/website/.backup</tt> after 5 minutes. Last error was :  at /usr/libexec/webmin/web-lib-funcs.pl line 1385.

Searching Virtualmin forums didn't reveal any similar discussion, hence filing a new issue.

Status: 
Closed (fixed)

Comments

Howdy -- hmm, what is the output of this command:

ls -la /home/website/

This can happen if there is another backup already running. You can get the PID of that backup from the file /home/website/.backup.lock

Hi,

I mark this as closed because the error somehow disappeared after some time. Thanks!