Solved

NFS write error on host host-server: Permission Denied

Posted on 1998-04-06
2
3,136 Views
Last Modified: 2013-12-23
Hi...
Sparc-10 client and Sparc-20 server, both running Solaris 2.4. Periodically we see the folowing errors scrolling across openWindows on the NFS client....

Apr  6 10:09:30 nfs-client unix: NFS write error on host nfs-server: Permission denied.
Apr  6 10:09:30 nfs-client unix: (file handle: 8000f2 2 a0000 314b 53788dd4 a0000 2 71ef0eed)

There is nothing unusual happening when this occurs. And nobody complains that they do not have access. The directories where files get read from and written to, have read and write acces to the world. Now to the question.....
Is there a way, using the file handle generated by the error, to work out which file is being written, and by which  user or process.
regards
0
Comment
Question by:rickyr
2 Comments
 
LVL 1

Accepted Solution

by:
chytrace earned 100 total points
ID: 1583233
Hello,

    if you want see which file is accessed by which process or
user try to download & install `lsof' utility.
You may find it via anonymous ftp to vic.cc.purdue.edu in:

        pub/tools/unix/lsof/

The utility provides for very customizable view of open files
and is distributed with some scripts which you can find very
useful for other purposes.

Try to run the `lsof' as:

$> lsof -N

to see all open NFS files and directories

Hope this helps

                   Radovan
0
 
LVL 3

Author Comment

by:rickyr
ID: 1583234
Hi...
I haven't tried it yet, but have installed it on test bed Sparc and we are pleased with what lsof can do. Also as this is going to be so useful in other areas aswell, I'm giving you an "A"
Thanks very much
regards
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question