LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-30-2009, 11:52 AM   #1
5555collier
LQ Newbie
 
Registered: Mar 2009
Posts: 14

Rep: Reputation: 0
RHEL3 server with RHEL4 client problem


I had to rebuild a machine that was authenticating through a RHEL3 server. The machine was previously running a RHEL3 client but I upgraded it to RHEL4 and kept the same ip. I can log on to a local account and ssh out of the rebuilt machine but when I try to ssh into it, I get a "no route to host port 22" error. It will also not authenticate through the server even though I configured it for the domain just like before. Is there any trick to using RHEL4 client?, or am I just missing something really simple (again).
thanks
 
Old 03-30-2009, 12:06 PM   #2
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
Define "authenticating through". LDAP, Active Directory, shared passwd files?
 
Old 03-30-2009, 12:10 PM   #3
5555collier
LQ Newbie
 
Registered: Mar 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Through NIS
 
Old 03-30-2009, 12:20 PM   #4
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
It seems you have two problems

1) You can't ssh to the RHEL4 box.

-Turn off/open ssh port in the firewall?
-Check /etc/hosts (and/or DNS settings) on both machines and make sure they know about the other.

2) Can't authenticate through NIS.

-Try running "authconfig" on the command line and check your NIS settings.
-Check your /etc/nsswitch.conf file for the correct settings.
 
Old 03-30-2009, 01:09 PM   #5
5555collier
LQ Newbie
 
Registered: Mar 2009
Posts: 14

Original Poster
Rep: Reputation: 0
I don't have firewall enabled and /etc/hosts and DNS settings are all correct. NIS is enabled with the correct domainname. I can even ypcat passwd and all the info is there. nsswitch.conf is also correct.
 
Old 03-30-2009, 02:45 PM   #6
5555collier
LQ Newbie
 
Registered: Mar 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Solved the logon authentication problem. I had the ip address and it was looking for the hostname of the server. Still have the "can't ssh into the machine" problem though, port 22 no route to host.
 
Old 03-31-2009, 09:30 AM   #7
5555collier
LQ Newbie
 
Registered: Mar 2009
Posts: 14

Original Poster
Rep: Reputation: 0
I found out the problem. Even though when I installed RHEL4 and did not select the firewall, somehow it was running. I turned it off and ssh is now happy. Thanks to miedward for the suggestions, it pointed me back in the right direction!!
 
Old 03-31-2009, 11:00 AM   #8
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
Glad to hear you figured it out!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rhel3 nis rhel4 client 5555collier Linux - Newbie 1 03-31-2009 09:32 AM
dual boot (RHEL3 and RHEL4) problem: need guidance to edit grub.conf in MBR lgpage Linux - Software 1 02-16-2007 12:05 PM
RHEL3 vs RHEL4 Shaka999 Red Hat 0 11-03-2006 10:17 AM
RHEL4 much different then RHEL3? ltam Red Hat 3 05-02-2006 04:22 AM
diskless boot problem with RHEL3 client VMSlives Red Hat 1 09-29-2005 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration