AnsweredAssumed Answered

Error registering NFS program

Question asked by stoat on Jul 4, 2013
Latest reply on Jul 7, 2013 by stoat
Hi,

I am having trouble running mapr-nfsserver on a single node within a 3 node MapR M3 cluster. I am getting "**Error registering NFS program**" within the nfsserver.log file, nothing within /var/log/messages or /var/log/secure. I am running v2.1.3.19871.GA on Centos 6.4 across all 3 machines. The M3 license was installed through the web gui which is also running on this node (Cluster ID 5252130940594723682)

Please can you suggest how I may be able to get round this problem.

Many thanks,<br>
Stoat

I have the following services installed on this node (it is the only node I have nfs set up on)

    [root@mapr3 ~]# ll /opt/mapr/roles/
    total 0
    -rwxr-xr-x. 1 root root 0 May 9 03:24 fileserver
    -rw-r--r--. 1 root root 0 May 2 01:42 hbinternal
    -rwxr-xr-x. 1 root root 0 May 2 01:43 hbregionserver
    -rwxr-xr-x. 1 root root 0 May 9 03:24 metrics
    -rwxr-xr-x. 1 root root 0 May 9 03:24 nfs
    -rwxr-xr-x. 1 root root 0 Jun 6 18:48 oozie
    -rwxr-xr-x. 1 root root 0 May 9 03:24 tasktracker
    -rwxr-xr-x. 1 root root 0 May 9 03:24 webserver
    -rwxr-xr-x. 1 root root 0 May 9 03:24 zookeeper

Error messages I am seeing are:

    [root@mapr3 server]# tail ../logs/nfsserver.log
    2013-07-04 19:38:34,2415 INFO nfsserver[23896] fs/nfsd/main.cc:403 ***** NFS server starting: pid=23896, mapr-version: 2.1.3.19871.GA *****
    2013-07-04 19:38:34,2434 INFO nfsserver[23896] fs/nfsd/main.cc:417 ******* NFS server MAPR_HOME=/opt/mapr, NFS_PORT=2049, NFS_MGMT_PORT=9998, NFSMON_PORT=9997
    2013-07-04 19:38:34,2485 INFO nfsserver[23896] fs/nfsd/nfsserver.cc:927 0.0.0.0[0] running the cmd /opt/mapr/server/maprexecute pmapset set 100003 3 6 2049, ret 25856
    2013-07-04 19:38:34,2505 INFO nfsserver[23896] fs/nfsd/nfsserver.cc:970 0.0.0.0[0] Use32BitFileId is 1
    2013-07-04 19:38:34,2506 INFO nfsserver[23896] fs/nfsd/nfsserver.cc:983 0.0.0.0[0] AutoRefreshExportsTimeInterval is 0
    2013-07-04 19:38:34,2506 ERROR nfsserver[23896] fs/nfsd/main.cc:60 0.0.0.0[0] **Error registering NFS program**

rpcbind is running, nfs is stopped, portmapper is running, selinux is in permissive mode

    [root@mapr3 server]# service rpcbind status
    rpcbind (pid 1494) is running...

    [root@mapr3 ~]$ service nfs status
    rpc.svcgssd is stopped
    rpc.mountd is stopped
    nfsd is stopped

    [mapr@mapr3 ~]$ ps -ef|grep nfs
    root 1689 2 0 05:57 ? 00:00:00 [nfsiod]
    root 1690 2 0 05:57 ? 00:00:00 [nfsv4.0-svc]
    mapr 30120 2453 0 19:52 pts/1 00:00:00 grep nfs

    [mapr@mapr3 ~]$ rpcinfo -p
     program vers proto port service
     100000 4 tcp 111 portmapper
     100000 3 tcp 111 portmapper
     100000 2 tcp 111 portmapper
     100000 4 udp 111 portmapper
     100000 3 udp 111 portmapper
     100000 2 udp 111 portmapper
     100024 1 udp 57251 status
     100024 1 tcp 40982 status

No error messages in /var/log/messages

    [root@mapr3 server]# sestatus
    SELinux status: enabled
    SELinuxfs mount: /selinux
    Current mode: permissive
    Mode from config file: enforcing
    Policy version: 24
    Policy from config file: targeted

    [root@mapr3 server]# service iptables status
    iptables: Firewall is not running.

Outcomes