Problem : create an spfile from a pfile fails when using ASM

Problem : create an spfile from a pfile fails when using ASM

I corrupted my spfile when I modified a param through oracle enterprise manager ( I assumed it was ok to do this). I got the database to start up as follows.
[oracle@linux3 ~]$ sqlplus “/as sysdba”

SQL*Plus: Release 10.2.0.1.0 – Production on Tue Dec 18 15:42:39 2007

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.
SQL> startup pfile=/u01/app/oracle/admin/linux3_db/pfile/init.ora.326200712819
ORACLE instance started.

Total System Global Area  167772160 bytes
Fixed Size                  1218292 bytes
Variable Size              62916876 bytes
Database Buffers           96468992 bytes
Redo Buffers                7168000 bytes
Database mounted.
Database opened.
SQL>
(SID=ORCL3)

I am using ASM so and I think the init.ora file that is normally used on startup is as follows.
/u01/app/oracle/product/10.2.0/db_1/dbs/initorcl3.ora
This file has the following line
SPFILE=’+FLASH_RECOVERY_AREA/linux3_db/spfileorcl3.ora’

I try to create a new spfile as follows
SQL>create spfile=’+FLASH_RECOVERY_AREA/linux3_db/spfileorcl3.ora’ from pfile=/u01/app/oracle/admin/linux3_db/pfile/init.ora.326200712819
I get the following error
ERROR at line 1:
ORA-02236: invalid file name

I am assuming I get this errot because FLASH_RECOVERY_AREA can not be translated into the ASM path where the spfile is located.

Is there a fix for this?
Secondly, I do not have a backup of my database, I ran into this spfile problem just as I was about to backup my database.

What is the best way to proceed? thanks in advance.


 

Solution: create an spfile from a pfile fails when using ASM

>>SQL>create spfile=’+FLASH_RECOVERY_AREA/linux3_db/spfileorcl3.ora’ from pfile=/u01/app/oracle/admin/linux3_db/pfile/init.ora.326200712819

Have you tried putting the pfile name in quotes? i.e.,
pfile=’/u01/app/oracle/admin/linux3_db/pfile/init.ora.326200712819′