oracle Idle instance

Hi,

I installed oracle express edition. But when I connect as

sqlplus / as sysdba
its showing as connected to "Idle instance."

When I type startup its showing below error

SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file 'C:\oraclexe\app\oracle\product\11.2.0\serv
er\dbs/spfileXE.ora'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
SQL>

Can you please help how can I resolve this issue.
Thanks
GouthamAnandAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Swadhin RaySenior Technical Engineer Commented:
Check if under path "..../oracle/product/10.2.0/db_1/dbs/

Go to "C:\oraclexe\app\oracle\product\11.2.0/<<db home>>/dbs" path , check if  inittest.ora file is present or not.
If not then create the pfile from spfile and startup the database .

Sample to create the pfile:
SQL>  create pfile from spfile='C:\oraclexe\app\oracle\product\11.2.0/<<db home>>/dbs/<<spfile>>.ora';
0
slightwv (䄆 Netminder) Commented:
I wouldn't create a pfile just yet and if Oracle cannot find the spfile, then that command won't work.

Verify if the spfile exists.
If not, what happened?  They just don't delete themselves.

We could probably walk you though this and get it back up and running but it will likely take time.

Unless you have a lot of data in the database that you don't want to lose:  Since this is XE, you might be better off dropping and recreating the database.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GouthamAnandAuthor Commented:
Thank you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.