|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "ORACLE 12c and 19c Coexistence System, DBCA Reports Error" |
| 4 | +excerpt: "The current system is a coexistence system of 12c and 19c. The cluster is 19C, DBs are 19c+12c. The software is under different users: 19c (ORACLE user), 12c (oracle2 user).Now, when running DBCA to create a database in the 12c environment, the following error is reported:DBT-00007 Users does not have the appropiate write privileges ." |
| 5 | +date: 2025-08-29 15:00:00 +0800 |
| 6 | +categories: [Oracle, Database, RAC] |
| 7 | +tags: [PRVF-7595, PRVG-2043, DBT-00007, rac, oracle] |
| 8 | +image: /assets/images/posts/ORACLE-12c-and-19c-Coexistence-System-DBCA-Reports-Error.jpg |
| 9 | +--- |
| 10 | + |
| 11 | +## Symptoms |
| 12 | +The current system is a coexistence system of 12c and 19c. The cluster is 19C, DBs are 19c+12c. The software is under different users: 19c (ORACLE user), 12c (oracle2 user). |
| 13 | +Now, when running DBCA to create a database in the 12c environment, the following error is reported: |
| 14 | +``` |
| 15 | +DBT-00007 Users does not have the appropiate write privileges . |
| 16 | +``` |
| 17 | +Afterwards, the CRS Check reported the following error: |
| 18 | +``` |
| 19 | +PRVF-7595 : CRS status check cannot be performed on node "xxxx" |
| 20 | +PRVG-2043 : Command "/u01/app/19.7.0.0/grid/bin/crs_stat -t " failed on node "xxxx" |
| 21 | +``` |
| 22 | + |
| 23 | +## Cause |
| 24 | +``` |
| 25 | +Check the permissions of files like `$ORACLE_BASE/cfgtoollogs/dbca` |
| 26 | +node-a:~ # id -a oracle2 |
| 27 | +uid=54323(oracle2) gid=54421(oinstall) groups=54322(dba),54327(asmdba),54421(oinstall) |
| 28 | +node-a:~ # su - oracle2 |
| 29 | +oracle2@node-a:/home/oracle2$ echo $ORACLE_BASE |
| 30 | +/u01/app/oracle |
| 31 | +oracle2@node-a:/home/oracle2$ ls -la $ORACLE_BASE/cfgtoollogs |
| 32 | +total 0 |
| 33 | +drwxr-x--- 4 oracle oinstall 34 May 22 14:46 . |
| 34 | +drwxrwxr-x 10 oracle oinstall 126 May 22 15:09 .. |
| 35 | +drwxr-x--- 3 oracle oinstall 98 Jun 14 14:29 dbca |
| 36 | +drwxr-x--- 9 oracle oinstall 249 May 22 15:21 sqlpatch |
| 37 | +node-a:~ # id -a grid |
| 38 | +uid=54322(grid) gid=54421(oinstall) groups=54327(asmdba),54328(asmoper),54329(asmadmin),54330(racdba),54421(oinstall) |
| 39 | +node-a:~ # id -a oracle |
| 40 | +uid=54321(oracle) gid=54421(oinstall) groups=54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54327(asmdba),54328(asmoper),54330(racdba),54421(oinstall) |
| 41 | +node-a:~ # su - grid |
| 42 | +grid@node-a:/home/grid$ echo $ORACLE_BASE |
| 43 | +/u01/app/grid |
| 44 | +grid@node-a:/home/grid$ ls -la $ORACLE_BASE/cfgtoollogs |
| 45 | +ls: cannot access '$ORACLE_BASE/cfgtoollogs': No such file or directory |
| 46 | +grid@node-a:/home/grid$ ls -la $ORACLE_BASE/cfgtoollogs |
| 47 | +total 0 |
| 48 | +drwxrwxr-x 9 grid oinstall 102 May 10 15:08 . |
| 49 | +drwxrwxr-x 8 grid oinstall 97 May 11 10:13 .. |
| 50 | +drwxr-x--- 2 grid oinstall 298 May 11 16:03 asmca |
| 51 | +drwxr-x--- 4 grid oinstall 36 May 10 15:21 dbca |
| 52 | +drwxrwxr-x 2 grid oinstall 156 May 10 15:23 mgmtca |
| 53 | +drwxrwxr-x 2 grid oinstall 6 May 10 14:52 mgmtua |
| 54 | +drwxr-x--- 2 grid oinstall 142 May 10 15:04 netca |
| 55 | +drwxrwxr-x 2 grid oinstall 6 May 10 14:52 restca |
| 56 | +drwxr-x--- 6 grid oinstall 174 May 10 15:22 sqlpatch |
| 57 | +grid@node-a:/home/grid$ exit |
| 58 | +logout |
| 59 | +node-a:~ # su - oracle |
| 60 | +oracle@node-a:/home/oracle$ echo $ORACLE_BASE |
| 61 | +/u01/app/oracle |
| 62 | +oracle@node-a:/home/oracle$ ls -la $ORACLE_BASE/cfgtoollogs |
| 63 | +total 0 |
| 64 | +drwxr-x--- 4 oracle oinstall 34 May 22 14:46 . |
| 65 | +drwxrwxr-x 10 oracle oinstall 126 May 22 15:09 .. |
| 66 | +drwxr-x--- 3 oracle oinstall 98 Jun 14 14:29 dbca |
| 67 | +drwxr-x--- 9 oracle oinstall 249 May 22 15:21 sqlpatch |
| 68 | +``` |
| 69 | + |
| 70 | +The CRS Check reported the following error: |
| 71 | +``` |
| 72 | +PRVF-7595 : CRS status check cannot be performed on node "node-b" - Cause: Could not verify the status of CRS on the node indicated using ''crsctl check''. - Action: Ensure the ability to communicate with the specified node. Make sure that Clusterware daemons are running using ''ps'' command. Make sure that the Clusterware stack is up. |
| 73 | +PRVG-2043 : Command "/u01/app/19.7.0.0/grid/bin/crs_stat -t " failed on node "node-b" and produced the following output: /u01/app/19.7.0.0/grid/bin/crs_stat.bin: error while loading shared libraries: libocr12.so: cannot open shared object file: No such file or directory - Cause: An executed command failed. - Action: Respond based on the failing command and the reported results. |
| 74 | +``` |
| 75 | +The error during CRS CHECK indicates there is an incompatible command between the 12c DB and the 19c Grid. |
| 76 | + |
| 77 | +## Solution |
| 78 | +1. Check and ensure the CRS are truly running on all nodes . |
| 79 | +2. Ignore this error if CRS is running fine on all nodes. |
| 80 | +3. Continue to run installer. |
| 81 | +Or you can use workaround: |
| 82 | +$ export ORA_DISABLED_CVU_CHECKS=TASKCRSINTEGRITY,TASKNTP,STASKRESOLVCONFINTEGRITY |
| 83 | +$ echo ORA_DISABLED_CVU_CHECKS |
| 84 | + |
| 85 | +Reset the user and permissions for `/u01`. |
| 86 | +Example: |
| 87 | +``` |
| 88 | +chown -R oracle2:oinstall /u01 |
| 89 | +chmod -R 775 /u01 |
| 90 | +``` |
| 91 | + |
| 92 | +## REFERENCE INFORMATION |
| 93 | +DBCA Database Creation Fails With Error PRCR-1154 Due to Wrong Ownership/Permission (Doc ID 2165706.1) |
0 commit comments