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 12-16-2011, 03:41 PM   #1
sombre1
LQ Newbie
 
Registered: Jul 2005
Location: Northern Virginia
Distribution: SuSE 9.1 Personal
Posts: 21

Rep: Reputation: 0
rsh Couldn't look up address error on SuSE 8.


Hey guys.

I am working with some older technology for a customer that has some legacy processes and we are struggling to get rsh working. We have two servers, both SuSE 8 running the 2.4.19-64GB-SMP kernel and one of them works without issue and the other one works sporadically. In the message log we log some of the follwing:

Dec 15 14:36:11 cbcm2 in.rshd[21491]: connect from 10.94.56.54 (10.94.56.54)
Dec 15 14:36:11 cbcm2 rshd[21491]: Couldn't look up address for ce1bodocke1: Nam
e or service not known
Dec 15 14:36:11 cbcm2 rshd[21491]: rsh denied to server@ce1bodocke1 as server: C
ouldn't get address for your host (%s)
Dec 15 14:36:11 cbcm2 rshd[21491]: rsh command was 'cd /u/server/data/;ls -l tes
te*.spl'


If I do a dig on ce1bodocke1 it gets an answer in 0 msec. This works intermittently and then fails on occaison.

The host.allow is clean, no entries. The host.deny and host.equiv are as follows.

# See `man tcpd´ and `man 5 hosts_access´ as well as /etc/hosts.allow
# for a detailed description.

http-rman : ALL EXCEPT LOCAL


#
# hosts.equiv This file describes the names of the hosts which are
# to be considered "equivalent", i.e. which are to be
# trusted enough for allowing rsh(1) commands.
#
# hostname
+


The .rhosts starts with a + sign entry and is rather extensive but the following is the first line.

cbcm2:/u/server # head .rhosts
+


I know this is clear text and should not be used and have tried to steer them towards passwordless ssh, without success. Their entire enterprise makes heavy use of rsh.

Can you guys dust off your rsh hats and steer me in the right direction. It seems like the ones that work we get a FQDN, with the domain name and the ones that fail only have the remote host name.

Thanks.
 
Old 12-20-2011, 10:55 AM   #2
sombre1
LQ Newbie
 
Registered: Jul 2005
Location: Northern Virginia
Distribution: SuSE 9.1 Personal
Posts: 21

Original Poster
Rep: Reputation: 0
Help... Anyone out there on that can point me in the right direction on this? Any assist would be greatly appreciated.
 
Old 12-20-2011, 07:39 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If this means what I think ie FQDNs always work, hostnames/aliases are intermittent
Quote:
It seems like the ones that work we get a FQDN, with the domain name and the ones that fail only have the remote host name.
then the quick n dirty fix is to go through all the calls and fix FQDNs in; even better, use IPAddrs

If dig/nslookup is intermittent, then the DNS server has an issue of some kind; more than one DNS server or entries also in /etc/hosts files?
That is, even FQDNs have to be looked up to translate to IPAddrs ... It's inconsistent that FQDNs work and shortnames don't...
Compare the results of dig for the same systems using FQDN & shortname.
 
  


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
BIND9: couldn't add command channel 127.0.0.1#953: address in use davidlt Linux - Newbie 1 05-21-2011 02:49 AM
rsh to an ipv6 address sujithjohn Linux - Newbie 7 08-19-2010 10:58 PM
[SOLVED] chkconfig rsh on- error reading information on service -rsh SurbhiJain Linux - Newbie 1 08-12-2010 01:53 PM
rinetd: couldn't bind to address jokingelephant Linux - Newbie 6 07-21-2008 01:35 PM
RSH: remuser too long error when rsh is executed from IIS dev33445 Programming 0 08-29-2005 09:34 AM

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

All times are GMT -5. The time now is 09:25 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