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 problem?
******************** NB: -domain name: nis.a22.TPnis -ip of the nis server : 10.172.52.22 -I have created the file /var/yp/nis.a22.TPnis -I have added to /etc/yp.conf: nis.a22.TPnis server 10.172.52.39 ypserver 10.172.52.39 -I have added to /etc/sysconfig/network: NISDOMAIN="nis.a22.TPnis" -created /etc/domainname and added it this line: nis.a22.TPnis -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 255.0.0.0 127.0.0.0 255.0.0.0 10.172.52.0 -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) **********************
----- Original Message ----- From: "AlilouLinux" alilou_linux@yahoo.fr To: "fedora-list" fedora-list@redhat.com Sent: Monday, December 13, 2004 2:49 AM Subject: [NIS] problem with construction of maps
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 problem?
NB: -domain name: nis.a22.TPnis -ip of the nis server : 10.172.52.22 -I have created the file /var/yp/nis.a22.TPnis -I have added to /etc/yp.conf: nis.a22.TPnis server 10.172.52.39 ypserver 10.172.52.39 -I have added to /etc/sysconfig/network: NISDOMAIN="nis.a22.TPnis" -created /etc/domainname and added it this line: nis.a22.TPnis -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 255.0.0.0 127.0.0.0 255.0.0.0 10.172.52.0 -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)
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
When I do this: "ypserv restart" , the system answer me with 2 [OK], but in the log file I found this ypserv:stopping succeeded ypserv: starting succeeded ypserv [29792]: refused connect from 10.172.52.39:32773 to procedure ypproc_domain_nonack (nis.a22.TPnis,;0)
----- Original Message ----- From: "AlilouLinux" alilou_linux@yahoo.fr To: "For users of Fedora Core releases" fedora-list@redhat.com Sent: Monday, December 13, 2004 3:19 AM Subject: Re: [NIS] problem with construction of maps
----- Original Message ----- From: "AlilouLinux" alilou_linux@yahoo.fr To: "fedora-list" fedora-list@redhat.com Sent: Monday, December 13, 2004 2:49 AM Subject: [NIS] problem with construction of maps
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 problem?
NB: -domain name: nis.a22.TPnis -ip of the nis server : 10.172.52.22 -I have created the file /var/yp/nis.a22.TPnis -I have added to /etc/yp.conf: nis.a22.TPnis server 10.172.52.39 ypserver 10.172.52.39 -I have added to /etc/sysconfig/network: NISDOMAIN="nis.a22.TPnis" -created /etc/domainname and added it this line: nis.a22.TPnis -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 255.0.0.0 127.0.0.0 255.0.0.0 10.172.52.0 -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)
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
When I do this: "ypserv restart" , the system answer me with 2 [OK], but
in
the log file I found this ypserv:stopping succeeded ypserv: starting succeeded ypserv [29792]: refused connect from 10.172.52.39:32773 to procedure ypproc_domain_nonack (nis.a22.TPnis,;0)
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
On Mon, 2004-12-13 at 03:19 +0100, AlilouLinux wrote:
----- Original Message ----- From: "AlilouLinux" alilou_linux@yahoo.fr To: "fedora-list" fedora-list@redhat.com Sent: Monday, December 13, 2004 2:49 AM Subject: [NIS] problem with construction of maps
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 problem?
NB: -domain name: nis.a22.TPnis -ip of the nis server : 10.172.52.22
^^^^^^^^ should this be the same as the server defined in /etc/yp.conf? You stated that the client and server are same machine.
-I have created the file /var/yp/nis.a22.TPnis -I have added to /etc/yp.conf: nis.a22.TPnis server 10.172.52.39 ypserver 10.172.52.39 -I have added to /etc/sysconfig/network: NISDOMAIN="nis.a22.TPnis" -created /etc/domainname and added it this line: nis.a22.TPnis -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 255.0.0.0 127.0.0.0 255.0.0.0 10.172.52.0 -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)
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
When I do this: "ypserv restart" , the system answer me with 2 [OK], but in the log file I found this ypserv:stopping succeeded ypserv: starting succeeded ypserv [29792]: refused connect from 10.172.52.39:32773 to procedure ypproc_domain_nonack (nis.a22.TPnis,;0)