LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] wierd NIS problem

[ILUG] wierd NIS problem

Philip Reynolds phil at redbrick.dcu.ie
Mon Feb 26 18:28:52 GMT 2001


John P . Looney's [john at antefacto.com] 44 lines of wisdom included:
:>[root at dogbert /root]# cat /etc/hosts
:>127.0.0.1       localhost.localdomain localhost
:>172.24.1.101    dogbert.internal.antefacto.com dogbert
:>
:>[root at dogbert /root]# rpcinfo -u dogbert ypserv
:>program 100004 version 1 ready and waiting
:>program 100004 version 2 ready and waiting
:>[root at dogbert /root]# rpcinfo -u localhost ypserv
:>rpcinfo: RPC: Timed out
:>program 100004 version 1 is not available
:>rpcinfo: RPC: Timed out
:>program 100004 version 2 is not available

Make sure the NIS domainname is in the right place...

Solaris and Debian (all the ones I've used):
/etc/defaultdomain

RedHat:
Has a var NISDOMAIN in /etc/sysconfig/network

There are some other distro specific ones, SuSE is in /etc/rc.config
afaik, I'm not sure if that's the problem, but it's worth checking
out. 

I also presume you ran
dominname nis.domain

I always use the proper domain name as opposed to localhost, the
more advanced tutorials/explanations of using rpcinfo have used the
hostnames instead of localhost and have always been perfect for me.
I can't just think of a good reason why it's not working, but it
might be a problem with rpcinfo itself or the way you have it
setup(?)
Phil.


 





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell