Errors while creating/updating individual NIS maps in Red Hat Enterprise Linux
Issue
- Errors while creating individual NIS maps in Red Hat Enterprise Linux
[root@nismaster yp]# make passwd
Updating passwd.byname...
YPBINDPROC_DOMAIN: Domain not bound
Could not read ypservers map: 3 Can't bind to server which serves this domain
YPPUSH: Cannot open /var/yp/example.com/passwd.byname
make: [passwd.byname] Error 1 (ignored)
Updating passwd.byuid...
YPBINDPROC_DOMAIN: Domain not bound
Could not read ypservers map: 3 Can't bind to server which serves this domain
YPPUSH: Cannot open /var/yp/example.com/passwd.byuid
make: [passwd.byuid] Error 1 (ignored)
[root@nismaster yp]#
- Unable to update NIS map individually:
[root@nismaster ~]# make -C /var/yp/example.com/
make: Entering directory `/var/yp/example.com'
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory `/var/yp/example.com'
[root@nismaster ~]# cd /var/yp/example.com/
[root@nismaster example.com]# make passwd
make: *** No rule to make target `passwd'. Stop.
Environment
- Red Hat Enterprise Linux 5,6,7,8
- NIS (ypserv)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.