DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
I'm hvaing problem with a NFS- fileserver running Debian Sarge. Every 3-4 days i cant mount my shares. I just get Permision Denied.
And the log on the fileserver shows this:
Jun 27 10:39:23 main rpc.mountd: authenticated mount request from debs.utysket.dk:720 for /Apps (/Apps)
Jun 27 10:39:23 main rpc.mountd: getfh failed: Operation not permitted
I been googling and all i found that worked is "exportfs -av". Something with "/var/lib/nfs/xtab" is getting renewed. The problem is that i've got to this every 3-4 days- So can any one tell my what the cause really is.
Because it's re-occuring periodicly I suspect there's a link with the expiring of certain permissions. Not sure which, but you'd have to check all authentication processes on your system. (like ssh, pam, etc)
None in particular, actually. But given your original post I'd suggest to take a closer look at rpc.mountd and /var/lib/nfs/xtab and the processes associated. Apparently the getfh function fails because it doesn't have enough permissions. Or it's parent process doesn't have the required permissions.
Update:
I fixed the problem by rewrite my hosts.allow and exports. To be honest i can't remember what the looked like a month ago. But i checked that the entire submask with every ip-address was written. Clients and fileserver is in different subnets.
It's still strange that it worked for 3-4 days and then i had to reexport my exports. But i guess that's the wonders of computers.. ;-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.