Operating System - HP-UX
1848217 Members
8435 Online
104022 Solutions
New Discussion

Re: Netgroup map problem in HP-UX NIS master server(11.11 )

 
Rejionline
Occasional Contributor

Netgroup map problem in HP-UX NIS master server(11.11 )

Hi All ,

What could be the reason if the netgroup maps are not getting updated or not getting reflected for all the entries in the NIS database.
7 REPLIES 7
Peter Nikitka
Honored Contributor

Re: Netgroup map problem in HP-UX NIS master server(11.11 )

Hi,

being nothing exotic, I would do a common check of the NIS configration of the site:
- gets a new version of a NIS map generated when the base file changes
- check availability of all NIS servers
- check all NIS servers, if updates get promoted
- check /etc/nsswitch.conf files
- check NIS binding

As a starting questions:
- did it ever work
- what was changed recently

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
MarkSyder
Honored Contributor

Re: Netgroup map problem in HP-UX NIS master server(11.11 )

Have you run yppush on the appropriate maps from the server?

What is the output of ypwhich on the clients?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Rejionline
Occasional Contributor

Re: Netgroup map problem in HP-UX NIS master server(11.11 )

I added a new system to the netgroup and excecuted /var/yp/./ypmake

But it is not getting reflected at the client side.

If I give ypcat netgroup , the output doesn't shows the newly updated system.

Any views or suggestions on this??????
Steven Schweda
Honored Contributor

Re: Netgroup map problem in HP-UX NIS master server(11.11 )

> I added a new system to the netgroup [...]

How? Where? Whom does "ypwhich -m" say is
the master for that map?

> If I give ypcat netgroup , [...]

Where? On a client, on another NIS (slave)
server, on the master server?

> Have you run yppush [...]?

Good question.

It's often helpful to say exactly what you
did (and what happened when you did it),
instead of giving only vague descriptions.
MarkSyder
Honored Contributor

Re: Netgroup map problem in HP-UX NIS master server(11.11 )

If it's a new group, ftp it to the slave server(s). Once it's in place, it will be done automatically in future.

Mark
The triumph of evil requires only that good men do nothing
Rejionline
Occasional Contributor

Re: Netgroup map problem in HP-UX NIS master server(11.11 )

Hi Steven,

I had added the new workstation name to an existing group of the netgroup file of NIS configuration(/usr/nis/netgroup) in the foolowing format " (hostname,, )".
and updated the nis configuration by excecuting xxx@var/yp# ./ypmake

I don,t have any NIS slave servers also.

If I excecute ypcat netgroup in any of the clients, it doesn't shows any of the newly added clients

do have any suggestions??????
Steven Schweda
Honored Contributor

Re: Netgroup map problem in HP-UX NIS master server(11.11 )

> I don,t have any NIS slave servers also.

That's not very good NIS management, is it?
What happens when the master goes down?

> [...] the netgroup file of NIS
> configuration(/usr/nis/netgroup) [...]

I don't actually use NIS on my HP-UX system,
but what's in "/usr/nis", and who cares? On
my system:

dy # uname -a
HP-UX dy B.11.11 U 9000/785 2012616114 unlimited-user license

dy # ls -l /usr/nis
/usr/nis not found

and all the NIS stuff is in /var/yp,
including the Makefile which says that it's
looking for /etc/netgroup, not for
/usr/nis/netgroup, and the ypmake script
(Ooh, that's weird -- you don't just say
"make" in /var/yp?) says that it's looking
for /var/yp/`domainname`/netgroup. (Or am I
missing something obvious?)

> [...] and updated the nis configuration by
> excecuting xxx@var/yp# ./ypmake

So, when you run ypmake, does it do anything?
If you "touch" your netgroup file, and then
re-run ypmake, does it do anything
more/different? (That is, is anyone looking
at the netgroup file where you're making your
changes?)