I have a slight problem. I run an rsh command to execute a program on
another node. When I run the "date" command I get a prompt back.
However, when I run a program that I created I do NOT get the prompt
back on the local machine where I sent the rsh command from.
Some background information:
We were trying to startup oracle by issuing an rsh command to the shell
script that starts oracle. However, oracle would sometimes come up and
sometimes it would not fully come up, in particular the listener. So,
after numerous attempts by using the -n and -t with a timeout, we still
could not get it to work. So we decided to write a small program that
executes a startup script and then exits. Unfortunately, this does not
work and we are stuck. The local machine is running FreeBSD 2.2.2 and
the target machine is SCO OpenServer 5.0.4.
The rshd daemon that runs on SCO continues to run until 1) I kill it or
2) I stop oracle. Hence, the only way to get the prompt back to the
local machine is to kill the rshd on SCO or stop oracle, but that
defeats what I was trying to do. I wanted to start oracle. :-)
AG Communication Systems