rpcinfo -p returns "can't contact portmapper: RPC: Timed out"

Solution Verified - Updated -

Issue

  • Problems when using rpcinfo with a remote host
  • We have problems when running the command "rpcinfo -p host_remoto", we are getting error.
[root@hostname ~]# rpcinfo -p bvtolremai01
rpcinfo: can't contact portmapper: RPC: Timed out 
  • The command "rpcinfo -p" ran directly from the remote machine works properly:
[root@hostname ~]# rpcinfo -p
   program version netid     address                service    owner
    100000    4    tcp6      ::.0.111               portmapper superuser
    100000    3    tcp6      ::.0.111               portmapper superuser
    100000    4    udp6      ::.0.111               portmapper superuser
    100000    3    udp6      ::.0.111               portmapper superuser
    100000    4    tcp       0.0.0.0.0.111          portmapper superuser
    100000    3    tcp       0.0.0.0.0.111          portmapper superuser
    100000    2    tcp       0.0.0.0.0.111          portmapper superuser
    100000    4    udp       0.0.0.0.0.111          portmapper superuser
    100000    3    udp       0.0.0.0.0.111          portmapper superuser
    100000    2    udp       0.0.0.0.0.111          portmapper superuser
    100000    4    local     /var/run/rpcbind.sock  portmapper superuser
    100000    3    local     /var/run/rpcbind.sock  portmapper superuser
    390600   20    tcp6      ::.7.228               arserverd  unknown
    390601   20    tcp6      ::.7.228               arserverd  unknown
    390619   20    tcp6      ::.7.228               arserverd  unknown
...
....
    390699   20   tcp   2020
    390695    1   tcp  32529  arserverd
    390695    2   tcp  32529  arserverd
    390695    3   tcp  32529  arserverd
    390695    4   tcp  32529  arserverd
  • If we restart the "rpcbind" service, it works with the first request, but it happens the same issue with the following ones.

Environment

  • Red Hat Enterprise Linux 6
  • BMC Remedy

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.