Submitted by hregis on Fri, 01/18/2019 - 01:35 Pro Licensee
Hello
since 2 days my backup is in error, files "tar.gz" for all domains are present, but there are not the files ".tar.gz.dom" and "tar.gz.info"! What could cause this?
Failed to lock file /mnt/backupnfs/xxxxxxx/17-01-2019/xxxxxxx.com.tar.gz.info after 5 minutes. Last error was : Flock failed : No locks available at /usr/share/webmin/web-lib-funcs.pl line 1478.
Thank you
Régis
Status:
Closed (fixed)
Comments
Submitted by hregis on Fri, 01/18/2019 - 01:37 Pro Licensee Comment #1
Submitted by andreychek on Fri, 01/18/2019 - 09:50 Comment #2
Howdy -- thanks for contacting us!
Are you by chance using NFS there?
While I haven't personally run into this issue before, some research suggests that you may be seeing an issue with the NFS server itself.
The particular error you're seeing there can occur if the NFS mount is out of space, or is stale -- but if that's the case I suspect you wouldn't be seeing some backups appear there.
It can also occur if the NFS server doesn't have a lock service (lockd) running. This possibility seems a little more likely.
You'd want to ensure that the lockd process is running; you could either restart the service, or you could always restart the NFS server, and then re-mount it.
Submitted by hregis on Fri, 01/18/2019 - 10:19 Pro Licensee Comment #3
yes it is storage service that I use with NFS access as I could have used it in FTP mode! I use Virtualmin for more than 10 years and this is the first time that I meet this problem! .... I will wait a few days and come back if it happens again!
Submitted by JamieCameron on Sun, 01/20/2019 - 19:06 Comment #4
Check it the remote NFS server supports locking. If not, it is possible to mount the filesystem with locks disabled.
Submitted by hregis on Tue, 01/22/2019 - 04:57 Pro Licensee Comment #5
thank you for your answers, I made a "umount / mount", move the backup schedule and I still have this error. I do not have access to the configuration of this NFS share and I have another Virtualmin server that does its backups on it and I do not have this problem!
Thank you for your help
Submitted by andreychek on Tue, 01/22/2019 - 09:22 Comment #6
There's unfortunately not too much we can do about that.. Virtualmin is trying to create a lock file, and it's being told by the NFS server that it's unable to.
You may want to chat with the service provider who manages the NFS system there to ensure that there aren't any compatibility issues between your distro/version and the backup service you're using. You may want to mention the error you're seeing to them, "Flock failed : No locks available".
However, you could always try connecting to it via a different means, such as using FTP. That should get around the issue.
Submitted by hregis on Tue, 01/22/2019 - 09:34 Pro Licensee Comment #7
yes you're right, I'll see with the ISP and I'll come back to you ...
Submitted by hregis on Mon, 02/18/2019 - 08:26 Pro Licensee Comment #8
after reconnect NFS with nfs4 instead nfs3 (debian default) it's ok
thank you
Submitted by hregis on Mon, 02/18/2019 - 08:28 Pro Licensee Comment #9