About every 2 -3 weeks we have a software program where the data is on a Samba server and we get a "file access denied " error message. I reboot the server and all is well for a while again. Any thoughts on how I can track down the PC that is keeping the file locked? Or is there a different configuration that would correct this. Tom Thomas Rieff Green Care 1717 3rd Avenue Mankato, MN 56001
On Thu, Mar 25, 2021 at 9:06 AM Thomas Rieff via samba < samba at lists.samba.org> wrote:> About every 2 -3 weeks we have a software program where the data is on a > Samba server and we get a "file access denied " error message. I reboot the > server and all is well for a while again. > Any thoughts on how I can track down the PC that is keeping the file > locked? > Or is there a different configuration that would correct this. > Tom >Can you maybe post your smb.conf?
On Thu, Mar 25, 2021 at 01:04:23PM +0000, Thomas Rieff via samba wrote:>About every 2 -3 weeks we have a software program where the data is on a Samba server and we get a "file access denied " error message. I reboot the server and all is well for a while again. >Any thoughts on how I can track down the PC that is keeping the file locked? >Or is there a different configuration that would correct this. >Tomsmbstatus will show all currently open files, and the client that has them open. If you know the filename that is having problems, this should help you to track it down.