12.2 DBCA fails with ORA-17502:ksfdcre:4 Failed to create file (Doc ID 2291438.1)
To Bottom |
In this Document
APPLIES TO:Oracle Database - Enterprise Edition - Version 12.2.0.1 and laterOracle Database Cloud Schema Service - Version N/A and later Oracle Database Exadata Express Cloud Service - Version N/A and later Oracle Database Exadata Cloud Machine - Version N/A and later Oracle Database Cloud Exadata Service - Version N/A and later Information in this document applies to any platform. SYMPTOMS12.2 DBCA fails with following error while creating the database. CREATE DATABASE "<database>"* ERROR at line 1: ORA-01501: CREATE DATABASE failed ORA-00200: control file could not be created ORA-00202: control file: '+DATA' ORA-17502: ksfdcre:4 Failed to create file +DATA ORA-15001: diskgroup "DATA" does not exist or is not mounted ORA-15040: diskgroup is incomplete DBCA trace: [Thread-258] [ 2017-07-17 17:03:16.133 BRT ] [DBEntryStep.executeImpl:494] CREATEDB without passwords = CREATE DATABASE "<database>" oracle.sysman.assistants.dbca.backend.DBEntryStep.executeImpl(DBEntryStep.java:652) We can see the disk group is mounted already in ASM. SQL> select name,state from v$asm_diskgroup; NAME STATE ASMCMD> lsdg SQL> select name,path,os_mb,total_mb,free_mb,mode_status,header_status from v$asm_disk; NAME DATA_0000 NAME ARCHIVE_0001 Strace output/tmp/kfod.strace kfod : strace -f -o /tmp/kfod.strace kfod disks=all asm_diskstring='/dev/oracleasm/*' 30122 read(7, "\f\0d\0\0\0P\0e\0\0\0c\0f\0\0\0\200\0g\0\0\0\253\0h\0\0\0\336\0"..., 512) = 512 The OS disk does not have exact permission. It has to begrid:dba instead of grid:root. The softlink is created for the disks [root@bdgrd ~]# ls -trlh /dev/oracleasm/ oracle@<host> database]$ ls -l /dev/sd* [oracle@<host> <database>]$ ls -trlh $ORACLE_HOME/bin/oracle [oracle@<host> ~]$ ls -ltr /u01/app/oracle/product/12.2.0/grid/bin/oracle CAUSEDue to OS disk permission issue. SOLUTIONThe "oracle" executable file in the RDBMS home should be the same group that owns the ASM disks i,e.dba or vice versa. chown <grid home owner>:<group> <OS disk> example :chown grid:dba /dev/sdd If udev rule (/etc/udev/rules.d/99-asm.rules) configured for disks,then ensure that owner:group file properly defined in udev rule. |