Solved

NFS write error on host host-server: Permission Denied

Posted on 1998-04-06
2
3,111 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The DSL Parameters part of this article is valid and can be considered with any brand of internet router and modem (Dlink, 3com, Alcatel, Usrobotics, Parks), by accessing the configuration interface available by the manufacturer eg: http://10.1.1.1 …
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now