ORA-09925 Can't use the same DB name after mistyping it in init.ora
I was trying to create a database by hot cloning a model database. When I copied the initmodel11u.ora and modified it to my new db name initermprd.ora, I did a global change of model11u to ermprd. Unfortunately I misspelled ermprd and I changed it to ermord instead. Whem I entered on /etc/oratab the dbname ermprd, and started a SQL seseion:
SQL> connect / as sysdba
connected.
SQL> @cr_controlfile.sql
It gave me this error:
ORA-09925: Unable to create audit trail file
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9925
I tried to clean up everything, and removed initermprd and orapwermprd from $ORACLE_HOME/dbs.