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

Similar Messages

  • 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?...

  • Usage of init.ora file ?

    Hi everybody,
    can anyone explain me in detail about the usage of init.ora
    file. thank u
    hav fun
    prabhu.

    Prabhu,
    As you probably noticed, one book is not enough when preparing for the exams. Also, you need a library of books just to be a DBA. Although some people could do it strictly from memory, when you are working with live systems, it helps to have an extensive collection to reference on a day to day basis. The following is a list of my most recommended books. For a syntax reference book, I would reference "Oracle8i: The Complete Reference" by Kevin Loney and George Koch. Although this will give you the syntax you need to compose the "Create Database" script, you will still need the other books to understand what parameters you will want to set.
    "Oracle8i: The Complete Reference" by Kevin Loney,George Koch
    "Oracle8i DBA Handbook" by Kevin Loney,Marlene Theriault
    "Oracle8i Backup and Recovery" by Rama Velpuri,Anand Adkoli,George Williams
    "Oracle8i DBA: Network Administration" by Barbara Ann Pascavage
    "Oracle8i PL/SQL Programming" by Scott Urman
    "Oracle Performance Tuning Tips & Techniques" by Richard Niemiec, Bradley Brown, Joseph Trezzo
    This is not the complete list of books that you will want as a DBA. There are many great books on Oracle. This is mainly my core recommended reads. If you are studying for your certification, don't be surprised if it takes you a long time to prepare. It is not unusual for it to take more than a year to become certified as the Oracle exams are pretty thorough and require a lot of information. I would also recommend you take the practice exams prior to taking the certification exams. I still have nightmares about taking the Performance Tuning exam. (And I'm no slouch.) I'm not trying to scare you out of taking the exams because I believe that they are very beneficial to DBAs. It will give you a more rounded education in Oracle database administration. Especially if you haven't had a lot of exposure to database administration. Before you take the exams, you will have to understand the application of the knowledge and not just the book material. And it's a lot of material. Good luck to you.
    LM

  • Init.ora file location

    Hi,
    Is there any query by which i can find out the location of init.ora file. We are using unix server.
    Thanks in advance.

    The location of the init.ora file was not stored in the database because with Oracle8 it was possible to start the db remotely using a local init.ora file ( I never did it myself but I did read about it, proberbly on asktom). So a '/tmp/init.ora' would have been meaningless because you would not know which machine it refered to.
    If you have lost your init.ora file it is possible to recreate it by quering v$parameter, if your on 9i or above you can do
    'create pfile from spfile' to get a new copy if you are using an spfile that is! A 'find' on the unix might be the quickest!!
    Regards
    Wayne
    Edited by: waynemac910 on 11-Dec-2008 06:44

  • Init.ora file in SAP

    can anyone tell me where is the location of init.ora file in SAP R/3

    Its under /oracle/<sid>/102_64/dbs

  • 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....

  • How to set UTL_FILE parameter in the INIT.ORA file

    Dear all,
    How can i set UTL_FILE parameter in the INIT.ORA file.
    Also let me know how to create a directory over there.I am new to this area.
    Where exactly i can locate these details and create directory.
    Regards,
    Bala.

    post this in database forum

  • Regarding UTL_FILE parameter in the INIT.ORA file

    Dear all,
    How can i set UTL_FILE parameter in the INIT.ORA file.
    Also let me know how to create a directory over there.I am new to this area.
    Where exactly i can locate these details and create directory.
    Regards,
    Bala.

    Dear all,
    How can i set UTL_FILE parameter in the INIT.ORA
    file.
    Also let me know how to create a directory over
    there.I am new to this area.
    Where exactly i can locate these details and create
    directory.
    Regards,
    Bala.Taken note of yingkuan's comments about directory objects - which don't need a utl_file_dir entry - if you really still need to know (on e-business suite or some other product that needs them) then UTL_FILE_DIR is an initialisation parameter which takes a comma separated list of directories on the database server and to which the oracle software owner (usually oracle on *nix systems and system on windows) has read/write access. To set it therefore you'll need to identify or create your directory and then either
    a) add the line UTL_FILE_DIR=/path/to/dir1, /path/to/dir2
    to your init.ora if you are using one or use
    b) ALTER SYSTEM SET UTL_FILE_DIR=/path/to/dir1, /path/to/dir2 SCOPE=SPFILE;
    if you are using a server parameter file.
    You should be able to find this and more information in the documentation for your version of Oracle.
    Niall Litchfield
    http://www.orawin.info/

  • Init.ora file changes

    Hi,
    I changed the init.ora file for some reason and I have applied some patches in OS(microsoft windows 2003 server) and i noticed in the init.ora file that all changes in the init.ora file gone !!
    Can someone explain me, what was the reason behind that ?
    Thanks in advance.

    Hi,
    <humor>You have to check urgently for the green little pfile changer halfling!</humor>
    Seriously.. did you do both at the same time? If so... are you sure you save the init file? Cause there's no way such changes are rolled back except if you did not saved the file... or restored an old version of your pfile!
    Regards,
    Yoann ;-)

  • Changing the directory Structure of Jsp and web.xml files

    Hi,
    I am using the JDeveloper 11g preview. Can any one tell me how to change the Jsp and web.xml files ( not in WEB-INF directory of the application) to another directory.
    Thanks in Advance
    Gopal

    Hi Frank,
    Is it possible for me to change the folder structure which JDeveloper is providing for web project?
    By default JDeveloper is giving the following folder structure.
    In the project's root folder there is a public_html and src folder along with .jpr file.
    In public_html folder thre is an WEB-INF folder and a jsp file
    In WEB-INF folder there is an classes folder along with web.xml file.
    I need to have the following folder structure :
    The WEB-INF folder should be in root folder of project not in public_html folder
    src folder must be in WEB-INF folder.
    Thanks in Advance
    Anil Golla

  • How do I change the directory where Firefox stores temporary internet files?

    I want to change the directory location where temporary internet files are stored. I am running version 3.5.

    See this KB article: <br />
    http://kb.mozillazine.org/Browser.cache.disk.parent_directory

  • After an import, replace the init.ora file?

    I have just successfully imported a database from Oracle8i to Oracle10g. Now, is it safe to replace the init.ora file?

    Replace the 10g init file with the 8i? Nope. You should be reading the release notes and upgrade guide, and taking into account the obsolecense of some parameters, the introduction of new ones, etc.
    Also, your control files are probably in a different location, you have different RBS's etc..

  • Which process reads the spfile/init.ora file

    Hi,
    When we start the Oracle DB using "STARTUP" command, which background process reads the spfile/init.ora file?
    Also on startup, which process reads the control file?

    Hi,
    I think the oracle executable.. In the alert log file below you can see that spfile is read first. After that the oracle background processes are initialized.
    Starting ORACLE instance (normal)
    ****************** Large Pages Information *****************
    Total Shared Global Region in Large Pages = 0 KB (0%)
    Large Pages used by this instance: 0 (0 KB)
    Large Pages unused system wide = 0 (0 KB) (alloc incr 4096 KB)
    Large Pages configured system wide = 0 (0 KB)
    Large Page size = 2048 KB
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfileDB01.ora
    System parameters with non-default values:
    PMON started with pid=2, OS id=30425
    Tue Aug 13 10:45:51 2013
    PSP0 started with pid=3, OS id=30427
    Tue Aug 13 10:45:52 2013
    VKTM started with pid=4, OS id=30429 at elevated priority
    VKTM running at (1)millisec precision with DBRM quantum (100)ms
    Tue Aug 13 10:45:52 2013
    GEN0 started with pid=5, OS id=30433
    Tue Aug 13 10:45:52 2013
    DIAG started with pid=6, OS id=30435
    Tue Aug 13 10:45:52 2013
    DBRM started with pid=7, OS id=30437
    Tue Aug 13 10:45:52 2013
    DIA0 started with pid=8, OS id=30439
    Tue Aug 13 10:45:52 2013
    MMAN started with pid=9, OS id=30441
    Tue Aug 13 10:45:52 2013
    DBW0 started with pid=10, OS id=30443
    Tue Aug 13 10:45:52 2013
    LGWR started with pid=11, OS id=30445
    Tue Aug 13 10:45:52 2013
    CKPT started with pid=12, OS id=30447
    Tue Aug 13 10:45:52 2013
    SMON started with pid=13, OS id=30449
    Tue Aug 13 10:45:52 2013
    RECO started with pid=14, OS id=30451
    Tue Aug 13 10:45:52 2013
    MMON started with pid=15, OS id=30453
    Tue Aug 13 10:45:52 2013
    MMNL started with pid=16, OS id=30455
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = /u01/app/oracle
    Tue Aug 13 10:45:52 2013
    ALTER DATABASE   MOUNT
    Cheers
    Legatti

  • HT201361 Can I change the directory where screen capture saves the png files?

    hi:
    screen capture questions:
    1) Can I change the directory/place where the macbook (maverick osx) screen capture it putting the png/images?
    Currently it is going to my desktop and I would like it in another spot.
    2) Can I change the default name to include a number e.g so each screen capture increments by 1 rather than telling sequence by time?
    thankyou

    If you use the Grab.app in Applications/Utilities, you can name the file whatever you want and place it whereever you want. Filenames are not automatically incremented, however.
    The disadvantage is that it saves the capture only in .tiff format, not .png
    But double-clicking on the saved .tiff file will open it in Preview.app, and you can then Option+Save As in .png format in that same folder, or elsewhere.
    Grab.app has some other nice features too, such as selecting a cursor shape to be displayed (or none), and doing a timed screen capture.
    And of course there are other apps...
    http://mac.appstorm.net/roundups/graphics-roundups/7-awesome-screen-capture-apps -made-for-the-mac/

  • How Can I change the Directory and Name of Coded UI Test Result html file

    I'm Using Visual Studio 2013
    Now I can find the Coded UI test result html file insde the following path
    TestProjectFolder\TestResults\2015_01_22_05_59\In\anotherfolder\MyMachineName\UiTestActionLog.html
    VS2013 enables editing the name structure of this folder only (2015_01_22_05_59). and it should contains a static name+DateTime (Using the Project TestSettings).
    I need to (Programatically)
    Collect all test result html files on one folder with the project name (Change the path of the test result file)
    Put the testcase name on the result file name (for example : TC13505_ValidateScreenComponents_2015_01_22_05_59)
    If possible,Programatically attach the html result file to the test case attachements
    More Details:
    I need to set a custom valus for (ResultsDirectory -
    TestLogsDir -TestResultsDirectory
    - TestName) on the runtime.
    please if any onw know how to do the previous tasks
    by code, please share your knowledge.
    Regards, Ahmed Elgazar Skype:A7medelgazar

    Hi AhmedElgazar,
    Thank you for posting in MSND forum.
    As you said  that you want to collect all test result html files on one folder with the project name by programmatically way to change the path of test result file in coded UI test.
    As far as I know that when we run a coded UI test every time, it is default that there will create a new folder to save the new UITestActionLog.html.
    So we could not change the path of test result file and collect all test result html files on one folder in VS IDE.
    At present, there have no way to collect all test result html files on one folder and change the test result file path.
    In addition, I know that we can change the TestResults folder using mstest.exe in command line.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/58d3d2a6-1a45-41ba-9afa-12d087c7c661/how-to-change-the-test-results-path-of-codedui?forum=vstest
    If you still want to this feature, I suggest you can submit this feature request:
    http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You can send your idea there and people can vote. If
    you submit this suggestion, I hope you could post that link here, I will help you vote it.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Transfering video

    Is there a way to transfer video from a vcr or camcorder to the computer to then turn into a dvd? macbook   Mac OS X (10.4.6)  

  • Is it possible to connect database using session bean

    Dear all, Is it possible to connect database using session bean without using entity beans like cmp,bmp. if ur answer is yes, then pls tell me where to put the select statement and transaction attribute like(6 types). if u have sample code, then it i

  • SUBMIT keyword along with one input parameter

    Hi actually i have two programs A and B. i am calling B using SUMBIT, from program A. but for B program there is one input parameter, what i need is, B program should execute with SUBMIT as well as input field. thanks in advance vEnu

  • How to use Labview 6 to call OpenPrinter()

    I would like to use Labview 6.0.2 to call API winspool.drv function OpenPrinter().

  • Error 403 keeps showing relating to past ical dates

    Just started to get an error 403 which relates to old ical dates seems to have stared when i updated 6.0 on my ipad and iphone!! Can anyone help Brian