If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Multiple Oracle instances in Oracle8i Enterprise Edition

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-21-03, 02:30
pradip_chanda pradip_chanda is offline
Registered User
 
Join Date: Dec 2002
Posts: 6
Exclamation Multiple Oracle instances in Oracle8i Enterprise Edition

I have oracle8i Enterprise edition running on SCO UNIXWARE (SVR4). I had one database instance running without any glitch. Then I created another database through 'database configuration assistant'($dbassist). But the system is unable to connect to the database (internal or any other user).

The database is not starting up though the 'listener' is showing service threads/handlers for each database.

Both of the database have been created from the same UNIX user login having same variable SETs.

How do I set 2 oracle SID under a single user (UNIX) environment.

Please help!
Reply With Quote
  #2 (permalink)  
Old 04-03-03, 09:23
BSchol BSchol is offline
Registered User
 
Join Date: Jun 2001
Location: The Netherlands
Posts: 38
You will have to set the correct oracle environment. You can use this by running the oraenv script as follows:

. oraenv <<don't forget the blank between . and oraenv>>

This will prompt you for an ORACLE_SID which you can find in /etc/oratab and set the environment accordingly.

After setting the environment you can start the database using sqlplus:

sqlplus /nolog
>connect sys as sysdba
password:

>startup
Reply With Quote
  #3 (permalink)  
Old 04-09-03, 01:21
osy45 osy45 is offline
Registered User
 
Join Date: Nov 2002
Posts: 833
did you configure the listener.ora file for the second SID and restarted it

... and the tnsnames.ora file
Reply With Quote
  #4 (permalink)  
Old 05-11-03, 10:12
Ruudboy Ruudboy is offline
Registered User
 
Join Date: Apr 2001
Location: Netherlands
Posts: 173
Re: Multiple Oracle instances in Oracle8i Enterprise Edition

Quote:
Originally posted by pradip_chanda
How do I set 2 oracle SID under a single user (UNIX) environment.
You cannot set 2 at the same time.
You need to set the ORACLE_SID for the database you want to start.
__________________
Ruud Schilders
-----------------
Oracle DBA
e-mail : ruud@schilders.it
URL : www.schilders.it
Twitter : www.twitter.com/ruudschilders
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On