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?
Thanks.
Scott
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.
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
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
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: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On 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
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: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On 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
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: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On 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
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 <ip> or <host>, 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: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On 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:john.allen@codemountain.net CodeMountain http://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
On 18/10/2007, Scott Ehrlich scott@mit.edu 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
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: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On 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:john.allen@codemountain.net CodeMountain http://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
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