n_kerr Absent Member.
Absent Member.
9915 views

Clearing a connection\locked file

We have a SUSE 10 SP2 with OES 2 SP1. We have NSS volume that contains the shared files for the entire organization. How do I clear a connection\locked file? I have found everything else but that.

Thanks

Labels (2)
0 Likes
8 Replies
utman Absent Member.
Absent Member.

Re: Clearing a connection\locked file

Look in NRM (http://IP:8008)>Manage NCP Services>Manage Connections and you should be able to choose and clear connections. To view connections either click on the house icon or Manage NCP Services> Manage Shares and chose the information icon to the right of the volume and then it will display the open files.
Knowledge Partner
Knowledge Partner

Re: Clearing a connection\locked file

Is it possible they're looking for what USED to be in NRM in Netware?

We have cases where a file is marked by the OS as "open" when, in fact, it's not (PC is even shut off/down).

The only way we've found to fix it, is to go into NRM, find the file, click the "details" icon and there's a "close marked file" or something like that.

I don't see that ability in NRM on OES2 SP1 Linux.

Clearing a connection (at least on NetWare) was never an option because:

a) it would whack the entire client connection to that server
b) usually the client would reconnect (due to auto-reconnect) fast enough that it still wouldn't clear the file being marked open.
0 Likes
jmarton2 Absent Member.
Absent Member.

Re: Clearing a connection\locked file

On Wed, 19 Aug 2009 19:36:02 +0000, kjhurni wrote:

> b)
> usually the client would reconnect (due to auto-reconnect) fast enough
> that it still wouldn't clear the file being marked open.


Solution there is to disable the account in eDir before clearing the
connection. Client shouldn't auto-reconnect in that case.



--
Joe Marton
Novell Knowledge Partner
SUSE Linux Enterprise 11 is ready for action.

Joe Marton Emeritus Knowledge Partner
0 Likes
Knowledge Partner
Knowledge Partner

Re: Clearing a connection\locked file

And what does that to do their other eDir/netware connections? Or things that use ldap like Groupwise, etc.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Clearing a connection\locked file

Marcel pointed this out to me in another forum:

"IT's alsmot in the same place as in NetWare. IT does however only apply to
files open through NCP connections.

What you do is from the main NRM screen, in the list under "ncp volume id"
click on the "i" button in front of the volume on which you want to see
open files. You will then see all open files on that volume and you can
individually close them."
0 Likes
jmarton2 Absent Member.
Absent Member.

Re: Clearing a connection\locked file

On Thu, 20 Aug 2009 14:16:04 +0000, kjhurni wrote:

> And what does that to do their other eDir/netware connections?


Clears it.

> Or
> things that use ldap like Groupwise, etc.


Anything that uses LDAP while the account is disabled will fail.
Typically, though, if you're doing this to clear the lock from a stubborn
connection you're only going to disable the account for a couple of
moments.



--
Joe Marton
Novell Knowledge Partner
SUSE Linux Enterprise 11 is ready for action.

Joe Marton Emeritus Knowledge Partner
0 Likes
cniehaus Absent Member.
Absent Member.

Re: Clearing a connection\locked file

Thanks for this tidbit. Still getting used to the system and this is something I have been looking for and could not find. I am not sure what is causing the locked files yet (probably user error) but at least I have a fix.

Thanks again.
(BTW - the Information Icon (I) is to the left of the volume on my screen.

utman;1843603 wrote:
Look in NRM (http://IP:8008)>Manage NCP Services>Manage Connections and you should be able to choose and clear connections. To view connections either click on the house icon or Manage NCP Services> Manage Shares and chose the information icon to the right of the volume and then it will display the open files.
0 Likes
pkoochin Absent Member.
Absent Member.

Re: Clearing a connection\locked file

You can also do this from the command line on the server itself.

Open ncpcon and then type: files close f=[path and name to file] (ie files close=/media/nss/DATAVOL/users/user/excel.xls )
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.