Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I am trying to do the startup command

this is what I have done

set oracle_sid=ORCL
sqlplus /nolog
SQL> conn /as sysdba

It shows this error message,

 failure in processing system parameters
 could not open parameter file "C:\Program\11.2.0\DBhome_1\Database\initorcl.ora"

I went to check and found out that "initoracl.ora" doesn't exist inside the path


I found a init.ora file in


I tried doing this command

 startup pfile="C:\Program\11.2.0\dbhome_1\dbs\init.ora"

It shows this error

 invalid value given for the diagnostic_dest init.ora parameter
 the specified ADR Base Directory does not existed [C:\program\11.2.0\dbhome_1\database\<oracle_base>]
 specific directory does not exist
 additional error information
 <OS 123> the filename, directory name, or volume syntax is incorrect.

What should I do?

share|improve this question

migrated from stackoverflow.com Jan 25 '14 at 17:26

This question came from our site for professional and enthusiast programmers.

How was the database created? Has it started before? Does the initorcl.ora exist somewhere else, or do you have a valid spfile? –  Alex Poole Jan 25 '14 at 12:42
I checked. there's no initorcl.ora or spfile. I am really sure how to create a database or whether a database is created as I am using this software the first time. where do I get this initorcl.ora file from? –  user3213758 Jan 25 '14 at 13:58
What is %ORACLE_HOME% set to? Is your database definitely called ORCL? Are you certain a database has even been created? –  tblPhil Jan 26 '14 at 5:40

1 Answer 1

There is 2 way to solve the problem.

One way is that, there might be another *.ora file (e.g spfileyourdbname.ora). If there is, just do the same thing as you did:

    SQL> startup pfile = 'C:\Program\11.2.0\dbhome_1\dbs\spfileyourdbname.ora'

Or Another way is, just copy the below codes, change the relevant directories and parameters, and save in the required directory (e.g $ORACLE_HOME/dbs/) as 'spfileyourdbname.ora'. Then just do the same thing:

    SQL> startup pfile = 'C:\Program\11.2.0\dbhome_1\dbs\spfileyourdbname.ora'

'mydb' is the name of your database [SID].

Codes to copy:

    mydb.__oracle_base='/home/yeyintkoko/app/oracle'#ORACLE_BASE set from environment
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=mydbXDB)'
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.