> 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

Razvan,

>From my *very* limited knowledge of NIS I don't think that the error you are
getting with ypinit is fatal, just one of the services it's making won't be
available.

I got something like that and edited out the maps from the
/var/yp/Makefile that were giving errors.
Mine now reads:

all:  passwd shadow group hosts rpc services netid protocols #netgrp mail \
        publickey #networks ethers bootparams amd.home \
        auto.master auto.home passwd.adjunct

Try "ypcat -x" to see what is available, and "ypcat passwd" to see if the NIS
server is supplying passwds.

rpcinfo -u localhost ypserv

should give something like:
program 100004 version 1 ready and waiting
program 100004 version 2 ready and waiting

Also try "nisdomainname" to set the domain name.

I've only been using NIS for about 3 days now, but read the NIS howto a
couple of times to suss it out.

One more thing - run pwupdate after adding a new user. 

Dan.
 
--
[EMAIL PROTECTED]
--


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to