Greetings,

I'm having problems with this program I need to automate the startup / shutdown of. It won't seem to let go of the terminal that spawned it. Even if I log in directly to the server and run the program, it seems to hang when I attempt to log out. The program in question is an oracle application server process monitor called oidmon. The stop wrapper works fine.

oidmon connect=blablabla stop.

When I run that, the process is stopped, and I have no issues logging out of the box.

When I run:

oidmon connect=blablabla start

the process runs, and I get my terminal back. Everything seems hunky dorey. But, then when I try and disconnect from the server, it hangs. In my process listing it still seems to be hanging on to the tty of the session that I initiated the program with. It does this until I log out (and get hung), then changes the controlling terminal listing from pts/x to -.

I've tried all sorts of things. Redirecting the output to /dev/null, running it in the background, wrapping the program call in an exec, using job control, using bash shopt -o huponexit, etc. Anyone have any hints?

-Thanks, RYAN

--
Ryan Madison
Reno, NV 89521

e. [EMAIL PROTECTED]
aim. Alp1n1ste
yim. rhmadiso
_______________________________________________
RLUG mailing list
RLUG@rlug.org
http://lists.rlug.org/mailman/listinfo/rlug

Reply via email to