11.2靜默安裝碰到的錯誤
11.2的靜默安裝改變了很多,簡單記錄一下碰到的錯誤。
在11.1及以前的版本中,靜默安裝只需要提供必須的引數即可,但是在11.2中responseFile似乎需要所有的引數,即使是那些根本不使用的。
最開始嘗試只給出下面的引數:
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME=Oracle111
UNIX_GROUP_NAME=dba
INVENTORY_LOCATION=/opt/oracle/oraInventory
SELECTED_LANGUAGES=en,zh_CN
ORACLE_HOME=/opt/oracle/product/11.2.0/db
ORACLE_BASE=/opt/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.EEOptionsSelection=false
oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.2.0,oracle.oraolap:11.2.0.2.0,oracle.rdbms.dm:11.2.0.2.0,oracle.rdbms.dv:11.2.0.2.0,orcle.rdbms.lbac:11.2.0.2.0,oracle.rdbms.rat:11.2.0.2.0
oracle.install.db.DBA_GROUP=dba
嘗試靜默安裝報錯:
[oracle@Oracle111 database]$ ./runInstaller -silent -noconfig -responseFile /data1/database/response/myinstall.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 7328 MB Passed
Checking swap space: must be greater than 150 MB. Actual 8191 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-02-16_10-55-12PM. Please wait ...[oracle@Oracle111 database]$ [FATAL] [INS-10105] The given response file /data1/database/response/myinstall.rsp is not valid.
CAUSE: Syntactically incorrect response file. Either unexpected variables are specified or expected variables are not specified in the response file.
ACTION: Refer the latest product specific response file template
SUMMARY:
- cvc-complex-type.2.4.b: The content of element 'properties' is not complete. One of '{"":oracle.install.db.CLUSTER_NODES, "":oracle.install.db.isRACOneInstall, "":oracle.install.db.racOneServiceName, "":oracle.install.db.OPER_GROUP, "":oracle.install.db.config.starterdb.type, "":oracle.install.db.config.starterdb.SID, "":oracle.install.db.config.starterdb.globalDBName, "":oracle.install.db.config.starterdb.characterSet, "":oracle.install.db.config.starterdb.memoryLimit, "":oracle.install.db.config.starterdb.enableSecuritySettings, "":oracle.install.db.config.starterdb.installExampleSchemas, "":oracle.install.db.config.starterdb.memoryOption, "":oracle.install.db.config.starterdb.storageType, "":oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation, "":oracle.install.db.config.starterdb.fileSystemStorage.dataLocation, "":oracle.install.db.config.starterdb.password.ALL, "":oracle.install.db.config.starterdb.password.SYS, "":oracle.install.db.config.starterdb.password.DBSNMP, "":oracle.install.db.config.starterdb.password.SYSMAN, "":oracle.install.db.config.starterdb.password.SYSTEM, "":oracle.install.db.config.starterdb.control, "":oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL, "":oracle.install.db.config.starterdb.automatedBackup.enable, "":oracle.install.db.config.starterdb.automatedBackup.osuid, "":oracle.install.db.config.starterdb.automatedBackup.ospwd, "":oracle.install.db.config.asm.diskGroup, "":oracle.install.db.config.asm.ASMSNMPPassword, "":SECURITY_UPDATES_VIA_MYORACLESUPPORT, "":DECLINE_SECURITY_UPDATES, "":MYORACLESUPPORT_USERNAME, "":MYORACLESUPPORT_PASSWORD, "":PROXY_PORT, "":PROXY_HOST, "":PROXY_USER, "":PROXY_PWD, "":COLLECTOR_SUPPORTHUB_URL, "":AUTOUPDATES_MYORACLESUPPORT_USERNAME, "":AUTOUPDATES_MYORACLESUPPORT_PASSWORD, "":oracle.installer.autoupdates.option, "":oracle.installer.autoupdates.downloadUpdatesLoc}' is expected.
A log of this session is currently saved as: /tmp/OraInstall2011-02-16_10-55-12PM/installActions2011-02-16_10-55-12PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.
於是嘗試將所有不需要的引數留空,再次執行,仍然報錯:
[oracle@Oracle111 database]$ ./runInstaller -silent -noconfig -responseFile /data1/database/response/myinstall.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 7326 MB Passed
Checking swap space: must be greater than 150 MB. Actual 8191 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-02-16_11-00-06PM. Please wait ...[oracle@Oracle111 database]$ [SEVERE] - My Oracle Support Username/Email Address Not Specified
A log of this session is currently saved as: /tmp/OraInstall2011-02-16_11-00-06PM/installActions2011-02-16_11-00-06PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.
不提供metalink帳號居然無法靜默安裝,Oracle現在的策略還真是有點意思。
隨便輸入一個使用者名稱,再次執行:
[oracle@Oracle111 database]$ ./runInstaller -silent -noconfig -responseFile /data1/database/response/myinstall.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 7326 MB Passed
Checking swap space: must be greater than 150 MB. Actual 8191 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-02-16_11-04-50PM. Please wait ...[oracle@Oracle111 database]$ [SEVERE] - This is an invalid email address. The email address must contain one "@" symbol and at least one dot("."). If you have a My Oracle Support account, specify the email address you use to log in to My Oracle Support, for example, johndoe@mycompany.com
A log of this session is currently saved as: /tmp/OraInstall2011-02-16_11-04-50PM/installActions2011-02-16_11-04-50PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.
Oracle還去檢查了語法是否正確,安裝語法輸入oracle@oracle.com,再次嘗試安裝:
[oracle@Oracle111 database]$ ./runInstaller -silent -noconfig -responseFile /data1/database/response/myinstall.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 7326 MB Passed
Checking swap space: must be greater than 150 MB. Actual 8191 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-02-16_11-09-29PM. Please wait ...[oracle@Oracle111 database]$
安裝的命令退出了,但是從後臺看,安裝程式還在,不知道停在了什麼地方。
看了11.2的responseFile方式很不靠譜,最終使用命令列的方式安裝完成:
[oracle@Oracle111 database]$ ./runInstaller -silent -debug -force \
> FROM_LOCATION=/data1/database/stage/products.xml \
> oracle.install.option=INSTALL_DB_SWONLY \
> UNIX_GROUP_NAME=oinstall \
> INVENTORY_LOCATION=/opt/oracle/oraInventory \
> ORACLE_HOME=/opt/oracle/product/11.2.0/db \
> ORACLE_HOME_NAME="Oracle111" \
> ORACLE_BASE=/opt/oracle \
> oracle.install.db.InstallEdition=EE \
> oracle.install.db.isCustomInstall=false \
> oracle.install.db.DBA_GROUP=dba \
> oracle.install.db.OPER_GROUP=dba \
> DECLINE_SECURITY_UPDATES=true
最後檢查了一下metalink,發現oracle還居然在專門的文件ID 883714.1描述了這個問題,錯誤原因是:
'My Oracle Support' Account user name and password were not specified in the response file.
而解決方法居然就是:
Specify the My Oracle Support Account User name and password in your response file
不過從Oracle對於metalink帳號要求越來越嚴格,也可以看出Oracle策略的趨勢。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-688497/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 靜默安裝oracle時報錯Oracle
- rac靜默安裝
- Oracle靜默安裝Oracle
- Linux下靜默安裝OraceLinux
- 【靜默】在RHEL 6.5上靜默安裝Oracle 18cOracle
- 靜默安裝and手動建庫
- oracle 19C 靜默安裝Oracle
- AnolisOS 7.9 靜默安裝Oacle 11.2.0.4
- centos 7.4靜默安裝oracle 19.3CentOSOracle
- Windows 7平臺靜默安裝11.2.0.4軟體及靜默建庫Windows
- 靜默方式安裝11gR2
- Oracle Linux 7.1 靜默安裝Weblogic 12.2.1.3OracleLinuxWeb
- 靜默安裝19C RAC的指令碼指令碼
- win10如何禁止靜默執行_win10禁止靜默安裝方法Win10
- RedHat上靜默安裝Oracle11gRedhatOracle
- CentOS 7.2靜默安裝Oracle11gCentOSOracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- CentOS 7.5靜默安裝Oracle 11gCentOSOracle
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- 【11g 單庫解除安裝、靜默安裝】實驗
- 應用黑名單以及靜默安裝的實現
- windows10系統禁止靜默安裝的方法Windows
- Oracle 19C的下載和安裝部署(圖形安裝和靜默安裝)Oracle
- 靜默安裝Oracle11g資料庫Oracle資料庫
- 靜默方式安裝oracle 11g 完整攻略Oracle
- oracle11g客戶端靜默安裝Oracle客戶端
- 靜默安裝Oracle資料庫11gOracle資料庫
- RedHat 7 靜默安裝Oracle11g的補充RedhatOracle
- linux7 靜默安裝 11GR2 RACLinux
- Oracle Linux 7.1 靜默安裝Oracle 18c RACOracleLinux
- Android 流氓軟體靜默安裝是怎麼實現的?Android
- cocoapods安裝錯誤
- Linux下利用指令碼靜默安裝Oracle11GLinux指令碼Oracle
- 19c(19.3) 單機資料庫靜默安裝資料庫
- 靜默方式安裝、升級oracle(二): 建立資料庫Oracle資料庫
- GoldenGate 12.3 MA架構介紹系列(5) - 靜默安裝Go架構
- oracle11g在linux7的靜默安裝指令碼OracleLinux指令碼
- 【配置安裝】靜默安裝Oracle資料庫軟體12c&19cOracle資料庫
- 安裝.NET Core遇到的錯誤