View previous topic :: View next topic |
Author |
Message |
ajacoutot n00b
Joined: 07 Nov 2002 Posts: 7 Location: Paris - France
|
Posted: Thu Nov 07, 2002 2:17 pm Post subject: nfssvc permission denied |
|
|
Hi,
When starting nfs server with nfs init script (from nfs-utils), I get the
following message:
/etc/init.d/nfs start
[ok ] * Starting NFS statd...
[ ok ] * Starting NFS rquotad...
[ ok ] * Starting NFS daemon...
nfssvc: Permission denied
* Error starting NFS daemon
[ !! ]
* Starting NFS mountd...
The modules are correctly loaded:
nfsd 61136 0 (autoclean)
lockd 44080 0 (autoclean) [nfsd]
sunrpc 60796 0 (autoclean) [nfsd lockd]
This error is happening on all my Gentoo servers, whether the nfs is user-space
or kernel-space.
There's nothing in the logs except someting about the portmapper (in auth.log):
Oct 7 07:03:09 srv01 portmap[29402]: connect from 127.0.0.1 to set(nfs):
request from unprivileged port
Oct 7 07:03:09 srv01 portmap[21158]: connect from 127.0.0.1 to unset(nfs):
request from unprivileged port
Oct 7 07:04:40 srv01 portmap[1765]: connect from 127.0.0.1 to set(nfs): request
from unprivileged port
Portmap is running and I have nfs-utils-0.3.3-r1. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Nov 15, 2002 4:41 pm Post subject: |
|
|
Not very familiar with NFS, and its been a while since I've used it. Anyone have an idea?
Also, for anyone that might have an idea, ajacoutot reported can't stat exported dir /home/.directory, which may or may not be related. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Fri Nov 15, 2002 10:51 pm Post subject: |
|
|
check your permissions in the nfs server dir (/var/lib/nfs/). Another reason could be tcp-wrappers, do you have any special hosts.deny or something like this ? I use nfs fairly extensive and i remember i had a simmilar problem once on redhat some time ago, which was some strange permission problem ... |
|
Back to top |
|
|
ajacoutot n00b
Joined: 07 Nov 2002 Posts: 7 Location: Paris - France
|
Posted: Sat Nov 16, 2002 7:47 pm Post subject: Can't find a solution |
|
|
I don't see any pbm in /var/lib/nfs/ (root owns everything).
As for tcpwrappers, I didn't put anything special in host.deny not host.allow.
The strange thing is that it works, but only after restarting nfs like 7 or 8 times. |
|
Back to top |
|
|
Messiah Tux's lil' helper
Joined: 30 Apr 2002 Posts: 139
|
Posted: Fri Nov 22, 2002 9:47 am Post subject: |
|
|
I do have the same problems now. Is it possible that it is related to grsecurity somehow? I cannot test, because this server is being used extensively by me. |
|
Back to top |
|
|
ajacoutot n00b
Joined: 07 Nov 2002 Posts: 7 Location: Paris - France
|
Posted: Fri Nov 22, 2002 10:36 am Post subject: grsecurity... |
|
|
grsecurity... Wow... I never though of that...
Well, I'll try to install an nfs server on a test box without grsecurity and see if it makes any difference. |
|
Back to top |
|
|
|