rpcinfo -p do not show all rpc services listed. But, ps and netstat output shows it is running

Solution Verified - Updated -

Issue

  • Running rpcinfo -p does not show all rpc services running on nfs server
# 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

  • But, ps and netstat shows processes are running
# ps -ef | egrep -i 'rquotad|mountd|rpcbind' |grep -v egrep
root      3756     1  0 14:46 ?        00:00:00 rpc.rquotad
root      3760     1  0 14:46 ?        00:00:00 rpc.mountd
rpc       3898     1  0 14:49 ?        00:00:00 rpcbind

# netstat -tulnp  | egrep -i 'rquotad|mountd|rpcbind' |grep -v egrep
tcp        0      0 0.0.0.0:875                 0.0.0.0:*                   LISTEN      3756/rpc.rquotad    
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      3898/rpcbind        
tcp        0      0 0.0.0.0:52528               0.0.0.0:*                   LISTEN      3760/rpc.mountd     
tcp        0      0 0.0.0.0:53720               0.0.0.0:*                   LISTEN      3760/rpc.mountd     
tcp        0      0 0.0.0.0:42137               0.0.0.0:*                   LISTEN      3760/rpc.mountd     
tcp        0      0 :::111                      :::*                        LISTEN      3898/rpcbind        
tcp        0      0 :::52112                    :::*                        LISTEN      3760/rpc.mountd     
tcp        0      0 :::57017                    :::*                        LISTEN      3760/rpc.mountd     
tcp        0      0 :::56185                    :::*                        LISTEN      3760/rpc.mountd     
udp        0      0 0.0.0.0:875                 0.0.0.0:*                               3756/rpc.rquotad    
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               3898/rpcbind        
udp        0      0 0.0.0.0:38394               0.0.0.0:*                               3760/rpc.mountd     
udp        0      0 0.0.0.0:39960               0.0.0.0:*                               3760/rpc.mountd     
udp        0      0 0.0.0.0:39449               0.0.0.0:*                               3760/rpc.mountd     
udp        0      0 0.0.0.0:681                 0.0.0.0:*                               3898/rpcbind        
udp        0      0 :::51672                    :::*                                    3760/rpc.mountd     
udp        0      0 :::43747                    :::*                                    3760/rpc.mountd     
udp        0      0 :::111                      :::*                                    3898/rpcbind        
udp        0      0 :::46201                    :::*                                    3760/rpc.mountd     
udp        0      0 :::681                      :::*                                    3898/rpcbind      

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content