DBCA 建庫執行報錯ora-12547 ----深刻的教訓
在安裝oracle12C RAC時,無任何報錯,db的安裝同樣都是ok的,但是在使用dbca建立資料庫時報錯如下圖:
![](https://i.iter01.com/images/014f8a467c5eae5af90d0008e8ccf5b2a3e52949c2d38b35d673e238708d72df.png)
個人部分配置如下:
limits.conf:
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft nofile 65536
oracle hard nofile 65536
oracle soft stack 65536
* soft memlock 307230720
* hard memlock 307230720
grid soft nproc 16384
grid hard nproc 16384
grid soft nofile 65536
grid hard nofile 65536
grid soft stack 65536
sysctl.conf:
kernel.shmall = 4294967296
net.ipv4.tcp_rmem = 4096 87380 4194304
net.ipv4.tcp_wmem = 4096 16384 4194304
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 3288318
kernel.shmmax = 21474836480
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
net.ipv4.tcp_wmem = 262144 262144 262144
net.ipv4.tcp_rmem = 4194304 4194304 4194304
# Recommended value for kernel.panic_on_oops
kernel.panic_on_oops = 1
軟體包檢查:
[root@d5jtbipvdrd41 ~]# rpm -qa | grep libaio
libaio-devel-0.3.107-10.el6.x86_64
libaio-0.3.107-10.el6.x86_64
libaio-devel-0.3.107-10.el6.i686
libaio-0.3.107-10.el6.i686
經檢查配置無問題。
重啟RAC cluster後進行dbca建立資料庫,同樣無問題。懷疑軟體包可能存在部分問題,但安裝無任何報錯,比較奇怪,重新安裝db後還是同樣的問題。
檢查全部安裝目錄等許可權問題,這是時候發現ORACLE_BASE/和ORACLE_HOME/目錄的許可權竟然是grid:oinstall ,懷疑問題可能就出在這個位置,修改許可權後解除安裝已有db軟體,為防止問題再次出現,這次和謹慎的重新copy了一份db軟體,進行安裝,結束後再次使用DBCA建立資料庫例項,奇蹟就這樣無聲無息的出現了..........
![](https://i.iter01.com/images/014f8a467c5eae5af90d0008e8ccf5b2a3e52949c2d38b35d673e238708d72df.png)
個人部分配置如下:
limits.conf:
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft nofile 65536
oracle hard nofile 65536
oracle soft stack 65536
* soft memlock 307230720
* hard memlock 307230720
grid soft nproc 16384
grid hard nproc 16384
grid soft nofile 65536
grid hard nofile 65536
grid soft stack 65536
sysctl.conf:
kernel.shmall = 4294967296
net.ipv4.tcp_rmem = 4096 87380 4194304
net.ipv4.tcp_wmem = 4096 16384 4194304
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 3288318
kernel.shmmax = 21474836480
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
net.ipv4.tcp_wmem = 262144 262144 262144
net.ipv4.tcp_rmem = 4194304 4194304 4194304
# Recommended value for kernel.panic_on_oops
kernel.panic_on_oops = 1
軟體包檢查:
[root@d5jtbipvdrd41 ~]# rpm -qa | grep libaio
libaio-devel-0.3.107-10.el6.x86_64
libaio-0.3.107-10.el6.x86_64
libaio-devel-0.3.107-10.el6.i686
libaio-0.3.107-10.el6.i686
經檢查配置無問題。
重啟RAC cluster後進行dbca建立資料庫,同樣無問題。懷疑軟體包可能存在部分問題,但安裝無任何報錯,比較奇怪,重新安裝db後還是同樣的問題。
檢查全部安裝目錄等許可權問題,這是時候發現ORACLE_BASE/和ORACLE_HOME/目錄的許可權竟然是grid:oinstall ,懷疑問題可能就出在這個位置,修改許可權後解除安裝已有db軟體,為防止問題再次出現,這次和謹慎的重新copy了一份db軟體,進行安裝,結束後再次使用DBCA建立資料庫例項,奇蹟就這樣無聲無息的出現了..........
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28612416/viewspace-1682553/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE dbca執行到40%報錯之ORA-12154Oracle
- Oracle OCP(36):DBCA建庫Oracle
- sqlplus登入資料庫報錯ORA-12547: TNS:lost contactSQL資料庫
- 【DBCA】windows2016標準版 dbca建立資料庫報錯,DIM-00019 OS 1053Windows資料庫
- 在Suse 12.4上安裝11.2.0.4的rac執行root.sh報錯“ORA-12547: TNS:lost contact”
- 拋開dbca,手動建庫步驟
- 大規模執行 Apache Airflow 的經驗教訓 - shopifyApacheAI
- dbca建立資料庫時報錯ORA-13516: AWR Operation failed: CATPROC not valid資料庫AI
- oracle RAC dbca的時候報錯提示cluster nodes are not accessibleOracle
- selenium的那些事--執行報錯
- 執行用例報錯
- springboot整合Batis,執行報錯,資料庫連線密碼錯誤Spring BootBAT資料庫密碼
- [重慶思莊每日技術分享]-sqlplus登入資料庫時報錯:ORA-12547SQL資料庫
- 血的教訓--如何正確使用執行緒池submit和execute方法執行緒MIT
- DFMEA的12個錯誤教訓,請牢記!
- [譯] Data Binding 庫使用的經驗教訓
- yii執行phpunit時報錯PHP
- idea上執行scala報錯Idea
- 執行web專案報錯Web
- sh指令碼執行報錯指令碼
- 經驗分享:HelloFresh在生產中執行Istio的經驗教訓 - Craig HuberAI
- 一些執行maven命令的報錯Maven
- 陝西省委書記:深刻汲取秦嶺違建別墅問題沉痛教訓 以趙正永等為反面鏡鑑
- sqlplus執行sql檔案報錯SQL
- MacOS 裡執行 sed 命令報錯Mac
- mysql執行報錯mysql.sockMySql
- svelte 執行報錯 getaddrinfo ENOTFOUND localhostlocalhost
- 誰遇到過執行 monkey 的時候報 filenotfound 的報錯
- [vue]執行vue --version報錯:-4054 ENOSYSVue
- 在KYLIN中執行查詢報錯
- laradock 執行報錯 Service 'workspace' failed to build:AIUI
- Laravel 中執行 PHP artisan migrate 報錯LaravelPHP
- crontab異常:shell下可以執行命令,執行crontab卻報錯
- 【ORA】ORA-12547 TNS: Lost Contact錯誤診斷
- Python 執行報錯 PermissionError: [Errno 13] Permission denied: '***.***'PythonError
- httprunner 執行報錯,有人遇到過麼?何解HTTP
- [20220422]為什麼執行不報錯.txt
- 執行npm run dev 後報錯 Mix: not foundNPMdev
- AS執行main()方法報錯:SourceSet with name ‘main‘ not foundAI