rpcinfo -p localhost command fails with "rpcinfo: localhost: Servname not supported for ai_socktype"
Issue
-
Executing
rpcinfo -p localhost
fails with following error message# rpcinfo -p localhost rpcinfo: localhost: Servname not supported for ai_socktype
-
Executing
rpcinfo
just works# rpcinfo 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
Environment
- Red Hat Enterprise Linux
- rpcinfo
- rear (usually seen when performing a restore)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.