Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet.

server1$ rpcinfo -p server2
rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)
# svcs -a | grep rpc
disabled       May_20   svc:/network/rpc/keyserv:default
disabled       May_20   svc:/network/rpc/rstat:default
disabled       May_20   svc:/network/rpc/rex:default
disabled       May_20   svc:/network/rpc/wall:default
disabled       May_20   svc:/network/rpc/rusers:default
disabled       May_20   svc:/network/rpc/spray:default
online         May_20   svc:/network/rpc/bind:default
online         May_20   svc:/network/rpc/gss:default
online         May_20   svc:/network/rpc/smserver:default

Check output on host you are trying to get RPC info from (server1) :

svcprop network/rpc/bind:default | grep -i local

If it returns config/local_only boolean true , then put it to false via svccfg.

svc:> select network/rpc/bind
svc:/network/rpc/bind> setprop config/local_only=false
svc:/network/rpc/bind> quit
root@host:~# svcadm refresh /network/rpc/bind
root@host:~# svcprop network/rpc/bind:default | grep -i local
config/local_only boolean false
root@host:~#

The rpcinfo -p command should work now.

Hope that helps
Regards
Peasant.

1 Like

Thank you very much! That solved the problem.