Summary
Problem happened on AIX OS on DP 10.80
Reviewed, edited
Error
backup or integrate oracle backup failed with error :
Cannot start program '/usr/omni/bin/util_oracle8.pl' ([10] No child processes)
Cause
The CmnRunScript execution wait for for output from child but the child does not exist:
[ 99] ===>> (1) CmnRunScript {
[ 99] Args: flags:0x0, timeout:0, argc:6, dir:/usr/omni/bin, exe:util_oracle8.pl
[ 99]
[ 10] util_oracle8.pl
[ 10] -APP
[ 10] -debug
[ 10] 1-500,ID:111116
[ 10] oracleissue.txt
[ 10]
[ 10] [CmnRunScript] fork & exec...
[ 18] [EnvReadInt] OB2EXECTIMEOUT=n/a (default:0)
[ 10] SIGCHLD set to ChildExit.
[ 99] Args: flags:0x0, timeout:0, argc:6, dir:/usr/omni/bin, exe:util_oracle8.pl
[ 99]
[ 10] util_oracle8.pl
[ 10] -APP
[ 10] -debug
[ 10] 1-500,ID:111116
[ 10] oracleissue.txt
[ 10]
[ 10] [CmnRunScript] fork & exec...
[ 18] [EnvReadInt] OB2EXECTIMEOUT=n/a (default:0)
[ 10] SIGCHLD set to ChildExit.
Fix
There are 2 types of execution for CmnRunScript().
The default for AIX is the one in which it waits for the output from the child over pipe.
The other is in which it will not wait for the child. This is used, when we set
Set following parameter OB2RUNSCRIPT=2 to /usr/omni/.omnirc