mount: mount to NFS server '192.168.1.227' failed: RPC Error: Program not registered.


Doc ID    SOLN202419
Version:    2.0
Status:    Published
Published date:    07 Aug 2014
Created Date:    21 May 2012
Author:   
asingh
 

Details

RHEL Version: 5.5 (Tikanga)

Problem Clarification

When Customer trying to mount NFS partition he receives this error.

Cause

Portmapper service not running. It can be checked by command:

# rpcinfo -p

 

rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

 

Solution

restart portmapper service.

This can be  achieved by following command:

#/etc/init.d/portmap restart
Stopping portmap:                                          [FAILED]
Starting portmap:                                          [  OK  ]
# rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper

 

Also ask customer to check if nfs services are running  on the NFS server. you can provide the following commands

 # chkconfig --list | grep -i nfs

nfs             0:off   1:off   2:off   3:off   4:off   5:off   6:off --> in this case nfs was not running

nfslock         0:off   1:off   2:off   3:on    4:on    5:on    6:off

if not running please change the chkconfig and the restart nfs services

# chkconfig --levels 345 nfs on

# chkconfig --list | grep -i nfs

nfs             0:off   1:off   2:off   3:on    4:on    5:on    6:off

nfslock         0:off   1:off   2:off   3:on    4:on    5:on    6:off


# service nfs start

Starting NFS services:                                     [  OK  ]

Starting NFS quotas:                                       [  OK  ]

Starting NFS daemon:                                       [  OK  ]

Starting NFS mountd:                                       [  OK  ]

Once nfs services are running on the NFS server check them on the IQ side with the same commands

Finally mount the NFS

 


 

 


Avaya -- Proprietary. Use pursuant to the terms of your signed agreement or Avaya policy