Can't bind to server which serves this domain

Posted on

NIS server not able to bind , so users not able to login . Restarted the ypbind but no luck . Please help

root@server#ypcat passwd |grep test

No such map passwd.byname. Reason: Can't bind to server which serves this domain

root@server#systemctl status ypbind
● ypbind.service - NIS/YP (Network Information Service) Clients to NIS Domain Binder
Loaded: loaded (/usr/lib/systemd/system/ypbind.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2017-10-27 12:47:07 BST; 11min ago
Process: 14180 ExecStartPost=/usr/libexec/ypbind-post-waitbind (code=exited, status=0/SUCCESS)
Process: 14172 ExecStartPre=/usr/sbin/setsebool allow_ypbind=1 (code=exited, status=1/FAILURE)
Process: 14168 ExecStartPre=/usr/libexec/ypbind-pre-setdomain (code=exited, status=0/SUCCESS)
Main PID: 14175 (ypbind)
Status: "Processing requests..."
CGroup: /system.slice/ypbind.service
└─14175 /usr/sbin/ypbind -n

Oct 27 12:46:49 cbfusd01.uk.db.com ypbind-post-waitbind[14180]: rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
Oct 27 12:46:51 cbfusd01.uk.db.com ypbind-post-waitbind[14180]: rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
Oct 27 12:46:53 cbfusd01.uk.db.com ypbind-post-waitbind[14180]: rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
Oct 27 12:46:55 cbfusd01.uk.db.com ypbind-post-waitbind[14180]: rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
Oct 27 12:46:57 cbfusd01.uk.db.com ypbind-post-waitbind[14180]: rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
Oct 27 12:46:59 cbfusd01.uk.db.com ypbind-post-waitbind[14180]: rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
Oct 27 12:47:05 cbfusd01.uk.db.com ypbind-post-waitbind[14180]: rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

Oct 27 12:47:07 cbfusd01.uk.db.com systemd[1]: Started NIS/YP (Network Information Service) Clients to NIS Domain Binder.

root@server#rpcinfo -p localhost
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
100007 2 udp 785 ypbind
100007 1 udp 785 ypbind
100007 2 tcp 788 ypbind
100007 1 tcp 788 ypbind

Responses