Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nfssvc permission denied
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ajacoutot
n00b
n00b


Joined: 07 Nov 2002
Posts: 7
Location: Paris - France

PostPosted: Thu Nov 07, 2002 2:17 pm    Post subject: nfssvc permission denied Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Nov 15, 2002 4:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Fri Nov 15, 2002 10:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
ajacoutot
n00b
n00b


Joined: 07 Nov 2002
Posts: 7
Location: Paris - France

PostPosted: Sat Nov 16, 2002 7:47 pm    Post subject: Can't find a solution Reply with quote

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
View user's profile Send private message
Messiah
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2002
Posts: 139

PostPosted: Fri Nov 22, 2002 9:47 am    Post subject: Reply with quote

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
View user's profile Send private message
ajacoutot
n00b
n00b


Joined: 07 Nov 2002
Posts: 7
Location: Paris - France

PostPosted: Fri Nov 22, 2002 10:36 am    Post subject: grsecurity... Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum