NIS fun, specially with the networks map, in a RHEL3 box
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Networking > NIS fun, specially with the networks map, in a RHEL3 box




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    NIS fun, specially with the networks map, in a RHEL3 box  
Mauricio Tavares


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-09-05 10:52 PM

RHEL3 fun here:

1) I am trying to set the machine as NIS client.  So, I edited
/etc/yp.conf to declare the domain and server.  But, when I try to start
ypbind, it complain it cannot find the domainame:

[root@warsaw raubtest]# /sbin/ypbind
domainname not set - aborting.
[root@warsaw raubtest]# pwd

does that mean it is not reading /etc/yp.conf?  Solaris expects the
domain to be in /etc/defaultdomain.  So does Suse and debian and a few
others, which makes my life very easy. In redhat, I find conflicting
info: on one side I read (say, in the ypbind manpage and in
http://www.linux-nis.org/nis-howto/HOWTO/) that I am supposed to put
that in /etc/yp.conf so ypbind can find it.  Problem is that it doesn't.
On the other side, I google around (even
http://www.linux-nis.org/nis-howto/...oot.html#AEN568 of all
places states it) and find info on creating a NISDOMAIN=domain_name in
/etc/sysconfig/network.

2) If I force the domainname, as in,

[root@warsaw raubtest]# domainname my.domain
[root@warsaw raubtest]#

and start ypbind using the /etc/init.d/ypbind, I get it to work. Well,
almost, as it seems to have issues with the networks map:

[root@warsaw raubtest]# ypcat networks
No such map networks.byaddr. Reason: Internal NIS error
[root@warsaw raubtest]#

which makes me believe there could be something wrong in NIS in that
machine; I do know that map is exported -- I can see it in other
machines -- but it is the only one I cannot see in the redhat box. And,
I kinda need it. Suggestions?
--
Mauricio                                raub-kudria-com
(if you need to email me, use this address =)






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:07 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register