Re: [NIS]: a small problem with NIS

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

 



----- Original Message ----- 
From: <akonstam@xxxxxxxxxxx>
To: "AlilouLinux" <alilou_linux@xxxxxxxx>
Sent: Monday, December 13, 2004 10:50 PM
Subject: Re: [NIS]: a small problem with NIS


> On Mon, Dec 13, 2004 at 07:47:09PM +0100, AlilouLinux wrote:
> >
> > ----- Original Message ----- 
> > From: <akonstam@xxxxxxxxxxx>
> > To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
> > Sent: Monday, December 13, 2004 4:19 PM
> > Subject: Re: [NIS]: a small problem with NIS
> >
> >
> > > On Mon, Dec 13, 2004 at 02:09:45AM +0100, AlilouLinux wrote:
> > > > 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?
> > > Is there a hosts.byname database or not. These are created by lines in
> > > the MAKEFILE in /var/yp.
> > > It is not clear that using NIS to retreive passwds, hosts , etc on
> > > your server from your server is a terrific idea. It is certainly not
> > > necessary.
> > You are speaking about the files {hosts.byaddr, hosts.byname,
groupe.byname,
> > passwd.byname ....}. Yes this database exists. I have recreated it.  IT
is
> > in "/var/yp/nis.a22.TPnis" .
> > The system give me the same answer when I do:  "ypcat group" or "ypcat
> > passwd"...
> > I think that the problem is: The system does'nt point to this database
!!!!
> >
> >
> > > >
> > > > ********************
> > > > 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
>
> The format of the yp.conf file is:
> domain NISDOMAIN server HOSTNAME
> where the HOSTNAME is in the /etc/hosts file.
> In your case it should be:
> domain nis.a22.IPnis server <HOSTNAME of 10.172.52.22>
> if 10.172.52.22 is your nis server. I don't understand why you have
> > > > 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)
> > > > **********************
> Why is station.a22 your nis server?
> Is the ip 10.172.52.2 the ip of station.a22
> Also you need to run ypbind on all nis clients even if you have the
> server as its own client.
> -- 

Because I want to do some tests in my server. And it is recommanded that a
server be at the same time a client. This is the reason what I'm runing
ypbind under the server (because, at the same time, it is a client...)

Nota ben: I have done the tests in another machine (client). the answers are
good.


>
> =======================================================================
> Ever get the feeling that the world's on tape and one of the reels is
missing?
> -- Rich Little
> -------------------------------------------
> Aaron Konstam
> Computer Science
> Trinity University
> One Trinity Place.
> San Antonio, TX 78212-7200
>
> telephone: (210)-999-7484
> email:akonstam@xxxxxxxxxxx


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

  Powered by Linux