Networking Forums

Networking Forums > Computer Networking > Linux Networking > Netgroups don't seem to work.

Reply
Thread Tools Display Modes

Netgroups don't seem to work.

 
 
Akop Pogosian
Guest
Posts: n/a

 
      09-06-2003, 03:27 AM
For some reason, on one RedHat Linux cluster that I manage, the
netgroups don't seem to work. I can "ypcat netgroup" but I can't match
any entries in the netgroup map with ypmatch. For example:

# ypcat -k netgroup| grep pandaboxes
pandaboxes (panda,,) (panda1,,) (panda2,,) (panda3,,) (panda4,,)
(panda5,,) (panda6,,) (panda7,,) (panda8,,) (panda9,,) (panda11,,)
(panda12,,) (panda13,,) (panda14,,) (panda15,,) (panda16,,)
(panda17,,) (panda18,,)
# ypmatch pandaboxes netgroup
Can't match key pandaboxes in map netgroup. Reason: No such key in map

I am not observing this problem with any other YP maps. All machines
are running RedHat Linux 7.3


-akop
 
Reply With Quote
 
 
 
 
jbuchana@buchanan1.net
Guest
Posts: n/a

 
      09-06-2003, 04:18 AM
In comp.os.linux.setup Akop Pogosian <akopps+(E-Mail Removed)> wrote:
> For some reason, on one RedHat Linux cluster that I manage, the
> netgroups don't seem to work. I can "ypcat netgroup" but I can't match
> any entries in the netgroup map with ypmatch. For example:


> # ypcat -k netgroup| grep pandaboxes
> pandaboxes (panda,,) (panda1,,) (panda2,,) (panda3,,) (panda4,,)
> (panda5,,) (panda6,,) (panda7,,) (panda8,,) (panda9,,) (panda11,,)
> (panda12,,) (panda13,,) (panda14,,) (panda15,,) (panda16,,)
> (panda17,,) (panda18,,)
> # ypmatch pandaboxes netgroup
> Can't match key pandaboxes in map netgroup. Reason: No such key in map


> I am not observing this problem with any other YP maps. All machines
> are running RedHat Linux 7.3


No real answer, just a data point...

jbuchana@nemo$ ypcat -k netgroup
all_hosts (zaphod,,) (flenser,,) (cerberus,,) (hobbes,,) (nessus,,) (zaphod.buchanan1.net,,) (flenser.buchanan1.net,,) (cerberus.buchanan1.net,,) (hobbes.buchanan1.net,,) (nessus.buchanan1.net,,) (nemo,,) (nemo.buchanan1.net,,)
jbuchana@nemo$ ypmatch all_hosts netgroup
(zaphod,,) (flenser,,) (cerberus,,) (hobbes,,) (nessus,,) (zaphod.buchanan1.net,,) (flenser.buchanan1.net,,) (cerberus.buchanan1.net,,) (hobbes.buchanan1.net,,) (nessus.buchanan1.net,,) (nemo,,) (nemo.buchanan1.net,,)
jbuchana@nemo$

These are a mix of Redhat 9 and Mandrake 7.2 and 8.21 machines. I did
the ypmatch on a RH 9 machine, and the ypserver is a RH9 machine.

At work I have 11 (supposed to be 12, one is still lost in shipping)
RH 7.3 machines that that work fine with far more complex netgroup
maps. They are served by HPUX 11.x NIS slaves.

I must say that sometimes when I use the @all_hosts in /etc/exports
here at home, it doesn't always work at boot time, and I have to
manually re-export. That never seems to happen at work.

--
Jim Buchanan (E-Mail Removed) (E-Mail Removed)
=================== http://www.buchanan1.net/ ==========================
"Remember that if computers are networked, they can talk to each other.
That is useful when you make an example of one." -ASR faq
================= Visit: http://www.thehungersite.com ==================
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
my router power light wont work! after firmware upgrade! restore dont work! Chriz Mac Broadband Hardware 1 01-23-2005 02:42 AM
Help Please I cant work this out?!? Matt Windows Networking 2 01-06-2004 09:18 PM
can't get NFS to work ;-( Petto Andersson Linux Networking 6 11-11-2003 08:04 PM
Getting WEP to work David Wireless Internet 1 10-08-2003 12:17 AM
ICS - why can't I get it to work? selective override Home Networking 2 07-05-2003 10:38 PM



1 2 3 4 5 6 7 8 9 10 11