Re: [CentOS] NIS/YP revelation (I think)

2007-10-24 Thread James Pearson

Scott Ehrlich wrote:
I'm using 
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch30_:_Configuring_NIS 
as a guide and the services all show appropriately on the production 
server and client, and on a working test setup that is identical to 
production.


Do you have any firewall setup on the server and/or clients?

What does 'rpcinfo -p' give on the server and clients?

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


Re: [CentOS] NIS/YP revelation (I think)

2007-10-24 Thread Scott Ehrlich

On Wed, 24 Oct 2007, James Pearson wrote:


Scott Ehrlich wrote:
I'm using 
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch30_:_Configuring_NIS 
as a guide and the services all show appropriately on the production server 
and client, and on a working test setup that is identical to production.


Do you have any firewall setup on the server and/or clients?


Disabled all around.



What does 'rpcinfo -p' give on the server and clients?



Exactly what the referenced URL says should be running.

Again, it works perfectly on a test setup.  I may start to use tcpdump for 
more details.  /var/log/messages shows nothing.  I can ssh back and forth 
fine between client and server, so Ethernet connectivity works fine.


Scott


James Pearson
___
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/YP revelation (I think)

2007-10-24 Thread James Pearson

Scott Ehrlich wrote:

On Wed, 24 Oct 2007, James Pearson wrote:



Do you have any firewall setup on the server and/or clients?



Disabled all around.



What does 'rpcinfo -p' give on the server and clients?


Exactly what the referenced URL says should be running.


It would still be handy to see what they are ...

Again, it works perfectly on a test setup.  I may start to use tcpdump 
for more details.  /var/log/messages shows nothing.  I can ssh back and 
forth fine between client and server, so Ethernet connectivity works fine.


What happens when you type (on a client):

ypwhich

If that works:

ypcat passwd (or another map)

James Pearson

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


Re: [CentOS] NIS/YP revelation (I think)

2007-10-24 Thread Scott Ehrlich
I did discover tcpdump produces an ICMP host hostname unreachable error 
during ypbind, but does NOT do so when ypbind is not running.


I also was reminded the firewall on the server is running, but I had these 
exact problems when the firewall was disabled.


Trying to track down the problem via google, and am open to any responses 
people have here...


Thanks.

Scott

On Wed, 24 Oct 2007, James Pearson wrote:


Scott Ehrlich wrote:

On Wed, 24 Oct 2007, James Pearson wrote:



Do you have any firewall setup on the server and/or clients?



Disabled all around.



What does 'rpcinfo -p' give on the server and clients?


Exactly what the referenced URL says should be running.


It would still be handy to see what they are ...

Again, it works perfectly on a test setup.  I may start to use tcpdump for 
more details.  /var/log/messages shows nothing.  I can ssh back and forth 
fine between client and server, so Ethernet connectivity works fine.


What happens when you type (on a client):

ypwhich

If that works:

ypcat passwd (or another map)

James Pearson

___
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/YP revelation (I think)

2007-10-24 Thread James Pearson

Scott Ehrlich wrote:
I did discover tcpdump produces an ICMP host hostname unreachable 
error during ypbind, but does NOT do so when ypbind is not running.


I also was reminded the firewall on the server is running, but I had 
these exact problems when the firewall was disabled.


Trying to track down the problem via google, and am open to any 
responses people have here...


What does your /etc/nsswitch.conf file contain?

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


Re: [CentOS] NIS/YP revelation (I think)

2007-10-24 Thread James Pearson

Scott Ehrlich wrote:

On Wed, 24 Oct 2007, James Pearson wrote:


Scott Ehrlich wrote:

I did discover tcpdump produces an ICMP host hostname unreachable 
error during ypbind, but does NOT do so when ypbind is not running.


I also was reminded the firewall on the server is running, but I had 
these exact problems when the firewall was disabled.


Trying to track down the problem via google, and am open to any 
responses people have here...



What does your /etc/nsswitch.conf file contain?



#/etc/nsswitch.conf
passwd: files nis
shadow: files nis
group:  files nis


What's the entry for hosts?

I also was reminded to perform ypinit -s server and was reminded again 
of the Can't enumerate maps error.  ypinit -m on the server has been 
performed numerous times, but still nothing...


'ypinit -s server' is only needed for slave servers.

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


Re: [CentOS] NIS/YP revelation (I think)

2007-10-23 Thread James Pearson
On 23/10/2007, Scott Ehrlich [EMAIL PROTECTED] wrote:
 So I configured my Enterprise 5 server to have NFS configured on specific
 ports via the NFS Server menu option.

 Since having done that, I am unable to get my two CentOS 5 workstations to
 bind via YP.  One worked just fine before the port reconfiguration, but
 broke after.   The other never worked fine.

 NFS works fine on both, but NIS will no longer bind.

 What do I need to change on the client side to permit binding?  I presume
 the port changes are the problem, and solution.

What is the output of 'rpcinfo -p' on the NIS clients and server?

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


Re: [CentOS] NIS/YP revelation (I think)

2007-10-23 Thread Scott Ehrlich
I'm using 
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch30_:_Configuring_NIS 
as a guide and the services all show appropriately on the production 
server and client, and on a working test setup that is identical to 
production.


The test setup works flawlessly.

Scott

On Tue, 23 Oct 2007, James Pearson wrote:


On 23/10/2007, Scott Ehrlich [EMAIL PROTECTED] wrote:

So I configured my Enterprise 5 server to have NFS configured on specific
ports via the NFS Server menu option.

Since having done that, I am unable to get my two CentOS 5 workstations to
bind via YP.  One worked just fine before the port reconfiguration, but
broke after.   The other never worked fine.

NFS works fine on both, but NIS will no longer bind.

What do I need to change on the client side to permit binding?  I presume
the port changes are the problem, and solution.


What is the output of 'rpcinfo -p' on the NIS clients and server?

James Pearson
___
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