Getting "cannot create directory `/opt/oracle/oradata" error while performing silent reistration of
The database is RAC and using ASM.
The command I'm running:
dbca -silent -configureDatabase
-sourceDB <instance_name>
-sysDBAUserName system
-sysDBAPassword <password>
-registerWithDirService true
-dirServiceUserName "cn=orcladmin"
-dirServicePassword <password>
-walletPassword <password>
-listeners listener
The error I get is cannot create directory `/opt/oracle/oradata/<instance_name>
Adding -storageType ASM -diskGroupName <DISK_GROUP_NAME> doesn't help either.
What am I doing wrong?
I would appreciate any help.