Problem with ORACLE_SID [message #221811] |
Wed, 28 February 2007 09:32 |
roopla
Messages: 52 Registered: May 2006
|
Member |
|
|
I am not able startup a database in nomount state for particular ORACLE_SID. It seems it doesn't like the ORACLE_SID I set to.
It's throwing following error
ORA-07345: The datafile name must not contain the string '..'.
Steps I did like follows
1) export ORACLE_SID=ABC
2) I have init.ora, which has DB_NAME=ABC
3) startup nomount pfile='/export/home/oracle/init.ora'
It works great and puts db in nomount state
But, when I change ORACLE_SID=XYZ and edited init.ora with
DB_NAME=XYZ, then did
startup nomount pfile=''/export/home/oracle/init.ora', then it throws following error
ORA-07345: The datafile name must not contain the string '..'.
It really puzzels why it doesn't like ORACLE_SID ABC.
Any clue?
|
|
|
|
Re: Problem with ORACLE_SID [message #221816 is a reply to message #221811] |
Wed, 28 February 2007 09:45 |
roopla
Messages: 52 Registered: May 2006
|
Member |
|
|
Taj
I am sorry, I didn't understand your response. I was trying to create a database XYZ, but ran into the problems. But When I change database name to ABC, it works great. What's wrong with a particular ORACLE_SID.
Thanks
|
|
|
|
Re: Problem with ORACLE_SID [message #221818 is a reply to message #221811] |
Wed, 28 February 2007 09:49 |
jesuisantony
Messages: 166 Registered: July 2006 Location: Chennai
|
Senior Member |
|
|
Hi Taj,
I am fine with your respose. I have a doubt here. Why does Oracle throw an error with respect to the datafile rather than the database name itself.
Please clarify.
|
|
|
|
Re: Problem with ORACLE_SID [message #221845 is a reply to message #221811] |
Wed, 28 February 2007 12:21 |
roopla
Messages: 52 Registered: May 2006
|
Member |
|
|
Mahesh
All I was trying to create a database manually then ran into these issues with ORACLE_SID
There is no database exist on my server. All I did is follows.
$export ORALCE_SID=XYZ
I have a init.ora file contains just follows
db_name='XYZ'
$sqlplus / as sysdba
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Feb 28 13:08:01 2007
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup nomount pfile='/export/home/oracle/init.ora'
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 2027472 bytes
Variable Size 113250352 bytes
Database Buffers 50331648 bytes
Redo Buffers 6356992 bytes
SQL> shutdown immediate
ORA-01507: database not mounted
ORACLE instance shut down.
That's it.
---------------------------------------------------------
Now I am back to my UNIX prompt to change my ORACLE_SID
$export ORACLE_SID=ABC
I edited my init.ora file as follows ( it just only one statement)
db_name='ABC'
$sqlplus / as sysdba
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Feb 28 13:13:08 2007
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup nomount pfile='/export/home/oracle/init.ora'
ORA-07345: The datafile name must not contain the string '..'.
I just don't understand why it doesn't like 'ABC' as ORACLE_SID.
I hope it helps
|
|
|
|
Re: Problem with ORACLE_SID [message #221873 is a reply to message #221852] |
Wed, 28 February 2007 13:58 |
roopla
Messages: 52 Registered: May 2006
|
Member |
|
|
Mahesh
You are right. Even I can't reproduce this probelm on other servers.
I have this problem only on a particular server. It works fine on all other servers just like in your case. What could be the problem with my server box. Is it hardware or something else?
|
|
|
|