Menu

#3870 Backup operations - lock file never unlocked/deleted

open
5
2011-03-21
2011-03-21
Anonymous
No

Webmin 1.533 and 1.535, virtualmin 3.83 backup to local hdd. (it worked before the latest webmin update)

All virtual servers are backed, but lock file of latest backup file does not seem to be released, causing (probably) post backup command not to be executed. In my case the post command is "umount", which causes next backup pre command "mount" to fail, them backup to fail.

From Webmin 1.535 began to receive email with error message.

"Failed to lock file /backup/usb/webbackup_new/virtualmin_backup_20/virtualservername.tar.gz.info after 5 minutes"

"Running pre-backup command ..
mount.nfs: /backup/usb is already mounted or busy
.. failed!"

Discussion

  • Nobody/Anonymous

    Forgot to add that "Search for bugs" submit form on http://www.webmin.com/bugs.html is broken.

     
  • Jamie Cameron

    Jamie Cameron - 2011-03-21

    What PID is in the file /backup/usb/webbackup_new/virtualmin_backup_20/virtualservername.tar.gz.info.lock ? If it is is the PID of a backup that is still running, that would explain the problem ..

     
  • Jamie Cameron

    Jamie Cameron - 2011-03-21

    Also, bug search is fixed now.

     
  • Nobody/Anonymous

    Thank you Jamie.

    The lock file is empty. 0 bytes.

    I can't umount the backup disk for few hours, then I can. It does not seem to be running any process related to the backup (containing "backup"or 'tar").

    The problem occurs on manual backup too ("Backup in the background").

     
  • Nobody/Anonymous

    Sorry, my bad. Lock file is not present, info file is 0 bytes.
    Clicking "Backup now" created successfully and fully the backup, however did not execute the pre or post commands (mount/umount).

    Tomorrow, after next scheduled backup is executed, will bring you more information if available.

     
  • Jamie Cameron

    Jamie Cameron - 2011-03-23

    When you run the backup manually, does the pre command not get run at all, or does it fail?

     

Log in to post a comment.

Auth0 Logo