Database
 sql >> Teknologi Basis Data >  >> RDS >> Database

Basis data RAC startup gagal dengan kesalahan ORA-12547

Saat memulai database haddo menggunakan srvctl saya menerima kesalahan berikut:


$ srvctl start instance -i haddo1 -d haddo
PRCR-1013 : Failed to start resource ora.haddo.db
PRCR-1064 : Failed to start resource ora.haddo.db on node dbrac1
CRS-5017: The resource action "ora.haddo.db start" encountered the following error:
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DG_DATA1/haddo/spfilehaddo.ora'
ORA-17503: ksfdopn:10 Failed to open file +DG_DATA1/haddo/spfilehaddo.ora
ORA-12547: TNS:lost contact
. For details refer to "(:CLSN00107:)" in "/u01/app/grid/diag/crs/dbrac1/crs/trace/crsd_oraagent_oracle.trc".

CRS-2674: Start of 'ora.haddo.db' on 'dbrac1' failed

DB hanya aktif di node2 (dbrac2).


$ crsctl stat res ora.haddo.db -t
---------------------------------------------------------------------
Name Target State Server State details
---------------------------------------------------------------------
Cluster Resources
---------------------------------------------------------------------
ora.haddo.db
1 ONLINE OFFLINE Instance Shutdown,STABLE
2 ONLINE ONLINE dbrac2 Open,STABLE
---------------------------------------------------------------------

Masalah ini disebabkan oleh izin yang salah dari $GRID_HOME/bin/Oracle yang menyebabkan kegagalan koneksi ke instance ASM:


$ ls -l $GRID_HOME/bin/oracle
-rwxr-x--x. 1 grid oinstall 291544753 Mar 2 2017 /u01/app/12.1.0.2/grid/bin/oracle

Biner Oracle harus memiliki izin 6751:


$ cd $GRID_HOME/bin
$ chmod 6751 oracle
$ ls -l $GRID_HOME/bin/oracle
-rwsr-s--x. 1 grid oinstall 291544753 Mar 2 2017 /u01/app/12.1.0.2/grid/bin/oracle

Setelah mengoreksi izin pada Oracle yang dapat dieksekusi, masalah saya teratasi:


$ srvctl start instance -i haddo1 -d haddo
$ crsctl stat res ora.haddo.db -t
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.haddo.db
1 ONLINE ONLINE dbrac1 Open,STABLE
2 ONLINE ONLINE dbrac2 Open,STABLE
--------------------------------------------------------------------------------


  1. Database
  2.   
  3. Mysql
  4.   
  5. Oracle
  6.   
  7. Sqlserver
  8.   
  9. PostgreSQL
  10.   
  11. Access
  12.   
  13. SQLite
  14.   
  15. MariaDB
  1. Menghitung referensi ke catatan dalam tabel melalui Tombol Asing

  2. Cara Menginstal Libreoffice di Ubuntu 16.04

  3. Tujuan Baris, Bagian 2:Semi Bergabung

  4. SQL Kecuali

  5. Migrasi Data Menggunakan Network_link