* nfssvc: Permission denied
@ 2002-11-15 14:20 Antoine Jacoutot
2002-11-19 4:47 ` Neil Brown
0 siblings, 1 reply; 4+ messages in thread
From: Antoine Jacoutot @ 2002-11-15 14:20 UTC (permalink / raw)
To: nfs
Hi, =20
=20
I'm using NFS under Gentoo Linux with kernel-2.4.19.=20
When starting nfs server with nfs init script (from nfs-utils), I get the=
=20
following message: =20
=20
/etc/init.d/nfs start =20
[ok ] * Starting NFS statd... =20
[ ok ] * Starting NFS rquotad... =20
[ ok ] * Starting NFS daemon... =20
nfssvc: Permission denied =20
* Error starting NFS daemon =20
[ !! ] =20
* Starting NFS mountd... =20
=20
The modules are correctly loaded: =20
nfsd 61136 0 (autoclean) =20
lockd 44080 0 (autoclean) [nfsd] =20
sunrpc 60796 0 (autoclean) [nfsd lockd] =20
=20
This error is happening on all my servers, whether the nfs is user-space =
=20
or kernel-space. =20
=20
There's nothing in the logs except someting about the portmapper (in=20
auth.log): =20
Oct 7 07:03:09 srv01 portmap[29402]: connect from 127.0.0.1 to set(nfs): =
=20
request from unprivileged port =20
Oct 7 07:03:09 srv01 portmap[21158]: connect from 127.0.0.1 to unset(nfs)=
: =20
request from unprivileged port =20
Oct 7 07:04:40 srv01 portmap[1765]: connect from 127.0.0.1 to set(nfs):=20
request =20
from unprivileged port =20
=20
Portmap is running and I have nfs-utils-0.3.3-r1.=20
=20
Thanks in advance if you have any clue.=20
I've search Google and didn't find anything usefull (this errors appears =
to=20
happen on old Linux kernels, but I'm using the lastest stable).=20
=20
-- =20
Antoine Jacoutot=20
Gentoo Linux=20
ajacoutot@lphp.org=20
http://www.lphp.org=20
=20
=20
=20
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nfssvc: Permission denied
2002-11-15 14:20 nfssvc: Permission denied Antoine Jacoutot
@ 2002-11-19 4:47 ` Neil Brown
2002-11-19 8:40 ` Antoine Jacoutot
0 siblings, 1 reply; 4+ messages in thread
From: Neil Brown @ 2002-11-19 4:47 UTC (permalink / raw)
To: Antoine Jacoutot; +Cc: nfs
On Friday November 15, ajacoutot@lphp.org wrote:
> Hi,
>
> I'm using NFS under Gentoo Linux with kernel-2.4.19.
> 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
It looks like you are not running this as root. You need to.
NeilBrown
> * 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 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.
>
> Thanks in advance if you have any clue.
> I've search Google and didn't find anything usefull (this errors appears to
> happen on old Linux kernels, but I'm using the lastest stable).
>
> --
> Antoine Jacoutot
> Gentoo Linux
> ajacoutot@lphp.org
> http://www.lphp.org
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of securing
> your web site with SSL, click here to get a FREE TRIAL of a Thawte
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> NFS maillist - NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nfssvc: Permission denied
2002-11-19 4:47 ` Neil Brown
@ 2002-11-19 8:40 ` Antoine Jacoutot
2002-11-19 22:23 ` Neil Brown
0 siblings, 1 reply; 4+ messages in thread
From: Antoine Jacoutot @ 2002-11-19 8:40 UTC (permalink / raw)
To: Neil Brown; +Cc: nfs
On Tuesday 19 November 2002 05:47, Neil Brown wrote:
> On Friday November 15, ajacoutot@lphp.org wrote:
> > Hi,
> >
> > I'm using NFS under Gentoo Linux with kernel-2.4.19.
> > 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
>
> It looks like you are not running this as root. You need to.
>
I am running is as root !
Besides, it works, but after 7 or 8 times restarting the service. This is=
very=20
strange.
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nfssvc: Permission denied
2002-11-19 8:40 ` Antoine Jacoutot
@ 2002-11-19 22:23 ` Neil Brown
0 siblings, 0 replies; 4+ messages in thread
From: Neil Brown @ 2002-11-19 22:23 UTC (permalink / raw)
To: Antoine Jacoutot; +Cc: nfs
On Tuesday November 19, ajacoutot@lphp.org wrote:
> On Tuesday 19 November 2002 05:47, Neil Brown wrote:
> > On Friday November 15, ajacoutot@lphp.org wrote:
> > > Hi,
> > >
> > > I'm using NFS under Gentoo Linux with kernel-2.4.19.
> > > 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
> >
> > It looks like you are not running this as root. You need to.
> >
>
> I am running is as root !
> Besides, it works, but after 7 or 8 times restarting the service. This is very
> strange.
Strange indeed.
The only time that nfsd should give this message is
if (!capable(CAP_SYS_ADMIN)) {
Maybe if you
sh -x /etc/init.d/nfs start
and double check which program is producing the error, and then
strace ....
that program.
NeilBrown
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-11-19 22:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-15 14:20 nfssvc: Permission denied Antoine Jacoutot
2002-11-19 4:47 ` Neil Brown
2002-11-19 8:40 ` Antoine Jacoutot
2002-11-19 22:23 ` Neil Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.