Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rexecd not ending

Status
Not open for further replies.

raylin

MIS
Jun 7, 2001
177
CH
when starting a script on AIX with remote exec from z/OS
the script terminates but the rexecd does not end and so the job on the z/OS does not end too.
after killing the rexecd process the z/os job ends.
When it is a "normal" script the rexecd ends and the z/os Job too.
But in this case my script starts an Oracle Instance.
I tried with a wrapper script that calls the oracle startup script which at his end kills his parent process (the wrapper). The wrapper is killed but the parent process of the wrapper is the rexecd process. So when the wrapper is killed I coded a kill of the ppid at the moment of his interrupt but the problem is that the rexecd is owned by root and the main script started from z/OS (the wrapper) is started by the oracle user and so the permission to kill is denied.
any idea of a workaround ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top