Re: [CentOS] NIS problems

2007-10-18 Thread James Pearson
On 18/10/2007, Scott Ehrlich <[EMAIL PROTECTED]> wrote:
> On Thu, 18 Oct 2007, John Allen wrote:
>
> > When you do the ypinit -s, what name do you provide for the server?
> >
> > It must match the name the server expects, so if the server host name is 
> > nis,
> > then you
> > do
> >
> > ypinit -s nis.domainname
>
> I have successfully done ypinit -s ip_address or hostname on several
> 32-bit clients and they've all been successful.

Why are you running ypinit -s on clients?

You only need to do this if you want to set up slave servers.

NIS clients shouldn't need to do anything special on clients to bind
to a server, all that needs to be done is to set up /etc/yp.conf

James Pearson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems

2007-10-18 Thread Scott Ehrlich
I'm at a complete loss as to what is going on.   I changed kernels and 
disabled the video driver, removed the firewire card.   NIS refuses to 
work on this workstation.


Unless this gets figured out, I'm going to simply have to create local 
user accounts, then let NFS take over.


It would be really nice to figure it out one of these days, as if I can 
learn the culprit, I'll be better educated the next time I face something 
like this.  I did try tcpdump, but no obvious things popped up.


Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems

2007-10-18 Thread Scott Ehrlich

An interesting sidenote -

Things do work fine on another test setup consisting of C5 64-bit and an 
Intel NIC.   The problem C5 64-bit system has a Broadcom 57xx NIC.


I may opt to change NICs and see if that makes any difference...

Scott

On Thu, 18 Oct 2007, John Allen wrote:


When you do the ypinit -s, what name do you provide for the server?

It must match the name the server expects, so if the server host name is nis, 
then you

do

ypinit -s nis.domainname

Scott Ehrlich wrote:

On Wed, 17 Oct 2007, sam wrote:


so...

if i'm understanding:

-you have a 32bit NIS server that you've


Correction here - server is 64-bit RHEL 5 Server.   All machines are full, 
out-of-box, unpatched systems, with no Internet connection.


Working clients are 32-bit.   Problem machine is 64-bit CentOS 5 client.


 configured for your network.
-you are not running dns, but are instead using /etc/hosts,
 and /etc/resolv.conf on your boxes
-you have a couple of 32bit clients that can attach to the
 NIS server, and that you can log against. you can run
 'ypcat passwd' on these machines with no issues..

-attaching a 64bit machine as a NIS Client which you've
 configured as best you can, is giving you errors...

I just had a conversation with a Sr. Redhat Tech support eng, where he was
telling me that there might be an issue with my situation that might be
related to the fact that the server is 64 bit, and the slave is 32bit...

might not be related but hmm...

can you post your ypserv.conf, as well as your yp.conf files




I'll have to check on my ypserv.comf file - I don't recall having edited 
that.


yp.conf on the server is:
ypserver 127.0.0.1

yp.conf on the client is:
domain my-nis-domain server ip-of-server

Scott





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Scott Ehrlich
Sent: Wednesday, October 17, 2007 3:58 PM
To: CentOS mailing list
Subject: Re: [CentOS] NIS problems


On Thu, 18 Oct 2007, Clint Dilks wrote:



Scott Ehrlich wrote:

I've got a RHEL5 server acting as a NIS/NFS server, and connected one C5
machine just fine.

I'm trying to connect another, and for the life of me, cannot figure out
why NIS won't bind.  NFS works fine.  ypbind just hangs.  I disabled
SELinux and the firewall.   I just cannot get it to bind.

Ideas?



Hi do you have the appropriate entry in /etc/hosts for ypserv on NIS

Server ?

Yep.  This is on a small lan - /etc/hosts acts as local dns.

The error is the one when ypinit -s server hasn't been run.   I've had two
successful runs on 32-bit C5 adding said 32-bit hosts to the network, but
this one 64-bit C5 system is giving me the NIS problems.  I can ssh, ping,
and doing anything else I want.  Again, the 32-bit hosts work fine against
the server.   This one 64-bit machine is simply giving me the NIS
headaches.

Thanks for any/all ideas.

Scott




Thanks.

Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos





--
John Allen  mailto:[EMAIL PROTECTED]
CodeMountainhttp://www.codemountain.net

Ubuntu 7.04, kernel 2.6.20-16-generic
up 6 days, 23:51, 16 users,  load average: 0.98, 0.88, 0.95

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems

2007-10-18 Thread Scott Ehrlich

On Thu, 18 Oct 2007, John Allen wrote:


When you do the ypinit -s, what name do you provide for the server?

It must match the name the server expects, so if the server host name is nis, 
then you

do

ypinit -s nis.domainname


I have successfully done ypinit -s ip_address or hostname on several 
32-bit clients and they've all been successful.


I did learn that if I at least have a local account created on the client 
for the same account on the NIS server, then, with NFS also working, I am 
able to have pesudo-NIS running.


I tried to disable checksum offloading, rebooted, but it didn't make any 
difference.   I also tried changing the MTU to something like 1470, but 
that didn't matter, either.


Not sure where to go next...

Can't enumerate maps from  or , depending on what I set as the 
server.  Please check that it is running... will continue to exist until 
an answer is found...


Scott



Scott Ehrlich wrote:

On Wed, 17 Oct 2007, sam wrote:


so...

if i'm understanding:

-you have a 32bit NIS server that you've


Correction here - server is 64-bit RHEL 5 Server.   All machines are full, 
out-of-box, unpatched systems, with no Internet connection.


Working clients are 32-bit.   Problem machine is 64-bit CentOS 5 client.


 configured for your network.
-you are not running dns, but are instead using /etc/hosts,
 and /etc/resolv.conf on your boxes
-you have a couple of 32bit clients that can attach to the
 NIS server, and that you can log against. you can run
 'ypcat passwd' on these machines with no issues..

-attaching a 64bit machine as a NIS Client which you've
 configured as best you can, is giving you errors...

I just had a conversation with a Sr. Redhat Tech support eng, where he was
telling me that there might be an issue with my situation that might be
related to the fact that the server is 64 bit, and the slave is 32bit...

might not be related but hmm...

can you post your ypserv.conf, as well as your yp.conf files




I'll have to check on my ypserv.comf file - I don't recall having edited 
that.


yp.conf on the server is:
ypserver 127.0.0.1

yp.conf on the client is:
domain my-nis-domain server ip-of-server

Scott





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Scott Ehrlich
Sent: Wednesday, October 17, 2007 3:58 PM
To: CentOS mailing list
Subject: Re: [CentOS] NIS problems


On Thu, 18 Oct 2007, Clint Dilks wrote:



Scott Ehrlich wrote:

I've got a RHEL5 server acting as a NIS/NFS server, and connected one C5
machine just fine.

I'm trying to connect another, and for the life of me, cannot figure out
why NIS won't bind.  NFS works fine.  ypbind just hangs.  I disabled
SELinux and the firewall.   I just cannot get it to bind.

Ideas?



Hi do you have the appropriate entry in /etc/hosts for ypserv on NIS

Server ?

Yep.  This is on a small lan - /etc/hosts acts as local dns.

The error is the one when ypinit -s server hasn't been run.   I've had two
successful runs on 32-bit C5 adding said 32-bit hosts to the network, but
this one 64-bit C5 system is giving me the NIS problems.  I can ssh, ping,
and doing anything else I want.  Again, the 32-bit hosts work fine against
the server.   This one 64-bit machine is simply giving me the NIS
headaches.

Thanks for any/all ideas.

Scott




Thanks.

Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos





--
John Allen  mailto:[EMAIL PROTECTED]
CodeMountainhttp://www.codemountain.net

Ubuntu 7.04, kernel 2.6.20-16-generic
up 6 days, 23:51, 16 users,  load average: 0.98, 0.88, 0.95

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems

2007-10-18 Thread John Allen

When you do the ypinit -s, what name do you provide for the server?

It must match the name the server expects, so if the server host name is 
nis, then you

do

ypinit -s nis.domainname

Scott Ehrlich wrote:

On Wed, 17 Oct 2007, sam wrote:


so...

if i'm understanding:

-you have a 32bit NIS server that you've


Correction here - server is 64-bit RHEL 5 Server.   All machines are 
full, out-of-box, unpatched systems, with no Internet connection.


Working clients are 32-bit.   Problem machine is 64-bit CentOS 5 client.


 configured for your network.
-you are not running dns, but are instead using /etc/hosts,
 and /etc/resolv.conf on your boxes
-you have a couple of 32bit clients that can attach to the
 NIS server, and that you can log against. you can run
 'ypcat passwd' on these machines with no issues..

-attaching a 64bit machine as a NIS Client which you've
 configured as best you can, is giving you errors...

I just had a conversation with a Sr. Redhat Tech support eng, where 
he was

telling me that there might be an issue with my situation that might be
related to the fact that the server is 64 bit, and the slave is 32bit...

might not be related but hmm...

can you post your ypserv.conf, as well as your yp.conf files




I'll have to check on my ypserv.comf file - I don't recall having 
edited that.


yp.conf on the server is:
ypserver 127.0.0.1

yp.conf on the client is:
domain my-nis-domain server ip-of-server

Scott





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Scott Ehrlich
Sent: Wednesday, October 17, 2007 3:58 PM
To: CentOS mailing list
Subject: Re: [CentOS] NIS problems


On Thu, 18 Oct 2007, Clint Dilks wrote:



Scott Ehrlich wrote:
I've got a RHEL5 server acting as a NIS/NFS server, and connected 
one C5

machine just fine.

I'm trying to connect another, and for the life of me, cannot 
figure out

why NIS won't bind.  NFS works fine.  ypbind just hangs.  I disabled
SELinux and the firewall.   I just cannot get it to bind.

Ideas?



Hi do you have the appropriate entry in /etc/hosts for ypserv on NIS

Server ?

Yep.  This is on a small lan - /etc/hosts acts as local dns.

The error is the one when ypinit -s server hasn't been run.   I've 
had two
successful runs on 32-bit C5 adding said 32-bit hosts to the network, 
but
this one 64-bit C5 system is giving me the NIS problems.  I can ssh, 
ping,
and doing anything else I want.  Again, the 32-bit hosts work fine 
against

the server.   This one 64-bit machine is simply giving me the NIS
headaches.

Thanks for any/all ideas.

Scott




Thanks.

Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos





--
John Allen  mailto:[EMAIL PROTECTED]
CodeMountainhttp://www.codemountain.net

Ubuntu 7.04, kernel 2.6.20-16-generic
up 6 days, 23:51, 16 users,  load average: 0.98, 0.88, 0.95

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] NIS problems

2007-10-17 Thread Scott Ehrlich

On Wed, 17 Oct 2007, sam wrote:


so...

if i'm understanding:

-you have a 32bit NIS server that you've


Correction here - server is 64-bit RHEL 5 Server.   All machines are full, 
out-of-box, unpatched systems, with no Internet connection.


Working clients are 32-bit.   Problem machine is 64-bit CentOS 5 client.


 configured for your network.
-you are not running dns, but are instead using /etc/hosts,
 and /etc/resolv.conf on your boxes
-you have a couple of 32bit clients that can attach to the
 NIS server, and that you can log against. you can run
 'ypcat passwd' on these machines with no issues..

-attaching a 64bit machine as a NIS Client which you've
 configured as best you can, is giving you errors...

I just had a conversation with a Sr. Redhat Tech support eng, where he was
telling me that there might be an issue with my situation that might be
related to the fact that the server is 64 bit, and the slave is 32bit...

might not be related but hmm...

can you post your ypserv.conf, as well as your yp.conf files




I'll have to check on my ypserv.comf file - I don't recall having edited 
that.


yp.conf on the server is:
ypserver 127.0.0.1

yp.conf on the client is:
domain my-nis-domain server ip-of-server

Scott





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Scott Ehrlich
Sent: Wednesday, October 17, 2007 3:58 PM
To: CentOS mailing list
Subject: Re: [CentOS] NIS problems


On Thu, 18 Oct 2007, Clint Dilks wrote:



Scott Ehrlich wrote:

I've got a RHEL5 server acting as a NIS/NFS server, and connected one C5
machine just fine.

I'm trying to connect another, and for the life of me, cannot figure out
why NIS won't bind.  NFS works fine.  ypbind just hangs.  I disabled
SELinux and the firewall.   I just cannot get it to bind.

Ideas?



Hi do you have the appropriate entry in /etc/hosts for ypserv on NIS

Server ?

Yep.  This is on a small lan - /etc/hosts acts as local dns.

The error is the one when ypinit -s server hasn't been run.   I've had two
successful runs on 32-bit C5 adding said 32-bit hosts to the network, but
this one 64-bit C5 system is giving me the NIS problems.  I can ssh, ping,
and doing anything else I want.  Again, the 32-bit hosts work fine against
the server.   This one 64-bit machine is simply giving me the NIS
headaches.

Thanks for any/all ideas.

Scott




Thanks.

Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] NIS problems

2007-10-17 Thread sam
so...

if i'm understanding:

 -you have a 32bit NIS server that you've
  configured for your network.
 -you are not running dns, but are instead using /etc/hosts,
  and /etc/resolv.conf on your boxes
 -you have a couple of 32bit clients that can attach to the
  NIS server, and that you can log against. you can run
  'ypcat passwd' on these machines with no issues..

 -attaching a 64bit machine as a NIS Client which you've
  configured as best you can, is giving you errors...

I just had a conversation with a Sr. Redhat Tech support eng, where he was
telling me that there might be an issue with my situation that might be
related to the fact that the server is 64 bit, and the slave is 32bit...

might not be related but hmm...

can you post your ypserv.conf, as well as your yp.conf files




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Scott Ehrlich
Sent: Wednesday, October 17, 2007 3:58 PM
To: CentOS mailing list
Subject: Re: [CentOS] NIS problems


On Thu, 18 Oct 2007, Clint Dilks wrote:

>
> Scott Ehrlich wrote:
>> I've got a RHEL5 server acting as a NIS/NFS server, and connected one C5
>> machine just fine.
>>
>> I'm trying to connect another, and for the life of me, cannot figure out
>> why NIS won't bind.  NFS works fine.  ypbind just hangs.  I disabled
>> SELinux and the firewall.   I just cannot get it to bind.
>>
>> Ideas?
>>
>
> Hi do you have the appropriate entry in /etc/hosts for ypserv on NIS
Server ?

Yep.  This is on a small lan - /etc/hosts acts as local dns.

The error is the one when ypinit -s server hasn't been run.   I've had two
successful runs on 32-bit C5 adding said 32-bit hosts to the network, but
this one 64-bit C5 system is giving me the NIS problems.  I can ssh, ping,
and doing anything else I want.  Again, the 32-bit hosts work fine against
the server.   This one 64-bit machine is simply giving me the NIS
headaches.

Thanks for any/all ideas.

Scott

>
>> Thanks.
>>
>> Scott
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems

2007-10-17 Thread Steve Thompson

On Wed, 17 Oct 2007, Scott Ehrlich wrote:


Thanks for any/all ideas.


Are you running nscd? If yes, try turning it off.

Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems

2007-10-17 Thread Scott Ehrlich

On Thu, 18 Oct 2007, Clint Dilks wrote:



Scott Ehrlich wrote:
I've got a RHEL5 server acting as a NIS/NFS server, and connected one C5 
machine just fine.


I'm trying to connect another, and for the life of me, cannot figure out 
why NIS won't bind.  NFS works fine.  ypbind just hangs.  I disabled 
SELinux and the firewall.   I just cannot get it to bind.


Ideas?



Hi do you have the appropriate entry in /etc/hosts for ypserv on NIS Server ?


Yep.  This is on a small lan - /etc/hosts acts as local dns.

The error is the one when ypinit -s server hasn't been run.   I've had two 
successful runs on 32-bit C5 adding said 32-bit hosts to the network, but 
this one 64-bit C5 system is giving me the NIS problems.  I can ssh, ping, 
and doing anything else I want.  Again, the 32-bit hosts work fine against 
the server.   This one 64-bit machine is simply giving me the NIS 
headaches.


Thanks for any/all ideas.

Scott




Thanks.

Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems

2007-10-17 Thread Clint Dilks


Scott Ehrlich wrote:
I've got a RHEL5 server acting as a NIS/NFS server, and connected one 
C5 machine just fine.


I'm trying to connect another, and for the life of me, cannot figure 
out why NIS won't bind.  NFS works fine.  ypbind just hangs.  I 
disabled SELinux and the firewall.   I just cannot get it to bind.


Ideas?



Hi do you have the appropriate entry in /etc/hosts for ypserv on NIS 
Server ?



Thanks.

Scott
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] NIS problems

2007-10-17 Thread Ross S. W. Walker
Scott Ehrlich wrote:
> 
> I've got a RHEL5 server acting as a NIS/NFS server, and 
> connected one C5 
> machine just fine.
> 
> I'm trying to connect another, and for the life of me, cannot 
> figure out 
> why NIS won't bind.  NFS works fine.  ypbind just hangs.  I disabled 
> SELinux and the firewall.   I just cannot get it to bind.
> 
> Ideas?

Check your DNS setup and make sure it is sane.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems after installation

2007-07-17 Thread Steve Strong

Paul Heinlein wrote:

On Mon, 16 Jul 2007, Steve Strong wrote:

so, i just installed CentOS on our server and set up NIS using the 
same configuration as on our other server, but the clients' ypbind 
services complain that although they can find the correct server, the 
server does not respond to requests.


to debug this, i've:

   *pinged the server using its ip and it's name
   *ssh'ed to the server using it's ip and name
   *ftp'd to the server using its ip and name
   *used dig to get the server's address from itself (dig @stretch
 stretch.washcslab.org
   *checked to see that nfs and ypserv are running
   *checked to see if stretch could bind to it's own nis server


and all of these were successful.  so, I also:

   * run ypserv (on the server) and ypbind (on the server) both in
 debug mode and gotten no errors
   * run ypserv (on the server) and ypbind (on the CLIENT) both in
 debug mode and gotten no errors

any help with this really gnarly bug would be greatly appreciated!
steve


Is ypserv compiled against libwrap? Does there need to be a 
hosts.allow entry?


Is SELinux enabled? Does /var/log/audit/audit.log show anything?

Is iptables in use? Does an exception need to be made?

Can you attach strace to ypserv and see anything of significance?



ypserv:
i didn't compile it, i used the rpm that is standard with an 
installation ---


selinux:
disabled (which i hate)

iptables:
how do i go about making an exception -- this seems like the problem, 
since there is no report of an attempt to connect to ypserv by a client 
in the debug output of a call to start ypserv


--
Steve Strong
Math and Computer Science
Washington High School
2205 Forest Dr. SE
Cedar Rapids, IA   52403
http://crwash.org
mailto:[EMAIL PROTECTED]

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems after installation

2007-07-17 Thread Steve Strong

Clint Dilks wrote:

Steve Strong wrote:
so, i just installed CentOS on our server and set up NIS using the 
same configuration as on our other server, but the clients' ypbind 
services complain that although they can find the correct server, the 
server does not respond to requests.


to debug this, i've:

   *pinged the server using its ip and it's name
   *ssh'ed to the server using it's ip and name
   *ftp'd to the server using its ip and name
   *used dig to get the server's address from itself (dig @stretch
 stretch.washcslab.org
   *checked to see that nfs and ypserv are running
   *checked to see if stretch could bind to it's own nis server


and all of these were successful.  so, I also:

   * run ypserv (on the server) and ypbind (on the server) both in
 debug mode and gotten no errors
   * run ypserv (on the server) and ypbind (on the CLIENT) both in
 debug mode and gotten no errors

any help with this really gnarly bug would be greatly appreciated!
steve



Hi,

Are you running with Security Enhanced Linux Enabled or Disabled ?   
If so try disabling it at least temporarily.  Some people will say set 
to permissive mode rather than disable, but specifically for NIS I 
have seen different behaviour between permissive and disabled.  If 
this works others may be able to assist you with getting SE Linux 
worknig with NIS.


Are you running a Firewall ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
i'm running a firewall, but selinux is disabled.  what should i look for 
in the firewall?

steve

--
Steve Strong
Math and Computer Science
Washington High School
2205 Forest Dr. SE
Cedar Rapids, IA   52403
http://crwash.org
mailto:[EMAIL PROTECTED]

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems after installation

2007-07-16 Thread Clint Dilks

Steve Strong wrote:
so, i just installed CentOS on our server and set up NIS using the 
same configuration as on our other server, but the clients' ypbind 
services complain that although they can find the correct server, the 
server does not respond to requests.


to debug this, i've:

   *pinged the server using its ip and it's name
   *ssh'ed to the server using it's ip and name
   *ftp'd to the server using its ip and name
   *used dig to get the server's address from itself (dig @stretch
 stretch.washcslab.org
   *checked to see that nfs and ypserv are running
   *checked to see if stretch could bind to it's own nis server


and all of these were successful.  so, I also:

   * run ypserv (on the server) and ypbind (on the server) both in
 debug mode and gotten no errors
   * run ypserv (on the server) and ypbind (on the CLIENT) both in
 debug mode and gotten no errors

any help with this really gnarly bug would be greatly appreciated!
steve



Hi,

Are you running with Security Enhanced Linux Enabled or Disabled ?   If 
so try disabling it at least temporarily.  Some people will say set to 
permissive mode rather than disable, but specifically for NIS I have 
seen different behaviour between permissive and disabled.  If this works 
others may be able to assist you with getting SE Linux worknig with NIS.


Are you running a Firewall ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems after installation

2007-07-16 Thread Paul Heinlein

On Mon, 16 Jul 2007, Steve Strong wrote:

so, i just installed CentOS on our server and set up NIS using the 
same configuration as on our other server, but the clients' ypbind 
services complain that although they can find the correct server, 
the server does not respond to requests.


to debug this, i've:

   *pinged the server using its ip and it's name
   *ssh'ed to the server using it's ip and name
   *ftp'd to the server using its ip and name
   *used dig to get the server's address from itself (dig @stretch
 stretch.washcslab.org
   *checked to see that nfs and ypserv are running
   *checked to see if stretch could bind to it's own nis server


and all of these were successful.  so, I also:

   * run ypserv (on the server) and ypbind (on the server) both in
 debug mode and gotten no errors
   * run ypserv (on the server) and ypbind (on the CLIENT) both in
 debug mode and gotten no errors

any help with this really gnarly bug would be greatly appreciated!
steve


Is ypserv compiled against libwrap? Does there need to be a 
hosts.allow entry?


Is SELinux enabled? Does /var/log/audit/audit.log show anything?

Is iptables in use? Does an exception need to be made?

Can you attach strace to ypserv and see anything of significance?

--
Paul Heinlein <> [EMAIL PROTECTED] <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS problems after installation

2007-07-16 Thread Steve Searle
Around 12:08am on Tuesday, July 17, 2007 (UK time), Steve Strong scrawled:

> any help with this really gnarly bug would be greatly appreciated!

You're not blocked by iptables, are you?

Steve

-- 
 
 Play Champions - my free football predictions game at:
http://www.stevesearle.com/champs/about.html

 00:13:11 up 3 days, 1 min,  1 user,  load average: 0.03, 0.04, 0.00


pgpD4lTbAZeq5.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos