You are not logged in.

#1 2007-06-10 15:28:06

stka
Member
Registered: 2007-06-04
Posts: 8

[solved] NFS client will not work correctly

I have all my $HOME on an NFS Server. So long I used suse and debian, now I want switch to arch but the nfs-client ist not working correctly:
I start "portmap nfslock nfsd netfs" over rc.conf. When I do a "rpcinfo -p <ip-arch-system>" I got the following

stefan:/home/stefan # rpcinfo -p 192.168.123.3
   Program Vers Proto   Port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100021    1   udp  32768  nlockmgr
    100021    3   udp  32768  nlockmgr
    100021    4   udp  32768  nlockmgr
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100021    1   tcp  48988  nlockmgr
    100021    3   tcp  48988  nlockmgr
    100021    4   tcp  48988  nlockmgr
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100005    3   udp    891  mountd
    100005    3   tcp    894  mountd

As you see "status" is missing, so the statd is not running. It sould look like the result on my suse box:

stefan:/home/stefan # rpcinfo -p 192.168.123.2
   Program Vers Proto   Port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100021    1   udp  32768  nlockmgr
    100021    3   udp  32768  nlockmgr
    100021    4   udp  32768  nlockmgr
    100024    1   tcp  35804  status
    100021    1   tcp  35804  nlockmgr
    100021    3   tcp  35804  nlockmgr
    100021    4   tcp  35804  nlockmgr

There is the "status" line and so the statd is running.
How can I fix that problem, so that statd ist running on my arch box too?

Last edited by stka (2007-06-10 15:59:48)

Offline

#2 2007-06-10 15:59:28

stka
Member
Registered: 2007-06-04
Posts: 8

Re: [solved] NFS client will not work correctly

The Problem ist solved.
I use ldap for authentication. During the setup of the ldapclient I copied the nsswitch.ldap to nsswitch.conf. But the line for "hosts:" was:

hosts:          dns ldap

but in my dns ist no localhost entry. After I changed this line to:

hosts:          files dns ldap

everything was ok. The statd is now running and I can start to migrate to archlinux ;-)

Offline

Board footer

Powered by FluxBB