問題描述:
oracle靜默安裝很強大。。。,參數搞不對。安裝就扯dan了....這個報錯搞了一個下午。終於搞定了如釋負重。。。。
如果當初選擇僅僅安裝oracle軟件就沒多事情。想一步完成(數據庫軟件+實例安裝+實例監聽),走了寫彎路....
報錯日志
[FATAL] [INS-32013] The File Location location is empty. #致命的錯誤【FATAL】直接導致安裝終端。。。。扯淡了 CAUSE: The File Location location was empty. #說的很明白,文件位置為空。一直沒有排查出來。。。 ACTION: Specify a path for File Location location. A log of this session is currently saved as: /tmp/OraInstall2018-01-07_01-06-20AM/installActions2018-01-07_01-06-20AM.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.install.db.config.starterdb.storageType=FILE_SYSTEM_STORAGE #不指定的好像報錯,指定后需要指定dataLocation的路徑
oracle_install_db_InstallOption INSTALL_DB_AND_CONFIG #安裝oracel軟件及監聽數據庫實例 #INSTALL_DB_SWONLY #僅僅安裝數據軟件 oracle.install.db.config.starterdb.storageType=FILE_SYSTEM_STORAGE #使用本地存儲系統,必須指定dataLocation,報錯就是這個沒有給予參數 oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=/data/oracle/oradata oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=/data/oracle/fast_recovery_area
下面的鏈接文件,給我指明了道路。黑暗中看到了光亮。。。
oracel11g靜默安裝參考:http://makaidong.com/slowtech/1/19655_12058094.html