The solution is quite strightforward. In the agent home under AGENT_HOME/oui/bin there is a script attachHome.sh.
#!/bin/sh OHOME=The script in fact reattaches the home and after the call my script worked properly again.OHOMENAME=agent12c1 CUR_DIR=`pwd` cd $OHOME/oui/bin ./runInstaller -detachhome ORACLE_HOME=$OHOME ORACLE_HOME_NAME=$OHOMENAME $* > /dev/null 2>&1 ./runInstaller -attachhome ORACLE_HOME=$OHOME ORACLE_HOME_NAME=$OHOMENAME $* cd $CUR_DIR
No comments:
Post a Comment