References

Install Oracle Database

Check Install Logs

References

VirtualBox OEL 7.3 Minimal Install for 12c

https://docs.google.com/document/d/e/2PACX-1vQQMJiMEWAtd0CiolnvxrG05C9-xf_XEUEvvi_3dHhLFl1T2A6MTvRFl3meVujoR5eiIVkPlAdRNoeb/pub

How to install Oracle 12.1 in silent mode

https://pierreforstmanndotcom.wordpress.com/2013/06/27/how-to-install-oracle-12-1-in-silent-mode/

Install Oracle Database

oracle@oel73:grid:/home/oracle

$ mkdir -p /u01/app/oracle/product/12.1.0/db_1

oracle@oel73:grid:/home/oracle

$ ll /u01/

total 0

drwxrwxr-x. 5 oracle oinstall 51 Nov 23 20:58 app

oracle@oel73:grid:/home/oracle

$ cd /media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database/

oracle@oel73:grid:/media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database

$ export DISTRIB=`pwd`

oracle@oel73:grid:/media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database

$ ./runInstaller -silent -ignoreSysPrereqs -waitforcompletion -force -responseFile $DISTRIB/response/db_install.rsp \

> oracle.install.option=INSTALL_DB_SWONLY \

> UNIX_GROUP_NAME=oinstall \

> INVENTORY_LOCATION=/u01/app/oraInventory \

> SELECTED_LANGUAGES=en \

> ORACLE_HOME=/u01/app/oracle/product/12.1.0/db_1 \

> ORACLE_BASE=/u01/app/oracle \

> oracle.install.db.InstallEdition=EE \

> oracle.install.db.isCustomInstall=false \

> oracle.install.db.DBA_GROUP=dba \

> oracle.install.db.OPER_GROUP=dba \

> oracle.install.db.BACKUPDBA_GROUP=dba \

> oracle.install.db.DGDBA_GROUP=dba \

> oracle.install.db.KMDBA_GROUP=dba \

> SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \

> DECLINE_SECURITY_UPDATES=true

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 500 MB.   Actual 104350 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 16377 MB    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-11-24_11-28-26AM.

Please wait ...You can find the log of this install session at:

 /u01/app/oraInventory/logs/installActions2016-11-24_11-28-26AM.log

The installation of Oracle Database 12c was successful.

Please check '/u01/app/oraInventory/logs/silentInstall2016-11-24_11-28-26AM.log' for more details.

As a root user, execute the following script(s):

        1. /u01/app/oracle/product/12.1.0/db_1/root.sh

Successfully Setup Software.

oracle@oel73:grid:/media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database

$

++++++++++

[root@oel73 ~]# /u01/app/oracle/product/12.1.0/db_1/root.sh

Check /u01/app/oracle/product/12.1.0/db_1/install/root_oel73.localdomain_2016-11-24_11-59-06.log for the output of root script

[root@oel73 ~]# cat /u01/app/oracle/product/12.1.0/db_1/install/root_oel73.localdomain_2016-11-24_11-59-06.log

Performing root user operation.

The following environment variables are set as:

    ORACLE_OWNER= oracle

    ORACLE_HOME=  /u01/app/oracle/product/12.1.0/db_1

   Copying dbhome to /usr/local/bin ...

   Copying oraenv to /usr/local/bin ...

   Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

[root@oel73 ~]#

Check Install Logs

oracle@oel73:grid:/media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database

$ ls -alrt /u01/app/oraInventory/logs/*2016-11-24_11-28-26AM*

-rw-r----- 1 oracle oinstall      47 Nov 24 11:29 /u01/app/oraInventory/logs/time2016-11-24_11-28-26AM.log

-rw-r----- 1 oracle oinstall       0 Nov 24 11:29 /u01/app/oraInventory/logs/oraInstall2016-11-24_11-28-26AM.err

-rw-r----- 1 oracle oinstall      95 Nov 24 11:45 /u01/app/oraInventory/logs/silentInstall2016-11-24_11-28-26AM.log

-rw-r----- 1 oracle oinstall     402 Nov 24 11:45 /u01/app/oraInventory/logs/oraInstall2016-11-24_11-28-26AM.out

-rw-r----- 1 oracle oinstall 1176589 Nov 24 11:45 /u01/app/oraInventory/logs/installActions2016-11-24_11-28-26AM.log

oracle@oel73:grid:/media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database

$

oracle@oel73:grid:/media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database

$ export LOG=/u01/app/oraInventory/logs/installActions2016-11-24_11-28-26AM.log

oracle@oel73:grid:/media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database

$ grep -e '[[:upper:]]: ' $LOG|cut -d ":" -f1|sort -u

INFO

WARNING

oracle@oel73:grid:/media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database

$ grep -e '[[:upper:]]: ' $LOG |grep "^WARNING: "

WARNING: Unable to find the namespace URI. Reason: Start of root element expected.

WARNING: Unable to find the namespace URI. Reason: Start of root element expected.

WARNING: Validation disabled for the state prepInstall

WARNING: Validation disabled for the state decideOCMInstall

WARNING: Validation disabled for the state prereqExecutionDecider

WARNING: Result values are not available for this verification task

WARNING: Result values are not available for this verification task

WARNING: Result values are not available for this verification task

WARNING: Result values are not available for this verification task

WARNING: Result values are not available for this verification task

WARNING: Result values are not available for this verification task

WARNING: Result values are not available for this verification task

WARNING: Result values are not available for this verification task

WARNING: Result values are not available for this verification task

WARNING: Result values are not available for this verification task

WARNING: Validation disabled for the state showSummary

WARNING: Duplicate definition of global variable ORACLE_HOSTNAME

WARNING: Validation disabled for the state finish

oracle@oel73:grid:/media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database

$

++++++++++

oracle@oel73:grid:/media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database

$ grep -C 5 ORACLE_HOSTNAME $LOG

 MYORACLESUPPORT_USERNAME

 OCMSettings                                            oracle.install.ivw.common.bean.OCMSettings

                                                        @19b72276

 ORACLE_BASE                                            /u01/app/oracle

 ORACLE_HOME                                            /u01/app/oracle/product/12.1.0/db_1

 ORACLE_HOSTNAME                                        oel73.localdomain

 PROXY_HOST

 PROXY_PORT

 PROXY_PWD                                              *Protected value, not to be logged*

 PROXY_USER

 RootConfigurationSettings                              oracle.install.ivw.common.bean.RootConfigu

--

 MYORACLESUPPORT_USERNAME

 OCMSettings                                            oracle.install.ivw.common.bean.OCMSettings

                                                        @19b72276

 ORACLE_BASE                                            /u01/app/oracle

 ORACLE_HOME                                            /u01/app/oracle/product/12.1.0/db_1

 ORACLE_HOSTNAME                                        oel73.localdomain

 PROXY_HOST

 PROXY_PORT

 PROXY_PWD                                              *Protected value, not to be logged*

 PROXY_USER

 RootConfigurationSettings                              oracle.install.ivw.common.bean.RootConfigu

--

INFO: adding the variable oracle_install_crs_emcaCmd to command line args table

INFO: adding the variable oracle_install_db_SkipHARegistration to command line args table

INFO: adding the variable oracle_install_autoupdates_myOracleSupportCredentials to command line args table

INFO: adding the variable oracle_install_db_CharSetOption to command line args table

INFO: adding the variable RootConfigurationSettings to command line args table

INFO: Setting the value  for ORACLE_HOSTNAME variable

INFO: Setting variable 'ORACLE_HOSTNAME' to 'oel73.localdomain'. Received the value from the command line.

INFO: adding the variable oracle_install_db_StarterDatabaseType to command line args table

INFO: adding the variable oracle_install_crs_crsUpgrdCmd to command line args table

INFO: adding the variable oracle_install_crs_crsInstCmd to command line args table

INFO: Setting the value  for SELECTED_LANGUAGES variable

INFO: Setting variable 'SELECTED_LANGUAGES' to 'en'. Received the value from the command line.

--

INFO: User Action File copied to:/tmp/OraInstall2016-11-24_11-28-26AM/globalvariables/globalvar.xml

INFO: Loading products list. Please wait.

INFO: Loading products list. Please wait.

INFO: Loading global variables

INFO: Reading global variables from file /media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database/install/../stage/globalvariables/globalvar.xml

WARNING: Duplicate definition of global variable ORACLE_HOSTNAME

INFO: Loading of globalvariables complete

INFO: Setting variable 'oracle_install_ProductName' to 'db'. Received the value from the command line.

INFO: Setting variable 'oracle_install_db_SID' to ''. Received the value from the command line.

INFO: Setting variable 'oracle_install_RACInstall' to 'false'. Received the value from the command line.

INFO: Setting variable 'oracle_install_OSDBA' to 'dba'. Received the value from the command line.

--

INFO:

*** Language Selection Page***

INFO: Setting the 'SelectedLanguages ( SELECTED_LANGUAGES )' property to 'en'. Received the value from the command line.

INFO:

*** Specify Local Host Name Page***

INFO: Setting the 'HostName ( ORACLE_HOSTNAME )' property to 'oel73.localdomain'. Received the value from the command line.

INFO: Adding iterator oracle.sysman.oii.oiic.OiicCompsWizEngine

INFO: Adding iterator oracle.sysman.oii.oiic.OiicCompsWizEngine

INFO: Adding iterator oracle.sysman.oii.oiic.OiicSessionSettingSaveWCCE

INFO: Adding iterator oracle.sysman.oii.oiif.oiifw.OiifwSummaryWCDE

INFO: Adding iterator oracle.sysman.oii.oiif.oiifw.OiifwValidateDiskSpaceWCCE

oracle@oel73:grid:/media/sf_OracleSoftware/12.1.0.2_PatchSet_Linux_x64/database

$

Michael Dinh