Operating System - HP-UX
1833704 Members
2668 Online
110062 Solutions
New Discussion

Re: Problem with execution rsh from winnt client. could be by time?

 
SOLVED
Go to solution
Walter Fernandez
Occasional Advisor

Problem with execution rsh from winnt client. could be by time?

Hi, I'm Walter from Lima-Peru
I was trying to execute a shell from winnt client using rsh. when it was processing, at middle of this process abort with this message:

Recv failed: Connection reset by peer

I really don't know what can I do in this case
Hope you can help
Santander Central Hispano Investment
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor
Solution

Re: Problem with execution rsh from winnt client. could be by time?

Walter:

This is an umbrella error. The error could be due to a variety of situations, including some transient connection error. If you provide more specifics, perhaps we can narrow done the problem.

...JRF...
Walter Fernandez
Occasional Advisor

Re: Problem with execution rsh from winnt client. could be by time?

Thanks James.. well first, I execute a same shell,(It made a oracle backup) for a user with less tables than the other ones, and this ends without any problem.
I was thinking that could be for execution time. Can we control the remote shell time, with a parameter in UNIX?, we've HP-UX10.20 and our DB is an Oracle 7.3.4, but as I said before, one of this proceess ends without problems. Thanks in advance for your help
Walter
Santander Central Hispano Investment
James R. Ferguson
Acclaimed Contributor

Re: Problem with execution rsh from winnt client. could be by time?

Hi Walter:

The Posix shell's TMOUT value if set to a value greater than zero, will cause the shell to terminate if a command is not entered within TMOUT number of seconds after issuing the PS1 prompt.

Do you have this situation?

...JRF...
Walter Fernandez
Occasional Advisor

Re: Problem with execution rsh from winnt client. could be by time?

It's so possible that is happen .. but I was trying to know about this value, but I don't be able to execute posix even with root user! .. is a reserved word? command?, there is other way to know about this?
Santander Central Hispano Investment
Bill Thorsteinson
Honored Contributor

Re: Problem with execution rsh from winnt client. could be by time?

posix is the designation for the new shell sh. Rsh uses
sh as its shell so you are executing it. Bourne based
shells including posix sh include the timeout functionality.

Check the timeout value by running the following
env | grep TMO

The timeout value is in seconds.

Walter Fernandez
Occasional Advisor

Re: Problem with execution rsh from winnt client. could be by time?

Hi again, James & Bill, sorry but I was out of office, for a few days, and recently I'm checking your answers. Thanks again. immediatly I was trying to test this points, but at the end, the environment does not include any words likes TMOUT. I was thinking maybe when we connect by rsh, assign others config values, so I put this env value (TMOUT=3600) but it didn't work. I'll appreciate your comments. thanks, again, in advance
pd: Maybe I'm doing something wrong in this assign?
export ORACLE_TERM=vt100
export ORACLE_SID=siperudb
export STP_HOME=/ve2/apl/bolsa/serverp/server
export ORACLE_HOME=/ora/oracle
export TMOUT=36000
/ora/oracle/bin/exp usr/pass parfile=b05bkupa

Santander Central Hispano Investment