Operating System - HP-UX
1748041 Members
5203 Online
108757 Solutions
New Discussion

Re: remshd connect second port: Connection timed out

 
Jayan Nair
Frequent Advisor

remshd connect second port: Connection timed out

Hi all,

I am getting intermittent connection timeout on remsh connection

in syslog getting the below error message

remshd connect second port: Connection timed out

please advice

3 REPLIES 3
Naj
Valued Contributor

Re: remshd connect second port: Connection timed out

Hi Jayan Nair,

>remshd connect second port: Connection timed out

Please check configuration from your end

1. /etc/inetd.conf must contain an entry:
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
2. grep -i remshd /etc/services

please share here your output

Thanks

BR
Naj

____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Jayan Nair
Frequent Advisor

Re: remshd connect second port: Connection timed out

inetd.conf entry:-

shell stream tcp nowait root /usr/lbin/remshd remshd

 

we are able to remsh, but getting "second port: Connection timed out" and the script hang on this time.

The intervel of this error is may vary between, 30 minutes to 1 hr.

 

Matti_Kurkela
Honored Contributor

Re: remshd connect second port: Connection timed out

The remsh protocol can use a second TCP connection for standard error output. Apparently something in the network is causing this connection to break.

 

Does your remsh connection pass through a firewall or a NAT device that is configured to delete any connections that have been inactive for more than 30 minutes? If you don't have any errors, the standard error channel will be idle, and might be subject to inactivity timeouts, even though the main remsh connection has a lot of activity.

MK