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 11g 靜默安裝Oracle
- 靜默安裝oracle時報錯Oracle
- Oracle 11g Database靜默安裝OracleDatabase
- Oracle 靜默安裝Oracle
- Oracle靜默安裝Oracle
- CentOS 7.5靜默安裝Oracle 11gCentOSOracle
- oracle 11g rac 靜默解除安裝Oracle
- 靜默方式安裝oracle 11g 完整攻略Oracle
- ORACLE 11G 靜默安裝soft db listenerOracle
- Linux下Oracle 11g靜默安裝LinuxOracle
- 靜默安裝Oracle資料庫11gOracle資料庫
- 靜默安裝ORACLE(文件)Oracle
- OEL6下靜默安裝Oracle 11g,靜默配置監聽Oracle
- RHEL5 Oracle 11G R2 RAC 靜默安裝 (二)GI靜默安裝Oracle
- 非圖形化靜默安裝oracle 11gOracle
- ORACLE 11.2.0.4靜默安裝Oracle
- 靜默安裝oracle軟體Oracle
- Oracle靜默安裝(單機)Oracle
- 靜默安裝ORACLE 軟體Oracle
- Oracle靜默安裝說明Oracle
- oracle靜默安裝raw裝置Oracle
- oracle 11g資料庫軟體靜默安裝Oracle資料庫
- 【oracle】靜默安裝 oracle 11gr2Oracle
- oracle 19C 靜默安裝Oracle
- oracle 12c 靜默安裝Oracle
- 靜默安裝oracle10gOracle
- oracle10g 靜默安裝Oracle
- Oracle 10g 靜默安裝Oracle 10g
- 在CentOS-6.7上靜默安裝Oracle 11g及靜默建立資料庫CentOSOracle資料庫
- oracle 11g安裝報錯Oracle
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- 【靜默】在RHEL 6.5上靜默安裝Oracle 18cOracle
- centos 7.4靜默安裝oracle 19.3CentOSOracle
- 使用responseFile進行oracle靜默安裝Oracle
- oracle11g靜默安裝(修正)Oracle
- Oracle 11g靜默安裝軟體+手工建立資料庫Oracle資料庫
- oracle安裝:使用響應檔案靜默安裝Oracle
- 在rhel5上靜默(silent)安裝oracle10g(10.2.0.1)報錯Oracle