Operating System - HP-UX
1836582 Members
1391 Online
110102 Solutions
New Discussion

remshd getservbyname failure.

 
SOLVED
Go to solution
Gino Castoldi_2
Honored Contributor

remshd getservbyname failure.

Hi,

HP-UX 11.0 L2000/rp5450 MC/SG 11.09 (2 nodes).

When we run this type of command it fails:

root# remsh server1 date
"remshd: getservbyname"

If we run 'rlogin server1' it works fine.
We are not using NIS.
We do have /.rhosts entries for each server in the cluster. This seems to have stopped working
after we upgraded OVO. No OS patches were applied recently.

10 points to any good answer.
TIA, Gino

7 REPLIES 7
RAC_1
Honored Contributor
Solution

Re: remshd getservbyname failure.

What is the nslookup results for

nslookup server1 and for nslookup "ip_of_server1"

Anil
There is no substitute to HARDWORK
Robert-Jan Goossens
Honored Contributor

Re: remshd getservbyname failure.

Hi Gino,

Not shore if you are running 11.0 or 11.i. Check the doc below, patch is for 11.i.

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062903515

http://www4.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHNE_29464

Hope this helps,
Robnert-Jan

Sanjay_6
Honored Contributor

Re: remshd getservbyname failure.

Hi Gino,

Check and make sure "kshell" and "ekshell" are uncommented in /etc/services.

Hope this helps.

Regds
Gino Castoldi_2
Honored Contributor

Re: remshd getservbyname failure.

Hi,

RAC: nslookup results are the same for the hostname and ip address.

Robert-Jan: We're running HP-UX 11.0.

Sanjay: I'll un-comment those entries in the
/etc/services files and then will do a
'inted -c'.

10 points to any good answer.
TIA, Gino
Robert-Jan Goossens
Honored Contributor

Re: remshd getservbyname failure.

Gino,

Always forgetting that you are in the US :-)

Document description: Cannot remsh to remote sys; error msg: 'remshd getservbyname'
Document id: 2200103257

US
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062903515

Regards,
Robert-Jan
Gino Castoldi_2
Honored Contributor

Re: remshd getservbyname failure.

Hi,

I uncommented "kshell" and "ekshell" in
/etc/services and in inetd.conf I uncommented
"kshell" and did a 'inetd -c' but it still gets the same error messages.

10 points to any good answer.
TIA, Gino
Gino Castoldi_2
Honored Contributor

Re: remshd getservbyname failure.

Hi,

I spoke too soon. It does work now.
I had to make the same changes on both servers in the cluster (that usually helps...).

Thank you everyone for your help and suggestions.

10 points to any good answer.
TIA, Gino