Would you please help me solving the problem I have with the NIS server
installation?
I am using RedHat 6.2 and the NIS RPMs provided in distro (ypserv-1.3.9-3,
ypbind-3.3-28 and yp-tools-2.4-1). glibc is glibc-2.1.3-15. The
/etc/nsswitch.conf is included.
When executing
/usr/lib/yp/ypinit -m
to install the master NIS server, it asks about the hosts and begin
updating the maps. However, when it comes to newsgroups, it says:
gmake[1]: *** No rule to make target `/etc/netgroup', needed by
`netgroup'. Stop.
gmake[1]: Leaving directory `/var/yp/NISircolours'
make: *** [target] Error 2
Error running Makefile.
Please try it by hand.
Then it confirms the host was set up as a master server (?!).
Connecting to the server fails with an error message about "domain not
bound". Does it means the makefile is corrupt?
Any ideea will be highly appreciated.
Thanks a lot,
Razvan
--
Dipl. Eng. Razvan SANDU <[EMAIL PROTECTED]>
Network Administrator at I.R. COLOURS PROD S.R.L. - Bucharest, Romania
Tel. +40 (94) 629867 ICQ# 46380005 WWW: http://www.rsandu.go.ro
Powered by RedHat Linux release 6.2 (Zoot)
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db) files
# compat Use NIS on compat mode
# hesiod Use Hesiod for user lookups
# [NOTFOUND=return] Stop searching if not found so far
#
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis
passwd: files nisplus nis
shadow: files nisplus nis
group: files nisplus nis
#hosts: db files nisplus nis dns
hosts: files nisplus nis dns
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus