Tuesday, August 15, 2017

Failed to start NIS/YP...Unit ypbind service ent..


1) when trying to restart the ypbind service or whenever you reboot the server you get the above error message, then follow the below steps.

2) check /etc/yp.conf file entries

# broadcast
#       If no server for the default domain is specified or
#       none of them is rechable, try a broadcast call to
#       find a server.
#
#domain abc server hundi.triples.com
#domain abc server jkty.triples.com
domain abc broadcast

3) Change the entries in /etc/yp.conf file as it is trying to broadcast the NIS servers that are available. So, it is waiting to respond and nothing got reply.

Just point to the definite server to respond immediately.

#domain abc server hundi.triples.com
domain abc server jkty.triples.com
#domain abc broadcast

4) Restart the service

# systemctl start ypbind
# systemctl enable ypbind

#ypwhich
jkty.triples.com







No comments:

Post a Comment