View Full Version : problem in NIS


a_elhoseeny
asslam alycom

i'm trying to configure NIS server

#domainname accounting
#service ypserv start
.......OK
#/usr/lib/yp/ypinit -m
and answering all the questions
and notify me that now i have master NIS server on that machine

the problem is in ypbind
#service ypbind start
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.................... [FAILED]

so as a client it cant find the NIS server

the DNS server is OK and i'm not useing /etc/hosts
i'm useing NIS not NIS plus
and redhat 9.0

so i think i miss something
if so, please tell me

regards
ahmed elhoseeny

uniball
Grr, I hate NIS.
I've spent 3 days trying to set it up till I did it. Is the portmapper running ?

a_elhoseeny
>Is the portmapper running ?

yes

habdin
Salamo 3alaikom,

Add the proper IP of accounting domain name to /etc/hosts and try again. Who knows? It might work (just making a guess).

Salam.

a_elhoseeny
Originally posted by habdin
Salamo 3alaikom,

Add the proper IP of accounting domain name to /etc/hosts and try again. Who knows? It might work (just making a guess).

Salam.

it is not working:(

ok can any one please post it step by step
including the name resolution methodology

regards
ahmed elhoseeny

uniball
Dear ahmed,
Just give me a few hours, I'll be behind my workstation at our office, And I'll try and tell you the steps I did.

a_elhoseeny
Originally posted by uniball
Dear ahmed,
Just give me a few hours, I'll be behind my workstation at our office, And I'll try and tell you the steps I did.

thank you uniball and take your time

regards
ahmed elhoseeny

abdool
Please uniball, provide us with the steps, it took 3 days from you but worked, and it should work with others.

http://www.linux-egypt.org/showthread.php?s=&threadid=1277

uniball
OOps, I reinstalled my workstation, Can't reproduce the steps :(
I remember I followed this HOWTO, It worken on mdk and redhat 9.0
http://www.mandrakeuser.org/docs/connect/cnis.html

Just follow the steps, and if you fail, I'll try to set it up again and see.

a_elhoseeny
asslam alycom

>Just follow the steps

thanks uniball and every one but failed too
any way i think i must leave it and try LDAP
but i need any article about it not a book from openldap i have no time
just i need an article or steps

regards
ahmed elhoseeny

sattia
If ur a DIY guy then here u r a tutorial for OpenLDAP

It is a 4-part tutorial about setting up an LDAP server.
Part 1: http://networking.earthweb.com/netsysm/article.php/3088441
Part 2: http://networking.earthweb.com/netsysm/article.php/10954_3095841_1
Part 3: http://networking.earthweb.com/netsysm/article.php/3107321
Part 4: http://networking.earthweb.com/netsysm/article.php/3287491

Notice that it is not an in-depth tutorial; it just skims the topics but it is good for just setting up the directory.

Do not forget to always visit http://www.openldap.org for more information

Also do not hesitate to ask any question u may face about LDAP during ur setup or operation.

Also take care when ur designing ur directory structure cuz u may affect ur system scalability; so think deeply about the design and probable changes in the future and take ur time.

a_elhoseeny
thank you sattia and every one

but can any one tell me what is DIY stand for

regards
ahmed elhoseeny

sattia
DIY = Do It Yourself