Oracle RAC資料庫打完補丁後啟動時報錯ORA-01565、ORA-17503、ORA-15001、ORA-15040

Davis_itpub發表於2024-01-04

問題描述

Oracle RAC資料庫打完DB、OJVM補丁後所有節點啟動時報ORA-01565、ORA-17503、ORA-15001、ORA-15040錯解決方法

sqlplus / as sysdba;

SQL*Plus: Release 11.2.0.4.0 Production on Thu Jan 4 14:17:42 2024

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to an idle instance.


SQL> startup

ORA-01565: error in identifying file '+DGSYSTEM/fgerpdb/spfilefgerpdb.ora'

ORA-17503: ksfdopn:2 Failed to open file +DGSYSTEM/fgerpdb/spfilefgerpdb.ora

ORA-15001: diskgroup "DGSYSTEM" does not exist or is not mounted

ORA-15040: diskgroup is incomplete

SQL> exit

Disconnected


解決方法

經過查詢 無法啟動資料庫是由於打補丁時HOME/bin/oracle的檔案屬組許可權被更改為oracle:oinstall。透過在root使用者下修改該 屬組檔案許可權為: oracle:asmadmin並賦予 6751許可權即可;


6751分別制定了ugoa的許可權

第一位6代表u(所有者)有讀、寫許可權,沒有執行許可權

第二位7代表g(組)有讀、寫、執行許可權

第三位5代表o(其它使用者)有讀、執行許可權

第四位1代表a(所有者、組、其它使用者)有執行許可權

四位6751如果用三位表示就是675,第四位繼承umask的值


在叢集的所有節點上執行如下命令修改:

chown oracle:asmadmin /oracle/app/oracle/product/11.2.0/db_1/bin/oracle

chmod 6751 /oracle/app/oracle/product/11.2.0/db_1/bin/oracle


$ ls -l /oracle/app/oracle/product/11.2.0/db_1/bin/oracle

-rw sr-s--x 1 oracle asmadmin 239773120 Jan  4 14:11 /oracle/app/oracle/product/11.2.0/db_1/bin/oracle


$ sqlplus / as sysdba;

SQL*Plus: Release 11.2.0.4.0 Production on Thu Jan 4 14:51:36 2024

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> 

SQL> startup

ORACLE instance started.


Total System Global Area 2004267008 bytes

Fixed Size                  2254624 bytes

Variable Size             637536480 bytes

Database Buffers         1358954496 bytes

Redo Buffers                5521408 bytes

Database mounted.

Database opened.

SQL> exit


來自 “ ITPUB部落格 ” ,連結:https://blog.itpub.net/31520497/viewspace-3002690/,如需轉載,請註明出處,否則將追究法律責任。

相關文章