Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NFS - lockd Errors->nsm_mon_unmon: rpc failed, status=-13
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
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Fri Jan 14, 2005 1:17 pm    Post subject: NFS - lockd Errors->nsm_mon_unmon: rpc failed, status=-13 Reply with quote

Hello,

my log is showing following mass errors, produced by lockd:

Code:

nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor $IP
lockd: failed to monitor $IP


Portmapper is started on client and server. rpcinfo shows this.
I can also run rpc.statd an rpc.lockd to verify that there is no errors about funktions missing - i know that i dont have t orun these from hand, there started by the nfs process.

But whats the error that my nfs client ist producing these errors, portmapper is running fine ... i can mount the nfs share ... but it seems that there is a locking problem.

Running Kernel is 2.6.10 with CONFIG_LOCKD=y and nfs version 3 support compiled in.

nfs-utils are:

net-fs/nfs-utils-1.0.6-r6 +tcpd

The Server is running on FreeBSD5.3 and supports nfs versoin 3 and has also portmapper running.
And older Gentoo installation running a 2.6.7 Kernel and nfs-utils-1.0.6 is working fine ... no errors at all.

Any suggestions or advices?

best regards

Neo
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
Herring42
Guru
Guru


Joined: 10 Mar 2004
Posts: 373
Location: Buckinghamshire

PostPosted: Thu Feb 17, 2005 11:03 am    Post subject: Reply with quote

The solution appears to be to use nfsmount to mount the nfs shares on the client, rather than netmount.

Code:

/etc/init.d/netmount stop
rc-update del netmount
rc-update add nfsmount default
/etc/init.d/nfsmount start


Hope this helps.
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Thu Feb 17, 2005 7:11 pm    Post subject: Reply with quote

I dont use this scripts. I take automounter to do this. But the solution seems to be, to start nfs services, ifi do so all errors dissapear. Interesting behaviour.

best regards
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
jk3us
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 201
Location: Memphis, TN

PostPosted: Thu Jun 02, 2005 7:29 pm    Post subject: Reply with quote

Herring42 wrote:
The solution appears to be to use nfsmount to mount the nfs shares on the client, rather than netmount.

Code:

/etc/init.d/netmount stop
rc-update del netmount
rc-update add nfsmount default
/etc/init.d/nfsmount start


Hope this helps.


This worked for me! Thanks so much!

Jay K
Back to top
View user's profile Send private message
nizar
Apprentice
Apprentice


Joined: 19 Dec 2003
Posts: 268
Location: localhost

PostPosted: Wed Jun 15, 2005 4:09 pm    Post subject: Reply with quote

jk3us wrote:
Herring42 wrote:
The solution appears to be to use nfsmount to mount the nfs shares on the client, rather than netmount.

Code:

/etc/init.d/netmount stop
rc-update del netmount
rc-update add nfsmount default
/etc/init.d/nfsmount start


Hope this helps.


This worked for me! Thanks so much!

Jay K


For me too!
Thanks.
Back to top
View user's profile Send private message
Vlad
Apprentice
Apprentice


Joined: 09 Apr 2002
Posts: 264
Location: San Diego, California

PostPosted: Thu Aug 04, 2005 1:56 am    Post subject: Reply with quote

Herring42 wrote:
The solution appears to be to use nfsmount to mount the nfs shares on the client, rather than netmount.

Code:

/etc/init.d/netmount stop
rc-update del netmount
rc-update add nfsmount default
/etc/init.d/nfsmount start


Hope this helps.


Just wanted to say this solution worked for me as well. Thank you!
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Thu Aug 18, 2005 4:28 pm    Post subject: Reply with quote

Hmm - I don't even have net-fs/nfs-utils installed because I'm using net-fs/autofs :-/

What then?

Greetz
swimmer
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2066
Location: San Jose, CA

PostPosted: Mon Aug 29, 2005 8:32 pm    Post subject: Reply with quote

swimmer wrote:
Hmm - I don't even have net-fs/nfs-utils installed because I'm using net-fs/autofs :-/

What then?

Greetz
swimmer


Here's what I did (I use autofs).

Code:
emerge nfs-utils
rc-update add nfs default
reboot


You have to make sure nfs server is enabled in the kernel or nfs will complain. It may not be needed but I didn't try it without it.

Raydude
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Tue Aug 30, 2005 1:19 pm    Post subject: Reply with quote

RayDude wrote:

Here's what I did (I use autofs).

Code:
emerge nfs-utils
rc-update add nfs default
reboot


You have to make sure nfs server is enabled in the kernel or nfs will complain. It may not be needed but I didn't try it without it.

Raydude

Hmm - then I have a NFS server up & running ...

Which pretty resolves the problem but I didn't want to run a NFS server ;-)
So are there any other possibilities?

Greetz
swimmer
Back to top
View user's profile Send private message
Konsti
l33t
l33t


Joined: 10 Dec 2002
Posts: 691

PostPosted: Fri Sep 02, 2005 4:40 pm    Post subject: Reply with quote

swimmer wrote:

Which pretty resolves the problem but I didn't want to run a NFS server ;-)
So are there any other possibilities?


That special issue was bothering me also. Solution:

rc-update -d nfs
rc-update add portmap default

Afaik nfs-utils could be unmerged after that...
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2066
Location: San Jose, CA

PostPosted: Mon Sep 05, 2005 10:02 pm    Post subject: Reply with quote

Konsti wrote:
swimmer wrote:

Which pretty resolves the problem but I didn't want to run a NFS server ;-)
So are there any other possibilities?


That special issue was bothering me also. Solution:

rc-update -d nfs
rc-update add portmap default

Afaik nfs-utils could be unmerged after that...


I'm pretty sure I had portmap running. But when I get back to work tomorrow, I'll try to see if it was and try it without nfs server running.
_________________
Some day there will only be free software.
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