Oracle 11G靜默安裝報錯Oracle recommends that if you want to keep this log...
報錯資訊:
網上的案例:
並沒有出現案例中的情況,網上也無更多的資料。
嘗試將該值改為true之後,發現便再無中斷。
DECLINE_SECURITY_UPDATES引數說明:
db_install.rsp參考模板:
過程資訊:
(1) 編輯/etc/sysctl.conf檔案,設定相關引數的系統預設值。如果該檔案中已有相關引數的設定,則確保引數值不小於如下對應值;如果還沒有相關引數的設定,則按照如下格式新增相應的引數設定行。
(2)編輯/etc/security/limits.conf檔案,修改作業系統對oracle使用者資源的限制。在該檔案中新增如下行。
(3)修改/etc/pam.d/login檔案加上如下引數
-
[oracle@oracle database]$ ./runInstaller -silent -responseFile /etc/db_install.rsp
-
Starting Oracle Universal Installer...
-
-
Checking Temp space: must be greater than 80 MB. Actual 42448 MB Passed
-
Checking swap space: must be greater than 150 MB. Actual 2015 MB Passed
-
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-07-07_02-16-13PM. Please wait ...[oracle@oracle database]$ [SEVERE] - Email Address Not Specified
- A log of this session is currently saved as: /tmp/OraInstall2017-07-07_02-16-13PM/installActions2017-07-07_02-16-13PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.
網上的案例:
1.檢查了環境變數$ORACLE_BASE和$ORACLE_HOME發現兩個路徑均正常,沒有異常
2.檢視./response/db_install.rsp檔案中INVENTORY_LOCATION、ORACLE_BASE和ORACLE_HOME三個欄位被配置成了相對路徑了,應該配置如下:
-
[oracle@oracledb ~]$ less /opt/database/response/db_install.rsp |grep -v "#"|grep -v "^$"
-
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
-
oracle.install.option=INSTALL_DB_SWONLY
-
ORACLE_HOSTNAME=oracledb
-
UNIX_GROUP_NAME=oinstall
-
INVENTORY_LOCATION=/opt/app/oracle/oraInventory
-
SELECTED_LANGUAGES=en,zh_CN
-
ORACLE_HOME=/opt/app/oracle/product/11.2.0/db_1
- ORACLE_BASE=/opt/app/oracle
-
[oracle@oracle etc]$ echo $ORACLE_HOME
-
/u01/app/oracle/product/11.2.0/db_1
-
[oracle@oracle etc]$ echo $ORACLE_BASE
-
/u01/app/oracle
-
[oracle@oracle etc]$ cat db_install.rsp |grep -v "#"|grep -v "^$"
-
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
-
oracle.install.option=INSTALL_DB_SWONLY
-
ORACLE_HOSTNAME=oracle.example.com
-
UNIX_GROUP_NAME=oinstall
-
INVENTORY_LOCATION=/u01/app/oracle/oraInventory
-
SELECTED_LANGUAGES=en
-
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
-
ORACLE_BASE=/u01/app/oracle
- ...省略部分內容...
-
[oracle@oracle etc]$ grep DECLINE_SECURITY_UPDATES db_install.rsp
-
# Example : DECLINE_SECURITY_UPDATES=false
- DECLINE_SECURITY_UPDATES=
嘗試將該值改為true之後,發現便再無中斷。
-
[oracle@oracle database]$ ./runInstaller -silent -responseFile /etc/db_install.rsp
-
Starting Oracle Universal Installer...
-
-
Checking Temp space: must be greater than 80 MB. Actual 42447 MB Passed
-
Checking swap space: must be greater than 150 MB. Actual 2015 MB Passed
-
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-07-07_02-35-27PM. Please wait ...[oracle@oracle database]$ [WARNING] [INS-32055] The Central Inventory is located in the Oracle base.
-
CAUSE: The Central Inventory is located in the Oracle base.
-
ACTION: Oracle recommends placing this Central Inventory in a location outside the Oracle base directory.
-
[WARNING] [INS-13014] Target environment do not meet some optional requirements.
-
CAUSE: Some of the optional prerequisites are not met. See logs for details. /tmp/OraInstall2017-07-07_02-35-27PM/installActions2017-07-07_02-35-27PM.log
-
ACTION: Identify the list of failed prerequisite checks from the log: /tmp/OraInstall2017-07-07_02-35-27PM/installActions2017-07-07_02-35-27PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
-
[WARNING] [INS-32055] The Central Inventory is located in the Oracle base.
-
CAUSE: The Central Inventory is located in the Oracle base.
-
ACTION: Oracle recommends placing this Central Inventory in a location outside the Oracle base directory.
-
[WARNING] [INS-13014] Target environment do not meet some optional requirements.
-
CAUSE: Some of the optional prerequisites are not met. See logs for details. /tmp/OraInstall2017-07-07_02-35-27PM/installActions2017-07-07_02-35-27PM.log
-
ACTION: Identify the list of failed prerequisite checks from the log: /tmp/OraInstall2017-07-07_02-35-27PM/installActions2017-07-07_02-35-27PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
-
You can find the log of this install session at:
-
/u01/app/oracle/oraInventory/logs/installActions2017-07-07_02-35-27PM.log
-
-
[oracle@oracle database]$ The following configuration scripts need to be executed as the "root" user.
-
#!/bin/sh
-
#Root scripts to run
-
-
/u01/app/oracle/product/11.2.0/db_1/root.sh
- A value for the command line argument "sysPassword" is not provided. We cannot proceed without a value for this argument.
DECLINE_SECURITY_UPDATES引數說明:
-
#------------------------------------------------------------------------------
-
# Specify whether user doesn't want to configure Security Updates.
-
# The value for this variable should be true if you don't want to configure
-
# Security Updates, false otherwise.
-
#
-
# The value can be either true or false. If left blank it will be assumed
-
# to be false.
-
#
-
# Example : DECLINE_SECURITY_UPDATES=false
-
#------------------------------------------------------------------------------
- DECLINE_SECURITY_UPDATES=
db_install.rsp參考模板:
-
[oracle@oracle etc]$ cat db_install.rsp |grep -v "#"|grep -v "^$"
-
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
-
oracle.install.option=INSTALL_DB_SWONLY
-
ORACLE_HOSTNAME=oracle.example.com
-
UNIX_GROUP_NAME=oinstall
-
INVENTORY_LOCATION=/u01/app/oracle/oraInventory
-
SELECTED_LANGUAGES=en
-
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
-
ORACLE_BASE=/u01/app/oracle
-
oracle.install.db.InstallEdition=EE
-
oracle.install.db.isCustomInstall=true
-
oracle.install.db.customComponents=oracle.server:11.2.0.1.0,oracle.sysman.ccr:10.2.7.0.0,oracle.xdk:11.2.0.1.0,oracle.rdbms.oci:11.2.0.1.0,oracle.network:11.2.0.1.0,oracle.network.listener:11.2.0.1.0,oracle.rdbms:11.2.0.1.0,oracle.options:11.2.0.1.0,oracle.rdbms.partitioning:11.2.0.1.0,oracle.oraolap:11.2.0.1.0,oracle.rdbms.dm:11.2.0.1.0,oracle.rdbms.dv:11.2.0.1.0,orcle.rdbms.lbac:11.2.0.1.0,oracle.rdbms.rat:11.2.0.1.0
-
oracle.install.db.DBA_GROUP=dba
-
oracle.install.db.OPER_GROUP=oinstall
-
oracle.install.db.CLUSTER_NODES=
-
oracle.install.db.config.starterdb.type=GENERAL_PURPOSE
-
oracle.install.db.config.starterdb.globalDBName=orcl
-
oracle.install.db.config.starterdb.SID=orcl
-
oracle.install.db.config.starterdb.characterSet=AL32UTF8
-
oracle.install.db.config.starterdb.memoryOption=true
-
oracle.install.db.config.starterdb.memoryLimit=512
-
oracle.install.db.config.starterdb.installExampleSchemas=false
-
oracle.install.db.config.starterdb.enableSecuritySettings=true
-
oracle.install.db.config.starterdb.password.ALL=oracle
-
oracle.install.db.config.starterdb.password.SYS=
-
oracle.install.db.config.starterdb.password.SYSTEM=
-
oracle.install.db.config.starterdb.password.SYSMAN=
-
oracle.install.db.config.starterdb.password.DBSNMP=
-
oracle.install.db.config.starterdb.control=DB_CONTROL
-
oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=
-
oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false
-
oracle.install.db.config.starterdb.dbcontrol.emailAddress=
-
oracle.install.db.config.starterdb.dbcontrol.SMTPServer=
-
oracle.install.db.config.starterdb.automatedBackup.enable=false
-
oracle.install.db.config.starterdb.automatedBackup.osuid=
-
oracle.install.db.config.starterdb.automatedBackup.ospwd=
-
oracle.install.db.config.starterdb.storageType=
-
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
-
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=
-
oracle.install.db.config.asm.diskGroup=
-
oracle.install.db.config.asm.ASMSNMPPassword=
-
MYORACLESUPPORT_USERNAME=
-
MYORACLESUPPORT_PASSWORD=
-
SECURITY_UPDATES_VIA_MYORACLESUPPORT=
-
DECLINE_SECURITY_UPDATES=true
-
PROXY_HOST=
-
PROXY_PORT=
-
PROXY_USER=
- PROXY_PWD=
過程資訊:
-
binutils-2.20.51.0.2-5.11.el6.i686
-
compat-libcap1-1.10-1.i686
-
compat-libstdc++-33-3.2.3-69.el6.i686
-
gcc-4.4.4-13.el6.i686
-
gcc-c++-4.4.4-13.el6.i686
-
glibc-2.12-1.7.el6.i686
-
glibc-devel-2.12-1.7.el6.i686
-
ksh
-
libgcc-4.4.4-13.el6.i686
-
libstdc++-4.4.4-13.el6.i686
-
libstdc++-devel-4.4.4-13.el6.i686
-
libaio-0.3.107-10.el6.i686
-
libaio-devel-0.3.107-10.el6.i686
-
make-3.81-19.el6.i686
- sysstat-9.0.4-11.el6.i686
-
yum install binutils* compat* gcc* glibc* ksh* lib* make* sysstat* unix* -y
-
-
./runInstaller -silent -responseFile /etc/db_install.rsp
-
- dbca -silent -createDatabase -templateName /u01/app/oracle/product/11.2.0/db_1/assistants/dbca/templates/General_Purpose.dbc -gdbName orcl -sid orcl -responseFile NO_VALUE -characterSet ZHS16GBK -sysPassword oracle -systemPassword oracle
(1) 編輯/etc/sysctl.conf檔案,設定相關引數的系統預設值。如果該檔案中已有相關引數的設定,則確保引數值不小於如下對應值;如果還沒有相關引數的設定,則按照如下格式新增相應的引數設定行。
-
vim /etc/sysctl.conf
-
-
fs.aio-max-nr = 1048576
-
fs.file-max = 6815744
-
kernel.shmall = 2097152
-
kernel.shmmax = 536870912
-
kernel.shmmni = 4096
-
kernel.sem = 250 32000 100 128
-
net.ipv4.ip_local_port_range = 9000 65500
-
net.core.rmem_default = 262144
-
net.core.rmem_max = 4194304
-
net.core.wmem_default = 262144
- net.core.wmem_max = 1048586
(2)編輯/etc/security/limits.conf檔案,修改作業系統對oracle使用者資源的限制。在該檔案中新增如下行。
-
vim /etc/security/limits.conf
-
-
oracle soft nproc 2047
-
oracle hard nproc 16384
-
oracle soft nofile 1024
-
oracle hard nofile 65536
- oracle hard stack 10240
(3)修改/etc/pam.d/login檔案加上如下引數
- session required pam_limits.so
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30174570/viewspace-2141715/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 靜默安裝oracle時報錯Oracle
- CentOS 7.5靜默安裝Oracle 11gCentOSOracle
- 靜默方式安裝oracle 11g 完整攻略Oracle
- 靜默安裝Oracle資料庫11gOracle資料庫
- Oracle靜默安裝Oracle
- oracle 19C 靜默安裝Oracle
- centos 7.4靜默安裝oracle 19.3CentOSOracle
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- Oracle Linux 7.1 靜默安裝Oracle 18c RACOracleLinux
- Oracle Linux 7.1 靜默安裝Weblogic 12.2.1.3OracleLinuxWeb
- 【靜默】在RHEL 6.5上靜默安裝Oracle 18cOracle
- Oracle Linux 6.7 靜預設安裝Oracle 11gOracleLinux
- RedHat上靜默安裝Oracle11gRedhatOracle
- CentOS 7.2靜默安裝Oracle11gCentOSOracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- 【OCP最新題庫解析(052)--題9】You want to install Oracle 11g databaseOracleDatabase
- 【配置上線】Oracle靜默建庫 for 11gOracle
- 靜默安裝Oracle建庫時報Template General Purpose does not existOracle
- 靜默安裝Oracle11g資料庫Oracle資料庫
- oracle11g客戶端靜默安裝Oracle客戶端
- oracle 19c dataguard silent install (oracle 19c dataguard 靜默安裝)Oracle
- 【11g 單庫解除安裝、靜默安裝】實驗
- RedHat 7 靜默安裝Oracle11g的補充RedhatOracle
- Linux下利用指令碼靜默安裝Oracle11GLinux指令碼Oracle
- 靜默方式安裝、升級oracle(二): 建立資料庫Oracle資料庫
- 靜默升級oracle 11g (從11.2.0.1升級到11.2.0.4)Oracle
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- Oracle 11G 安裝文件Oracle
- 阿里雲伺服器靜默安裝Oracle 11.2.0.4.0 -64bit阿里伺服器Oracle
- 【配置安裝】Oracle靜默建庫for 12c&19c CDBOracle
- Oracle 19C的下載和安裝部署(圖形安裝和靜默安裝)Oracle
- 【配置安裝】靜默安裝Oracle資料庫軟體12c&19cOracle資料庫
- Oracle 11G 安裝 bbed 工具Oracle
- oracle11g在linux7的靜默安裝指令碼OracleLinux指令碼
- 【配置上線】靜默安裝資料庫Oracle 11gR2資料庫Oracle
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- rac靜默安裝
- 【Oracle】Linux7安裝11g 86%報錯:Error in invoking target 'agent nmhs' of makefileOracleLinuxError
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM