Explictly change init.ora and ORA-27100 error

I am trying to restore OLD DB from the backup file ( new DB) . I am trying to explictly replace curretn init file with the new init file.
I copy all of data file, CTL, init file to the server and shut down the instance...
Before doing the start nomount .. I was trying to explictly replace the inint file using the following command : startup pfile = 'd:\ora92\database\initra.ora'.. But, I am keep gettinga n error ORA-27100:shared memory realm already exists..
I have to use same SID RA...
Message was edited by:
jung1975

Before doing this please shutdown your normal database.
Then startup nomount with specified init.ora file.
If this will not help you can try to restart windows service.
Best Regards
Krystian Zieja / mob

Similar Messages

  • Changing init.ora file

    Hi,
    I need to add the utl_file_dir parameter to the init.ora file. Do I need to restart the database for the changes to be effective?
    My oracle version is
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production

    Akhil  N K wrote:
    Does the below two statements means the same?No.
    1) creating an oracle directory using create or replace directory command This is referring to create a directory object in the database using the create directory command which should be mapping to a valid o/s level directory path.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_58a.htm#SQLRF01207
    2) adding utl_file_dir parameterThis is referring to the edition of the init file and adding the parameter there .
    HTH
    Aman....

  • Customizing change requests (class and form) yields error when closing/cancelling

    I'm having the exact issue that was posted here:  http://social.technet.microsoft.com/Forums/systemcenter/en-US/880a19f9-d5a7-4044-bdb4-fbd43c3c8d5b/closing-cr-using-extended-form-error?forum=customization
    However, it appears there was never a resolution.  I've created a custom class (named TestChangeRequest) inheriting from System.WorkItem.ChangeRequest as the base -- but whenever I try to run the Close or Cancel task I'm getting the error described
    in the above link.  Does anyone know the proper way to resolve this?

    Hi,
    You created a new class and have to build new console tasks for all problematic actions like Close and Cancel in your case.
    Start with
    this.
    Cheers,
    Marat
    Site: www.scutils.com  Twitter:
      LinkedIn:
      Facebook:

  • Parameters in init.ora not changing in DB

    Oracle 9.0.0 Redhat 7.2
    Trying to set up utl_file_dir in the init.ora file and, although
    the entry in the init.ora looks correct (utl_file_dir=/tmp/xxx),
    the value for utl_file_dir in sqlplus (show parameters utl)
    never sees the value (ie always shows nothing). Same with other
    params in the init.ora. If I rename the init.ora file, the DB
    doesn't start, so I'm changing the correct file.
    Maybe Oracle is finding something it doesn't like in the
    init.ora file and aborting reading the file??
    Is there a way to see what oracle's doing with the init.ora file
    as it loads?
    Thx Martin ([email protected])

    There is a new feature with 9i that you can change init.ora
    parameters without bouncing the instance, these parameters are
    store in a file (spfile).
    See the documentation about this feature.
    Thomas

  • How to find current init.ora file

    I have 2 issues:
    Issue 1:--
    I have some 4-5 init.ora file which are created by some other user and facing difficulties to find exact init.ora which is used by my oracle 9.2 database. same thing for spfile.
    Is there any way so that i can find the currently use init.ora file?
    Issue 2:
    I want to change init.ora file parameters for the oracle9.2(siebel).
    Presently default it is showing optimizer_mode=CHOOSE
    I have tried to change to RULE but not refelecting after database restart.
    at session level i can modify but i want permanent change and for thius i tried with
    user SYS as SYSDBA with
    ALTER SYSTEM SET optimizer_mode=RULE;
    but getting following Oracle erroe message
    ORA-02096 specified initialization parameter is not modifiable with this option
    Cause: Though the initialization parameter is modifiable, it cannot be modified using the specified command.
    Action: Check the Oracle9i Database Administrator's Guide for information about under what scope the parameter may be modified
    How we can make changes in init.ora file?
    Regards
    Junu

    As far as I know, there's no possible way to find out which parameter file was used to start instance. And, even if it was, I don't really see much sense in it because parameter file is a client-side file, and usually it required to start up Oracle instance remotely.
    In principle, parameter files are obsolete beasts, consider using server parameter file (SPFILE) instead. And, for SPFILE, it's pretty easy to find out its location:
    SQL> show parameter pfile
    NAME                                 TYPE        VALUE
    spfile                               string      %ORACLE_HOME%\DATABASE\SPFILE%
                                                     ORACLE_SID%.ORAAs for your ORA-02096 error, you have two opportunities to resolve it.
    If you decided to use SPFILE, create one (for example, using CREATE SPFILE FROM PFILE command), start your instance with SPFILE then issue:
    ALTER SYSTEM SET optimizer_mode=RULE  SCOPE = SPFILE;and bounce your instance.
    If you still wish to use old-style parameter file, you have to add corresponding setting into that file manually (it's a plain text file in fact) and restart instance.
    Regards.
    P.S.: Why do you want to enforce rule-based optimizer by the way?...

  • Init.ora parameter

    Hello,
    I need to change the init.ora file to point to spfile, such as spfile='D:\oracle\product\11.2.0\db_1\database\spfile.ora'
    currently the init.ora has all the variables that spfile has, but we would like to point to spfile from init.ora file.
    for this do I have to restart the database to add the above command to init.ora file?
    what are the other impacts, if I change init.ora to point ot spfile while the DB is online?
    Thanks....

    792290 wrote:
    Hello,
    I need to change the init.ora file to point to spfile, such as spfile='D:\oracle\product\11.2.0\db_1\database\spfile.ora'
    currently the init.ora has all the variables that spfile has, but we would like to point to spfile from init.ora file.
    for this do I have to restart the database to add the above command to init.ora file?
    what are the other impacts, if I change init.ora to point ot spfile while the DB is online?
    Thanks....
    Assuming your pfile is using the default name in the default location ...
    sql> conn / as sysdba
    sql> shutdown immediate
    sql> create spfile from pfile;
    sql> startup;
    sql> show parameter spfile
    done.
    At this point you should be running entirely off the spfile.  The pfile is irrelevant, though as Joel mentioned, it's not a bad thing to recreate it from the spfile occasionally and back it up.
    -- edit several hours later ...
    I should have mentioned that that init file does NOT have an 'ifile' reference to the spfile. 

  • Chanting init.ora location

    Hello
    We have some databases here and by convention all have their init.ora in /ora92/evandba92/dbs and for each DB we have a directory under /ora92/evandba92/dbs as in /ora92/evandba92/dbs/db1, /ora92/evandba92/dbs/db2 etc
    One of the DBs has its init.ora in /ora92/evandba92/dbs/db11. How can I change it to have its init.ora (init_db11.ora) in /ora92/evandba92/dbs with the others?
    Thanks

    Hi tadimeti,
    Are yours databases start with init.ora (pfile) or spfile ?
    If they start with spfile, no problem to change init.ora location.
    Nicolas.

  • How to change DB name and SID in RAC environment?

    I have 2 node RAC on Red Hat Linux, EL 4, upd. 4. It's using ASM
    and it is working great. However, after 2 years of faithful service
    I was asked to change DB name and SID. In non-RAC environment, that is
    easy. Rename a few files, change init.ora and re-create control file.
    I've done that many times. With 10g RAC, however, situation is different. There is also RAC registry which has the database under the certain name and, I believe, it also has SID registered. Can you, please, point me to a document describing how to do that? It's a production DB and I can't test it anywhere.

    It's in the manual:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17023/dbresource.htm#i1029540
    Larry

  • CHANGING THE DIRECTORY OF INIT.ORA FILE

    Hi,
    I have a database in 8i. Can I change the diredtory of init.ora file ? If yes how ?
    it is in d:\oracle\ora8
    and I want tu put it in d:\anothrfolder
    Many thanks before.

    That's what I did , but :
    SQL> SHUTDOWN IMMEDIATE
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.1 - Production
    C:\Documents and Settings\user>oradim -delete -sid DB1
    C:\Documents and Settings\user>oradim -EDIT -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    C:\Documents and Settings\user>oradim -EDIT -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora -startmode auto
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) Le fichier spÚcifiÚ est introuvable.
    C:\Documents and Settings\user>oradim -NEW -SID DB1 -PFILE C:\oracle\admin\db1\exp\initdb1.ora -startmode auto
    C:\Documents and Settings\user>sqlplus "/ as sysdba"
    SQL*Plus: Release 8.1.7.0.0 - Production on Me Mai 16 12:22:25 2007
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.1 - Production
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    LRM-00109: could not open parameter file 'C:\oracle\admin\db1\pfile\initdb1.ora'
    LRM-00113: error when processing file 'C:\oracle\admin\db1\pfile\initdb1.ora'
    ORA-01078: failure in processing system parameters

  • Getting ORA-01429 error while changing character set

    When I am changing character set from WE8DEC to AL32UTF8, I am getting ORA-01429 error
    SQL> ALTER DATABASE CHARACTER SET INTERNAL_USE AL32UTF8 ;
    ALTER DATABASE CHARACTER SET INTERNAL_USE AL32UTF8
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01429: Index-Organized Table: no data segment to store overflow row-pieces

    Chockalingam wrote:
    I am using above steps as per oracle doc only.
    http://docs.oracle.com/cd/B10500_01/server.920/a96529/ch10.htm
    No, you are not.
    - You are not using the correct version doc vs. Oracle server version. Try to find the same suggestion in the relevant doc.
    - The doc you reference specifically says "... it can be used only under special circumstances. The ALTER DATABASE CHARACTER SET statement does not perform any data conversion, so it can be used +if and only if the new character set is a strict superset of the current character set+." (emphasis is mine)
    You do not have a strict superset.
    - Also the special clauses you have used are not documented - for a reason.
    Please edit your posts above to remove the ill-advice (steps with internal use only clauses) that does not belong on a forum.
    Edited by: orafad on Mar 16, 2012 9:47 PM

  • Mview refresh and ORA-12008 error

    I am getting the following when I try to refresh a materialized view. This error occurs the first time I try to refresh, then if I try again, the refresh is successful.
    Most of what I have been able to glean about this error is that it is related to M$log changes, however, this view does not use nor build upon an other views that use, mview logs. Any ideas?
    ORA-12008: error in materialized view refresh path
    ORA-01555: snapshot too old: rollback segment number 13 with name "_SYSSMU13$" too small
    ORA-02063: preceding line from db1
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2537
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2743
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2712
    ORA-06512: at line 2

    Hi j_70!
    I'm not exactly sure about the answer, but I guess that the ORA-01555 is the main problem. Have you tried to grow your Undotablespace? I think that the refresh of the MVIEW takes a long time (like a long SELECT-Statement) and if there are many UPDATE and INSERT-Statements while the refresh is in progress than ORA-01555 may be the consequence.
    If you have Oracle 10g use the Undo-Advisor to look for the problem.
    Hope this helps!

  • ORA-20505: Error in DML - Version of data in db has changed

    Hello,
    Application Express 3.1.0.00.32
    I have created a Report and Master Detail in the Sample Application on oracle.application.com. I am receiving an error on my Master Detail Form when clicking the <Previous and Next> buttons. I have viewed other issues like this in the forum but, it looks like everyone is a little different. Can anyone assist me with this error when browsing to the next record(s). Thanks in advance.
    ORA-20505: Error in DML: p_rowid=6, p_alt_rowid=CUSTOMER_ID, p_rowid2=, p_alt_rowid2=. ORA-20503: Current version of data in database has changed since user initiated update process. current checksum = "E9A08EDC02A82871E6865DB254B09ED2" application checksum = "39454529513F24BE60C167752BF71750"
    I created another Master Detail page and I do not have any errors when scrolling using <> buttons. Here is a process that may be causing my error using the original Master Detail page.
    DECLARE
    CUSTOMER_ID VARCHAR(20);
    BEGIN
    SELECT CUSTOMER_ID INTO :P21_CUSTOMER_ID
    FROM DEMO_CUSTOMERS
    WHERE CUST_FIRST_NAME = :P21_CUST_FIRST_NAME;
    -- processing here
    EXCEPTION
      -- Catches all 'no data found' errors
       WHEN NO_DATA_FOUND THEN
         DBMS_OUTPUT.PUT_LINE
           ('No Data found for SEARCH on ' || CUSTOMER_ID);
    END;Edited by: Charles A on Apr 30, 2009 11:40 AM

    Hi Charles,
    I've had a look at your page 21.
    The problem was that the "Fetch Values 2" process was not conditional and was running in the "On Load - Before Header" process point. This meant that it was being run every time the page was being loaded. This process checks for the CUSTOMER_ID relating to the value in P21_CUST_FIRST_NAME which, because the "Fetch Row..." process hasn't been run at that point (it runs "On Load - After Header"), will always return the same CUSTOMER_ID value from when the page was first loaded. The Next/Previous buttons, however, moved the P21_CUSTOMER_ID forward/back one value (this became apparent when this field was changed from "Hidden and Protected" to "Text"). As a result, the data on the page was for "Albert" but the CUSTOMER_ID value was for whatever record was next/previous to the Albert one. Thus, moving next/previous always caused a mix of the actual data.
    I have changed the "Fetch Values 2" process to be conditional on P21_CUSTOMER_ID being NULL. This way, the CUSTOMER_ID value is ONLY found by code when the page is first loaded. Thereafter, it is controlled by the Next/Previous functionality.
    Andy

  • How to make changes in the init.ora stick through Autoconfig?

    I make a change to my init.ora file and then when I run Autoconfig it overwrites my change. How can I keep this from happening?

    Hi Hussein;
    I reviewed the note, thanks. I then made a change to my init.ora file in %ORACLE_HOME%\database (I am on windows) then I ran the "adautocfg.cmd" in my %ORACLE_HOME%\appsutil\scripts\[SID]_[server] directory and it replaced my init.ora file. It did not change it as the file date does not show today but the values I put in are gone.
    So then I made a change to the init.ora file in %ORACLE_HOME%\dbs and ran adautocfg.cmd again. What it does is replaces the init.ora file in %ORACLE_HOME%\database with the one from %ORACLE_HOME%\dbs.

  • ORA-12560 TNS:Protocol Adapter Error and ORA-12557 Error

    Hello ,
    I have installed Oracle 11.2.0 64 bit database on my Windows 7 ( Home Premium) PC which is also 64 bit. I installed it because I am trying to setup Informatica. Later, I learnt that informatica is 32 bit and can not communicate to Oracle 11.2.0 64 bit database. So after digging through solutions, someone mentioned that I need to install Oracle 11g client 32bit.
    I have installed 11g client software successfully now. Here is problem though :
    When I launch SQL-Plus from 11g database , it works fine. However I launch SQL-Plus from 32bit client it gives me error as :
    Ora-12560 :TNS: Protocol Adapter Error.
    So I have been trying to resolve this error. I saw that this question has been posted many many times and have tried many thing as listed below :
    1. copy tnsnames.ora from database ( dbhome_1) to client installation ( client_1 ) under ..\network\admin\ --- Didn't work.
    2. Set $ORACLE_HOME and $ORACLE_SID environment variable.
    Here is interesting fact - If I set $ORACLE_HOME to database path and not client path error changes to :
    ORA-12557 TNS: Protocol adapter not loadable.
    If I keep $ORACLE_HOME as client path then I get same error as earlier ORA-12560.
    3. I have also tried changing $PATH variable. I did set to path containing only database installation, only client installation, both database and client installation with database installation appearing first
    But all of these haven't worked.
    Can anyone please suggest what I am missing and any further things I could try ?
    Thank you in advance !

    982090 wrote:
    Hello ,
    I have installed Oracle 11.2.0 64 bit database on my Windows 7 ( Home Premium) No oracle product is certified to run on any 'home' edition of any version of Windows.
    PC which is also 64 bit. I installed it because I am trying to setup Informatica. Later, I learnt that informatica is 32 bit and can not communicate to Oracle 11.2.0 64 bit database.If the connection is via TNS, the bit architecture shouldn't matter.
    So after digging through solutions, someone mentioned that I need to install Oracle 11g client 32bit.
    I have installed 11g client software successfully now. Here is problem though :
    When I launch SQL-Plus from 11g database , it works fine. However I launch SQL-Plus from 32bit client it gives me error as :
    Ora-12560 :TNS: Protocol Adapter Error.
    So I have been trying to resolve this error. I saw that this question has been posted many many times and have tried many thing as listed below :
    1. copy tnsnames.ora from database ( dbhome_1) to client installation ( client_1 ) under ..\network\admin\ --- Didn't work.
    2. Set $ORACLE_HOME and $ORACLE_SID environment variable.
    Here is interesting fact - If I set $ORACLE_HOME to database path and not client path error changes to :
    ORA-12557 TNS: Protocol adapter not loadable.
    If I keep $ORACLE_HOME as client path then I get same error as earlier ORA-12560.
    3. I have also tried changing $PATH variable. I did set to path containing only database installation, only client installation, both database and client installation with database installation appearing first
    But all of these haven't worked.
    Can anyone please suggest what I am missing and any further things I could try ?
    Thank you in advance !unfortunately, we need to know exactly how you tried to connect with sqlplus when it "worked" and when it "didn't work". The key to the reported error messages is highly dependent on the environment settings AND the specification of the connect string. A copy and paste of the entire command line session would be most helpful.
    But again, running on any 'home' edition of windows is not supported.

  • ORA-01017 error and re-create password file? seek advices.

    I used TOAD 9.5 to log in one Oracle 10g database with sys/password as sysdba. It worked fine always. However, today I tried to log in again and come across the ORA-01017 error. Invalid username/password. Then I went to windows server command line to log in as conn / as sysdba and also log in conn sys/password@sid as sysdba, I all logged in successfully. I checked the password file is in $oracle_home\database\. I logged in as normal user successfully.
    My question is: what caused this ORA-error? how to fix it? Is it necessary for me to re-create password file to fix this? Or there is other options? Thanks.

    First though is double check make sure you have no typo when inputting username/password,
    ORA-01017 is very specific error about wrong password, if you have problem with passwordfile you would likely to get ORA-01031: insufficient privileges
    You can change your sys password using alter user statement, Oracle will sync the password file.

Maybe you are looking for

  • Help need on ALV Report Program

    Hi all..... im facing problem in the following code....it shows 'No records found' (as same as my coding generated)whenever i give wrong vendor no:(lifnr), but if i gives the correct one(as in table lfa1)...it shows Runtime error as <b>"the occupied

  • Query to read more than one aggregate at same time - is it possible?

    Hi, We have 2 aggregates set up. One contains data for 2007, the other for 2006. These are restricted by setting fixed values for 0CALYEAR. When running a query for a single year the correct aggregate is picked up depending on which year is input. Wh

  • Is there a way to set a stationery item as the default new mail mail format

    If I have a favourite stationery item, is there anyway to set that as the default new mail message rather than clicking it everytime? Thanks

  • Pop up 'open file' box everytime i open preview

    This is driving me crazy. It has an option to open a file from either icloud or my mac. I don't want to open a file. I just want to open preview. I would also like to take a screen shot but this pop up box is making it impossible to do. Any help plea

  • Post has been Rejected

    HI I am sorry to ask you please still i didn't understand on what basis i got the mail if you people don't mind can you please tell me the reason The links which i got the mail id [Re: ERLA/NORM, Header and Item Level Pricing Issue|http://forums.sdn.