Operating System - HP-UX
1833403 Members
3122 Online
110052 Solutions
New Discussion

Re: rcp error - remshd: getservbyname

 
SOLVED
Go to solution
David Lieberman_1
Frequent Advisor

rcp error - remshd: getservbyname

Seen this before, but I forgot how to fix it.

L2000's, 11.0/64bit, trusted.

An rcp between servers fails with the error: remshd: getservbyname

I've checked /etc/inetd.conf. and /etc/services. shell and exec are uncommented in both files, on both servers. Just to be anal, I ran /usr/sbin/inetd -c on both servers. ;)

yep ~/.rhosts has the host entries for the servers in question. Hmmm...
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: rcp error - remshd: getservbyname

Hi David:

I found this which seems to be you:

PROBLEM
After installing the March 2001 patch bundle on an HP-UX 11.0
computer, the remsh command produces the following error:

remsh getservbyname

How can this problem be resolved?


CONFIGURATION
Operating System - HP-UX
Version - 11.0
Subsystem - SYS ADM

RESOLUTION
The following patch is included in the March 2001 patch bundle:

PHNE_21731
s700_800 11.00 r-commands cumulative mega-patch

This r-command mega patch introduces more kerborized checks and
requires port 544 and 545 to be open.

To resolve this problem, uncomment "kshell" and "ekshell" in the
/etc/services file. (Also see the "Special Installation
Instructions" in the patch's readme file.)




If it ain't broke, I can fix that.
Sridhar Bhaskarla
Honored Contributor

Re: rcp error - remshd: getservbyname

Were there any changes in your DNS configuration? like hosts, resolv.conf or on the nameserver itself. I guess the remote server is not able to lookup the client. It happened once that on my server, I mistakenly setup two IP addresses for the same name in /etc/hosts file and I was getting these messages for all r-commands.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
linuxfan
Honored Contributor

Re: rcp error - remshd: getservbyname

Hi David,

Not sure if this will help or not but there is a similar problem described in doc id 2200103257.

/Begin/

PROBLEM

After installing the March 2001 patch bundle on an HP-UX 11.0
computer, the remsh command produces the following error:
remsh getservbyname

How can this problem be resolved?


CONFIGURATION
Operating System - HP-UX
Version - 11.0
Subsystem - SYS ADM

RESOLUTION

The following patch is included in the March 2001 patch bundle:
PHNE_21731
s700_800 11.00 r-commands cumulative mega-patch
This r-command mega patch introduces more kerborized checks and
requires port 544 and 545 to be open.
To resolve this problem, uncomment "kshell" and "ekshell" in the
/etc/services file. (Also see the "Special Installation
Instructions" in the patch's readme file.)

/End/

The symptoms this patch fixes are really interesting. ;)

-Regards
I am RU
They think they know but don't. At least I know I don't know - Socrates
David Lieberman_1
Frequent Advisor

Re: rcp error - remshd: getservbyname

Piece of cake!
The kerberos crap (er, stuff) was commented out of the /etc/services file.
Thanks folks!