本篇內(nèi)容主要講解“怎么解決oracle 12c靜默安裝的使用問題”,感興趣的朋友不妨來看看。本文介紹的方法操作簡單快捷,實(shí)用性強(qiáng)。下面就讓小編來帶大家學(xué)習(xí)“怎么解決oracle 12c靜默安裝的使用問題”吧!
屯溪網(wǎng)站建設(shè)公司成都創(chuàng)新互聯(lián)公司,屯溪網(wǎng)站設(shè)計(jì)制作,有大型網(wǎng)站制作公司豐富經(jīng)驗(yàn)。已為屯溪上千提供企業(yè)網(wǎng)站建設(shè)服務(wù)。企業(yè)網(wǎng)站搭建\外貿(mào)網(wǎng)站建設(shè)要多少錢,請(qǐng)找那個(gè)售后服務(wù)好的屯溪做網(wǎng)站的公司定做!
一:一定先創(chuàng)建監(jiān)聽,然后建庫,否則報(bào)錯(cuò):
[oracle@tvy-MySQL-cdsp-01 database]$ dbca -silent -createDatabase -responseFile /media/database/response/dbca.rsp
[WARNING] [DBT-06801] Specified Fast Recovery Area size (2,780 MB) is less than the recommended value.
CAUSE: Fast Recovery Area size should at least be three times the database size (2,730 MB).
ACTION: Specify Fast Recovery Area Size to be at least three times the database size.
[FATAL] [DBT-07505] Selected listener (LISTENER) does not exist.
ACTION: Specify an existing listener.
二:當(dāng)內(nèi)存大于4G的時(shí)候,需要automaticMemoryManagement=FALSE
[oracle@tvy-mysql-cdsp-01 database]$ dbca -silent -createDatabase -responseFile /media/database/response/dbca.rsp
[WARNING] [DBT-06801] Specified Fast Recovery Area size (2,780 MB) is less than the recommended value.
CAUSE: Fast Recovery Area size should at least be three times the database size (2,730 MB).
ACTION: Specify Fast Recovery Area Size to be at least three times the database size.
[FATAL] [DBT-11211] The Automatic Memory Management option is not allowed when the total physical memory is greater than 4GB.
CAUSE: The current total physical memory is 125GB.
三:只能在特定的pdb數(shù)據(jù)庫創(chuàng)建用戶,不能在cdb創(chuàng)建用戶,除非你創(chuàng)建 公用用戶(開頭必須是字母+##)
create user c##liuwenhe identified by test;
否則會(huì)報(bào)錯(cuò)!
SQL> create user liuwenhe identified by "liuwenhe#123";
create user liuwenhe identified by "liuwenhe#123"
*
ERROR at line 1:
ORA-65096: invalid common user or role name
SQL> alter session set container=BHDB_PDB ;
Session altered.
SQL> create user liuwenhe identified by "liuwenhe#123";
User created.
四:oracle 19c 無法動(dòng)態(tài)注冊(cè)監(jiān)聽(原因未知)解決辦法:使用靜態(tài)注冊(cè)曲線救國,
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = bhdb_pdb)
(ORACLE_HOME = /data/u01/app/oracle/product/12.2.0.1/db_1)
(SID_NAME = bhdb)
)
(SID_DESC =
(GLOBAL_DBNAME = bhdb_pdb2)
(ORACLE_HOME = /data/u01/app/oracle/product/12.2.0.1/db_1)
(SID_NAME = bhdb)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = slave15.happycfc.net)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
五:低版本客戶端連接高版本的oracle 12c 由于版本不兼容導(dǎo)致連接不上
Oracle11g 客戶端,鏈接Oracle12C 2.*數(shù)據(jù)庫服務(wù), 出現(xiàn)的版本不兼容問題
使用PLSQ報(bào)錯(cuò)
Oracle12c連接問題ORA-28040
解決辦法:
在配置文件中添加如下語句
vi $ORACLE_HOME/network/admin/sqlnet.ora
SQLNET.ALLOWED_LOGON_VERSION_SERVER=8SQLNET.ALLOWED_LOGON_VERSION_CLIENT=8
解釋:
SQLNET.ALLOWED_LOGON_VERSION_SERVER:控制可以連接到12c數(shù)據(jù)庫的客戶端版本(client —>orace 12c db )
SQLNET.ALLOWED_LOGON_VERSION_CLIENT:控制12c數(shù)據(jù)庫可以連到哪些版本的數(shù)據(jù)庫(orace 12c db —>其它版本的oracle db),例如:控制通過DB LINK可連接到哪些版本的oracle庫。
該參數(shù)用來限制可以連接到數(shù)據(jù)庫服務(wù)器上的最小客戶端版本,比如設(shè)置值為10,即10g,11g等以上客戶端版本可以連接到數(shù)據(jù)庫服務(wù)器上。在沒有指定的時(shí)候是用默認(rèn)值的,導(dǎo)致低版本連接不上高版本的數(shù)據(jù)庫。說白了解決兼容性問題就是讓高版本的額數(shù)據(jù)庫服務(wù)也能讓低版本的額數(shù)據(jù)庫來連接。
六:安裝oracle 18c開始,Oracle希望你把安裝包解壓到$ORACLE_HOME目錄下,否則靜默安裝的時(shí)候會(huì)拋出下面的錯(cuò)誤
./runInstaller -silent -responseFile /data/oracle18c/oracle_software/install/response/db_install2.rsp -ignorePrereqFailure
Launching Oracle Database Setup Wizard...
[FATAL] [INS-35954] The installer has detected that the Oracle home location provided in the response file is not correct.
CAUSE: The Database Oracle home is the location from where the installer is executed. It has been detected that the value set in the response file is different (/data/oracle18c/product). Value expected is: /data/oracle18c/oracle_software
ACTION: It is not required to specify ORACLE_HOME in the response file for Database installation. Alternatively, set it to the location of the installer (/data/oracle18c/oracle_software).
解決辦法:解壓的時(shí)候直接解壓到oracle_home:
unzip LINUX.X64_193000_db_home.zip -d $ORACLE_HOME
七:oracle 18c 開始應(yīng)答文件路徑發(fā)生變化,具體如下:
軟件$ORACLE_HOME/install/response/db_install.rsp
監(jiān)聽$ORACLE_HOME/assistants/netca/netca.rsp
建庫$ORACLE_HOME/assistants/dbca/dbca.rsp
到此,相信大家對(duì)“怎么解決oracle 12c靜默安裝的使用問題”有了更深的了解,不妨來實(shí)際操作一番吧!這里是創(chuàng)新互聯(lián)網(wǎng)站,更多相關(guān)內(nèi)容可以進(jìn)入相關(guān)頻道進(jìn)行查詢,關(guān)注我們,繼續(xù)學(xué)習(xí)!
網(wǎng)站名稱:怎么解決oracle12c靜默安裝的使用問題
當(dāng)前路徑:http://m.newbst.com/article10/jheigo.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供全網(wǎng)營銷推廣、定制網(wǎng)站、域名注冊(cè)、微信小程序、外貿(mào)網(wǎng)站建設(shè)、響應(yīng)式網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)