[NIS]: a small problem with NIS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Good morning the groupe,
I have a small problem with NIS. In a sation (or server), when I type this
commande "ypcat hosts", I get this answer: "No such map hosts.byname.
Reason: internal error in NIS"
Did you know where is the proble?

domain name: nis.a22.TPnis
ip of the nis server :
I have created the file /var/yp/nis.a22.TPnis
I have added to /etc/yp.conf:
    nis.a22.TPnis   server
I have added to /etc/sysconfig/network:
created /etc/domainname and added it this line:
typed the following command: "domainname nis.a22.TPnis"
added the following lines to /et/ypserv.conf:
    #host    :domain    :map    :security    :passwdmangle
    10.172.52.    :*    :passwd.byname    :port    :yes
    10.172.52.    :*    :passwd.byuid    :port    :yes
I have donne
    /usr/lib/yp/ypinit -m
created the file "/var/yp/securenets" with this content
created the maps
    cd /var/yp/nis.a22.TPnis/
    make -f ../Makefile all
restart the daemons
    ypserv  restart
    yppasswdd restart
when I type "domainname" I get this answer "nis.a22.TPnis"
And when I type "ypwhch" I get "station_a22" (the name of my station which
is in the same time my nis server)

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux