We use Overland Snap Servers for some of our network shares. Sometimes a file will get locked and even if we try to close it using windows management with the correct user name and password of the server, it will tell us access is denied.
What I have to do is SSH to the snap server, log in and run this command:
lsof|grep -i /path/to/filename
This will give you a PID of the file.
Once you have the PID you can kill it with this command:
kill -9 pid
If you get any errors while trying to do the commands, make sure you are root. To do this on the snap server log in via SSH as the user you would normally log in on the web GUI. then type:
osshell
su -
It will ask for a password. This will be the same password you used to log in.
Subscribe to:
Post Comments (Atom)
Error 1312 when adding ssl cert
If you get an error when using netsh to add a cert thumbprint, make sure you have a private key attached to the cert. Also, make sure the c...
-
If you get an error when using netsh to add a cert thumbprint, make sure you have a private key attached to the cert. Also, make sure the c...
-
I was trying to connect to the Microsoft store to update my windows from 8.1 Preview to 8.1 and for the whole day i was getting: “We were...
-
Unfortunately we have some programs that require Windows Server 2003. While I hate having old deprecated servers n my environment, sometimes...
No comments:
Post a Comment