and one of them is patchset installation.
To start it I used ORACLE_HOME and ORACLE_HOME_NAME
in addition to usual -silent -responseFile options
./runInstaller -silent \
-responseFile /u02/install/patch/Disk1/response/patchset.rsp \
ORACLE_HOME="/u03/app/oracle/product/11.1.0/db_1" \
ORACLE_HOME_NAME="OraDb11g_home1"
But the execution failed with error:
SEVERE:Values for the following variables could not be obtained
from the command line or response file(s):
METALINK_USERNAME(MetaLinkUsername)
Silent install cannot continue
Well, if it is not provided why not to use just null value. For some reason
installer did not want to do it and I added METALINK_USERNAME
(together with METALINK_PASSWORD) defined to empty string:
/u02/install/patch/Disk1> ./runInstaller -silent \
-responseFile /u02/install/patch/Disk1/response/patchset.rsp \
ORACLE_HOME="/u03/app/oracle/product/11.1.0/db_1" \
ORACLE_HOME_NAME="OraDb11g_home1" \
METALINK_USERNAME="" METALINK_PASSWORD=""
And the installation went further but stopped asking me:
You may not have enough space on your drive for a successful install.
Do you still want to continue?
Funny but I tried to answer "y", "Y", "YES" but it was failing with
"-bash: n: command not found". And then I checked the log
of installation: "INFO: Installation cannot continue. To Ignore Disk Warning, please use "-ignoreDiskWarning" command line option" was there.
I added -ignoreDiskWarning and was able to install patchset without problems
and questions
./runInstaller -silent\
-responseFile /u02/install/patch/Disk1/response/patchset.rsp \
ORACLE_HOME="/u03/app/oracle/product/11.1.0/db_1" \
ORACLE_HOME_NAME="OraDb11g_home1" \
METALINK_USERNAME="" METALINK_PASSWORD="" \
-ignoreDiskWarning
Another thing that is worth to mention that root.sh script generated
during silent installation also has parameter not to show output:
grep -i silent /u03/app/oracle/product/11.1.0/db_1/root.sh
OUI_SILENT=true
...
With TRUE value it won't show anything on a screen during execution
but change to FALSE will provide the output as usual.
Have a good day!
2 comments:
You are a life saver. Thanks for posting.
For the "METALINK_USERNAME(MetaLinkUsername) Silent install cannot continue" errors, see Oracle KB [ID 762790.1].
runInstaller -silent -responseFile 11107_rdbms.rsp DECLINE_SECURITY_UPDATES=TRUE
... bypasses OCM configuration and prevents the Metalink step.
Post a Comment