path of init.ora


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers path of init.ora
# 1  
Old 06-29-2005
path of init.ora

hi

i would like to know the path of init.ora in AIX Server

i tried with find command but i could not find it.

can somebody help me with that.
# 2  
Old 06-29-2005
Not sure this will help or not as I don't have a AIX server to try it on.

Normally, Oracle sets up it's oratab in a specific place - usually /var/opt/oracle/oratab. Inside that file is the 'home' of oracle. Run your find from that directory to find the init.ora

If you know where Oracle's home is (not the userid oracle but the product) then run your find from there. Usually has ../oracle/product/X.X.X/ where X.X.X is the version number.
# 3  
Old 06-29-2005
thanks for ur reply

i tried for a search from ORACLE_HOME

the format of find that i use in solaris box is
find . -name '*init*' -print 2>/dev/null ---- for searching the init.ora files

when i tried the same command
find . -name '*init*' -print 2>/dev/null

i get a conjunction error for directing error to null file

hence i tried with find . -name '*init*' -print,

after few searches i am getting process table filled and unable to proceed further with the search.

can u plz help?
# 4  
Old 06-29-2005
I dont have an AIX server either.

If you are looking for init.ora in your $OH, you should probably find it in this location in your database installation. (I am on RHEL 3.0)

$OH/dbs/init.ora
$OH/srvm/admin/init.ora

Hope it helps.

-vino
# 5  
Old 06-29-2005
ya vino

it should be under ORACLE_HOME/dbs

this is what the notion that i had regarding the path of init.ora
to my surprise it wasnt there

thats why i had to make a search

and it wouldnt be as such in the name of init.ora

it would be as initSID.ora
where SID => $ORACLE_SID which we can get from tnsnames.ora

i could locate the file tnsnames.ora but not init*ora

any idea on how to do an effective search in AIX

i had mentioned the difficulty of searching in AIX in my previous post.

Thanks for ur reply
# 6  
Old 06-29-2005
Also check your Oracle startup script - it could be using a different file so no init.ora would be found.
# 7  
Old 06-29-2005
Try one of these to locate your init.ora file:

Note: The Oracle instance configuration file is generally referred to as "init.ora". The file that you are really looking for will have the database SID added to "init" as in initdev.ora. The init.ora files found in $ORACLE_HOME/dbs are typically symbolic links to where they really are located. They do not have to exist there and apparently don't in your case.
  1. If you have a DBA, consult him. He must know where the init.ora for your database is located.
  2. Make sure your environment is correctly set by running /usr/local/bin/oraenv.
  3. Look for an environment variable called ORACLE_BASE. This points to where the Oracle directory structures start. If this is set you can probably find your init.ora in a directory similar to "$ORACLE_BASE/admin/<yoursid>/pfile
  4. Go backwars from $ORACLE_HOME. cd $ORACLE_HOME cd ../../admin<yoursid>

You certainly should be able find your init.ora at this point.

For what it's worth, I would caution you on modifying the init.ora file. Unless you know what you are doing, you can adversly impact your database.

Thomas
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Ora-27603:ora-27626:

Hi, User claim that job is running slow from their end. I DBA found in database the below errors in alert log file. ORA-27603: Cell storage I/O error, I/O failed on disk o/192.168.10.3/RECO_DM01_CD_01_drm01 at offset 13335789568 for data length 1048576 ORA-27626: Exadata error: 2201 (IO... (2 Replies)
Discussion started by: Maddy123
2 Replies

2. Shell Programming and Scripting

editing init.ora

Hi all- i am having some hiccups while writing a korn shell to edit init.ora file for automating latest PSU patchset.(Oracle) I am trying to edit(add) the ._fix_control and .event with certain parameters. if anyone has any idea that will be helpful. thanks. (1 Reply)
Discussion started by: sub
1 Replies

3. Red Hat

init-script failing because of /etc/rc.d/init.d/functions

I encountered a problem on one of our database servers. OS: CentOS 5.5 final Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel) We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies

4. UNIX for Advanced & Expert Users

grep all ORA errors except one ORA error

Hi - I am trying to grep all "ORA" errors in a log files.I have to grep all ORA errors except one error for example ORA-01653.How can exclude that error in "grep" command? In following "grep" command I want to exclude "ORA-01653" error grep -i ORA alert.log >>/tmp/ora_errors.txt ... (7 Replies)
Discussion started by: Mansoor8810
7 Replies

5. Solaris

What is the diffe b/w init s and init S

i did my research in finding the answer but couldn't find right one. Please give your inputs. (6 Replies)
Discussion started by: ranumala
6 Replies

6. UNIX for Advanced & Expert Users

Problem on init 0, execution is the same with init 6

Hi, I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS. When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies

7. Solaris

maxuprc and maxusers - ORA-27300, ORA-27301, ORA-27302

Hi all, Am intermittently getting the following errors on one of my databases. Errors in file /oracle/HRD/saptrace/background/hrd_psp0_13943.trc: ORA-27300: OS system dependent operation:fork failed with status: 12 ORA-27301: OS failure message: Not enough space ORA-27302:... (1 Reply)
Discussion started by: newbie_01
1 Replies

8. Linux

How to I change init levels after typing init 1

Dear all, I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel): 1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins So now I can't connect back to it. How do I change the init back to 3?... (8 Replies)
Discussion started by: z1dane
8 Replies

9. Solaris

init.ora

what is the function of the init.ora file and suppose by mistake it gets deleted , what will be the consequences on the server (1 Reply)
Discussion started by: asalman.qazi
1 Replies

10. UNIX for Advanced & Expert Users

Init 6 & Init 0 problem

Hi Expert, I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0.. I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies
Login or Register to Ask a Question