1752272 Members
5672 Online
108786 Solutions
New Discussion юеВ

Re: remsh hangs

 
spearsy456
Advisor

remsh hangs

Hi if anyone could help with the following issue i would be most greatful.

Background :
System OS
HP-UX11i
Hostname's
NLCREL03, NLCREL04, CHOMSL19
Network Interfaces
NLCREL03 multiple with dedicated production VLAN
NLCREL04 multiple with dedicated production VLAN
CHOMSL19 single lan in dedicated production VLAN

NLCREL03 & NLCREL04 are in the same VLAN and can talk to each other and CHOMSL19 using the regular services i.e ping/rcp/telnet etc
CHOMSL19 is on a seperate VLAN that can talk to NLCREL03 & NLCREL04

Issue when running the following command as user root & system user #remsh bdf

1)If i remsh from CHOMSL19 to either NLCREL03 or NLCREL04 the result is success.
2)If i remsh from NLCREL04 to CHOMSL19 the result is success.
3)If i remsh from NLCREL03 to CHOMSL19 the result is a timeout.

Evidence :

When option 3) fails i can see the following in the syslog on CHOMSL19 (the system the remsh is going to), it would appear the connection is being made as the following event is created :

"connection from NLCREL03 (IP) at "

when the remsh times out the following event appears in the syslog :

"connect second port : Connection timed out"

On all 3 systems the host.equiv and .rhosts contains entrys for the 3 systems, and the inetd.sec is empty allowing all.

I know its not a network issue as NLCREL04 is able to perform the remsh and its setup (apart from IP) is identical to NLCREL03 which is failing, as the syslog entry shows the connection being made, there is something taking place that stops the return journey from the failing system.


Any help would be great, im all out of ideas :)

Rgds
Steve

17 REPLIES 17
Fabian Brise├▒o
Esteemed Contributor

Re: remsh hangs

Hello.

Can you try the command with the '-n' switch:

# remsh host -l user -n thecommand.


does it give the same error ???
Knowledge is power.
spearsy456
Advisor

Re: remsh hangs

Yep, tried with -n and the same issue occurs with the same updates to the syslog
Fabian Brise├▒o
Esteemed Contributor

Re: remsh hangs

Hello Steve.
check your /etc/services file to what do the entry's for ports 512,513,514 show ?

Knowledge is power.
spearsy456
Advisor

Re: remsh hangs

Still need help on this, would appreciate any ideas
Tingli
Esteemed Contributor

Re: remsh hangs

Can you telnet there?
spearsy456
Advisor

Re: remsh hangs

From my opening statement !

"NLCREL03 & NLCREL04 are in the same VLAN and can talk to each other and CHOMSL19 using the regular services i.e ping/rcp/telnet etc
CHOMSL19 is on a seperate VLAN that can talk to NLCREL03 & NLCREL04"
Steven Schweda
Honored Contributor

Re: remsh hangs

> I know its not a network issue [...]

I don't. (And that's "it's".)

If other services, like, say, Telnet, work in
both directions between the two problem
systems (CHOMSL19 and NLCREL03), then that
would seem to rule out any obvious routing
problems, but I know nothing about the
network hardware between these systems, and
I can imagine all sorts of (mal-configured)
firewall capability in there which might
cause a problem like this. Any description
which says "VLAN" sets me a-worrying.

Knowing nothing, I'd expect a more general
problem (routing, duplicate address, ...) to
affect all services more or less equally,
which, according to your description, is not
the case.

As always, I'd feel better if I could see
some actual commands with output, showing
things like actual IP addresses, route
tracing, Telnet sessions, and so on. (I
trust copy+paste more than I do anyone's
descriptions and interpretations.)
spearsy456
Advisor

Re: remsh hangs

Steven apologies i thought this was a forum and not an English grammar class.
And from your comments below you've already proven you will not be able help with this issue.
Actual IP's would have no added benefit, i've told you both systems are in the same VLAN and can talk to CHOMSL19, i've also stated CHOMSL19 has a single interface, the fact they are in the same VLAN and can talk to CHOMSL19 shows the routing over the VLAN's is good as I have a successful round trip on NLCREL04 using remsh, route tracing would be no benefit as tracing doesn't use remsh and i've already said the system's can talk to each other. telnet session why ? the issue is with remsh and i've already explained telnet works and it should do, it's a separate service and flow to remsh anyway.
I know its not a network issue because on top of the evidence above, I have an entire network team
that have checked all flows and rules to be good, and we have monitored network failures/drops over checkpoint for two week's without any failure's prior/during/post the issue arising.
My hope with this thread was someone has experienced second port closure using remsh, if I cannot find someone that has then the thread can be closed.
Tingli
Esteemed Contributor

Re: remsh hangs

Although both of them in the same vlan, but if the firewall port is closed, they still can not talk to each other. Nowadays, the network is so fancy that it can open or close anything as it likes.