[arch-general] Unable to get remote rpcinfo information

niya levi niyalevi at gmail.com
Thu Jan 14 13:47:06 UTC 2016


Hi everyone
can anyone see why i cannot get remote rpcinfo information from across
the network ?

------------------------------------------------------------------------
## NFS SERVER
# testy

systemctl status rpcbind
● rpcbind.service - RPC bind service
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; indirect;
vendor preset: disabled)
   Active: active (running) since Thu 2016-01-14 00:39:21 GMT; 12h ago
  Process: 16918 ExecStart=/usr/bin/rpcbind -w ${RPCBIND_ARGS}
(code=exited, status=0/SUCCESS)
 Main PID: 16921 (rpcbind)
    Tasks: 1 (limit: 512)
   CGroup: /system.slice/rpcbind.service
           └─16921 /usr/bin/rpcbind -w

Jan 14 00:39:21 testy systemd[1]: Starting RPC bind service...
Jan 14 00:39:21 testy systemd[1]: Started RPC bind service.

lsof +M -i4 | grep rpcbind
rpcbind   16921    rpc    6u  IPv4  32401      0t0  UDP
*:sunrpc[portmapper]
rpcbind   16921    rpc    7u  IPv4  32402      0t0  UDP *:982
rpcbind   16921    rpc    8u  IPv4  32403      0t0  TCP
*:sunrpc[portmapper] (LISTEN)


rpcinfo -s
   program version(s) netid(s)                         service     owner
    100000  2,3,4     local,udp,tcp,udp6,tcp6          portmapper  superuser
    100024  1         tcp6,udp6,tcp,udp                status      superuser
    100005  3,2,1     tcp6,udp6,tcp,udp                mountd      superuser
    100003  4         udp6,tcp6,udp,tcp                nfs         superuser

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
    100024    1   udp  32765  status
    100024    1   tcp  32765  status
    100005    1   udp  20048  mountd
    100005    1   tcp  20048  mountd
    100005    2   udp  20048  mountd
    100005    2   tcp  20048  mountd
    100005    3   udp  20048  mountd
    100005    3   tcp  20048  mountd
    100003    4   tcp   2049  nfs
    100003    4   udp   2049  nfs

    
rpcinfo -s ashanti
rpcinfo: can't contact rpcbind: RPC: (unknown error code)


------------------------------------------------------------------------
## NFS CLIENT
# ashanti

systemctl status rpcbind
● rpcbind.service - RPC bind service
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; indirect;
vendor preset: disabled)
   Active: active (running) since Thu 2016-01-14 00:16:10 GMT; 13h ago
  Process: 16287 ExecStart=/usr/bin/rpcbind -w ${RPCBIND_ARGS}
(code=exited, status=0/SUCCESS)
 Main PID: 16288 (rpcbind)
   CGroup: /system.slice/rpcbind.service
           └─16288 /usr/bin/rpcbind -w

Jan 14 00:16:10 ashanti systemd[1]: Starting RPC bind service...
Jan 14 00:16:10 ashanti systemd[1]: Started RPC bind service.


alarm]# lsof +M -i4 | grep rpcbind
rpcbind   16288  rpc    6u  IPv4  41019      0t0  UDP *:sunrpc[portmapper]
rpcbind   16288  rpc    7u  IPv4  41020      0t0  UDP *:acmaint-transd
rpcbind   16288  rpc    8u  IPv4  41021      0t0  TCP
*:sunrpc[portmapper] (LISTEN)


rpcinfo -s
   program version(s) netid(s)                         service     owner
    100000  2,3,4     local,udp,tcp,udp6,tcp6          portmapper  superuser
    100005  3,2,1     tcp6,udp6,tcp,udp                mountd      superuser
    100024  1         tcp6,udp6,tcp,udp                status      superuser

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
    100005    1   udp  20048  mountd
    100005    1   tcp  20048  mountd
    100005    2   udp  20048  mountd
    100005    2   tcp  20048  mountd
    100005    3   udp  20048  mountd
    100005    3   tcp  20048  mountd
    100024    1   udp  59433  status
    100024    1   tcp  56392  status
        
rpcinfo -s testy
rpcinfo: can't contact rpcbind: RPC: (unknown error code)
------------------------------------------------------------------------


thanks Shadrock


More information about the arch-general mailing list