Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Multiple Instance issue

Multiple Instance issue

2005-11-01       - By Chirag DBA

Reply:     1     2     3     4     5     6     7     8     9     10  

Both are correct and showing the right things.
Set them again, and tried as follows.
C:\DOCUME~1\CMAJMU~1>sqlplus /nolog

SQL*Plus: Release 9.2.0.1.0 - Production on Tue Nov 1 14:24:01 2005

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORA-01081 (See ORA-01081.ora-code.com): cannot start already-running ORACLE - shut it down first
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area 105978600 bytes
Fixed Size 453352 bytes
Variable Size 79691776 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production

C:\DOCUME~1\CMAJMU~1>sqlplus /nolog

SQL*Plus: Release 9.2.0.1.0 - Production on Tue Nov 1 14:24:34 2005

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

SQL> conn / as sysdba
Connected to an idle instance.
I am unable to make out what is going wrong?
Regards - Chirag

On 11/1/05, Thomas Fox <belvdr@(protected)> wrote:
>
> You'll need to set your ORACLE_HOME as well, because Oracle uses a hash of
> the
> ORACLE_HOME and ORACLE_SID to connect. If one or the other is not set, you
> won't be connecting to the proper instance.
>
> You can always check it with:
>
> echo %ORACLE_HOME%
> echo %ORACLE_SID%
>
>
> --- Chirag DBA <chiragdba@(protected)> wrote:
>
> > As I said it is up and running, Here is the output.
> > SQL> select * from v$instance;
> >
> > INSTANCE_NUMBER INSTANCE_NAME
> > -- ---- ---- -- -- ---- ---- ---
> > HOST_NAME
> > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> > VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_
> > -- ---- ---- ---- -- ------ -- ---- ---- --- -- ---- -- -- ----
> -- ---- ---
> > LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST
> > -- ---- -- --- -- ---- ---- ---- -- ---- ---- ----- -- ------
> > 1 chirep
> > WSLVNJTO2775
> > 9.2.0.1.0 01-NOV-05 OPEN NO 1 STARTED
> > ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL
> >
> >
> > SQL>
> > It was fine, and I have not even installed or removed anything which can
> > cause problem.
> > Nothing in alert log too. I restarted with right pfile again, still the
> > same issue.
> > regards - chirag
> >
> > On 11/1/05, NEW pop.tiscali.de <http://pop.tiscali.de> <
> http://pop.tiscali.de> <
> > adolph.tony@(protected)> wrote:
> > >
> > > What do you get if you run "select * from v$instance" from the 'other'
> > > window, the one where you know it is already running?
> > >
> > > -- -- Original Message -- --
> > > *From:* t_adolph@(protected)
> > > *To:* chiragdba@(protected) ; Oracle-L Freelists <oracle-l@(protected)
> >
> > > *Sent:* Tuesday, November 01, 2005 4:56 PM
> > > *Subject:* Re: Multiple Instance issue
> > >
> > > Are they both running under the same ORACLE_HOME?
> > > Tony
> > >
> > > -- -- Original Message -- --
> > > *From:* Chirag DBA <chiragdba@(protected)>
> > > *To:* Oracle-L Freelists <oracle-l@(protected)>
> > > *Sent:* Tuesday, November 01, 2005 4:43 PM
> > > *Subject:* Multiple Instance issue
> > >
> > > I am running multiple instances on test machine, Windows, 9ir2.
> > > Both have SGA of 100m and machine memory is 512 mb.
> > > I am getting the following error.
> > >
> > > C:\DOCUME~1\CMAJMU~1>set ORACLE_SID=chirep
> > >
> > > C:\DOCUME~1\CMAJMU~1>sqlplus /nolog
> > >
> > > SQL*Plus: Release 9.2.0.1.0 - Production on Tue Nov 1 10:39:26 2005
> > >
> > > Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
> > >
> > > SQL> conn / as sysdba
> > > Connected to an idle instance.
> > >
> > > But the same instance is up and running in another windows, but in any
> new
> > > window I am opening, this particular is instance is showing as
> > >
> > > Connected to Idle Instance.
> > >
> > > Can anyone tell me what could have gone wrong here? It was working
> fine
> > > and I have not done any other installation in recent past.
> > >
> > > Nothing is showing in Alert log files too, as the same instance is
> running
> > > in other window.
> > >
> > > regards - Chirag
> > >
> > >
> >
>
>
>
>
> __ ____ ____ ____ ____ ____ ______
> Yahoo! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
>

<div>Both are correct and showing the right things.</div>
<div>&nbsp;</div>
<div>Set them again, and tried as follows.</div>
<div>&nbsp;</div>
<div>C:\DOCUME~1\CMAJMU~1&gt;sqlplus /nolog</div>
<p>SQL*Plus: Release 9.2.0.1.0 - Production on Tue Nov 1 14:24:01 2005</p>
<p>Copyright (c) 1982, 2002, Oracle Corporation.&nbsp; All rights reserved.</p>
<p>SQL&gt; conn / as sysdba<br>Connected to an idle instance.<br>SQL&gt;
startup<br>ORA-01081 (See ORA-01081.ora-code.com): cannot start already-running ORACLE - shut it down first
<br>SQL&gt; shutdown abort<br>ORACLE instance shut down.<br>SQL&gt; startup
<br>ORACLE instance started.</p>
<p>Total System Global Area&nbsp; 105978600 bytes<br>Fixed Size&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 453352 bytes<br>Variable Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 79691776 bytes<br>Database
Buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25165824
bytes<br>Redo Buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 667648 bytes
<br>Database mounted.<br>Database opened.<br>SQL&gt; exit<br>Disconnected from
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production<br>With the
Partitioning, OLAP and Oracle Data Mining options<br>JServer Release 9.2.0.1.0
- Production</p>
<p>C:\DOCUME~1\CMAJMU~1&gt;sqlplus /nolog</p>
<p>SQL*Plus: Release 9.2.0.1.0 - Production on Tue Nov 1 14:24:34 2005</p>
<p>Copyright (c) 1982, 2002, Oracle Corporation.&nbsp; All rights reserved.</p>
<p>SQL&gt; conn / as sysdba<br>Connected to an idle instance.</p>
<div>I am unable to make out what is going wrong?</div>
<div>&nbsp;</div>
<div>Regards - Chirag <br><br>&nbsp;</div>
<div><span class="gmail_quote">On 11/1/05, <b class="gmail_sendername">Thomas
Fox</b> &lt;<a href="mailto:belvdr@(protected)">belvdr@(protected)</a>&gt; wrote:<
/span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0
.8ex; BORDER-LEFT: #ccc 1px solid">You'll need to set your ORACLE_HOME as well,
because Oracle uses a hash of the<br>ORACLE_HOME and ORACLE_SID to connect.
&nbsp;&nbsp;If one or the other is not set, you
<br>won't be connecting to the proper instance.<br><br>You can always check it
with:<br><br>echo %ORACLE_HOME%<br>echo %ORACLE_SID%<br><br><br>--- Chirag DBA
&lt;<a href="mailto:chiragdba@(protected)">chiragdba@(protected)</a>
&gt; wrote:<br><br>&gt; As I said it is up and running, Here is the output.<br>
&gt; SQL&gt; select * from v$instance;<br>&gt;<br>&gt; INSTANCE_NUMBER INSTANCE
_NAME<br>&gt; -- ---- ---- -- -- ---- ---- ---<br>&gt; HOST_NAME
<br>&gt; -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------<br>
&gt; VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_<br>&gt; -- ---- --
-- ---- -- ------ -- ---- ---- --- -- ---- -- -- ---- -- ---- ---
<br>&gt; LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST<br>&gt; -- ---- --
--- -- ---- ---- ---- -- ---- ---- ----- -- ------<br>&gt; 1 chirep<br>&gt;
WSLVNJTO2775<br>&gt; 9.2.0.1.0 01-NOV-05 OPEN NO 1 STARTED<br>&gt; ALLOWED NO
ACTIVE PRIMARY_INSTANCE NORMAL
<br>&gt;<br>&gt;<br>&gt; SQL&gt;<br>&gt; It was fine, and I have not even
installed or removed anything which can<br>&gt; cause problem.<br>&gt;&nbsp;
&nbsp;Nothing in alert log too. I restarted with right pfile again, still the<br
>
&gt; same issue.<br>&gt;&nbsp;&nbsp;regards - chirag<br>&gt;<br>&gt;&nbsp;&nbsp
;On 11/1/05, NEW <a href="http://pop.tiscali.de">pop.tiscali.de</a> &lt;<a href=
"http://pop.tiscali.de">http://pop.tiscali.de</a>&gt; &lt;<br>&gt; <a href=
"mailto:adolph.tony@(protected)">
adolph.tony@(protected)</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; What do you get
if you run &quot;select * from v$instance&quot; from the 'other'<br>&gt; &gt;
window, the one where you know it is already running?<br>&gt; &gt;
<br>&gt; &gt; -- -- Original Message -- --<br>&gt; &gt; *From:* <a href="mailto
:t_adolph@(protected)">t_adolph@(protected)</a><br>&gt; &gt; *To:* <a href=
"mailto:chiragdba@(protected)">chiragdba@(protected)</a> ; Oracle-L Freelists &lt;
<a href="mailto:oracle-l@(protected)">oracle-l@(protected)</a>&gt;<br>&gt;
&gt; *Sent:* Tuesday, November 01, 2005 4:56 PM<br>&gt; &gt; *Subject:* Re:
Multiple Instance issue<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp;Are they both
running under the same ORACLE_HOME?
<br>&gt; &gt;&nbsp;&nbsp;Tony<br>&gt; &gt;<br>&gt; &gt; -- -- Original Message
-- --<br>&gt; &gt; *From:* Chirag DBA &lt;<a href="mailto:chiragdba@(protected)"
>chiragdba@(protected)</a>&gt;<br>&gt; &gt; *To:* Oracle-L Freelists &lt;<a href=
"mailto:oracle-l@(protected)">
oracle-l@(protected)</a>&gt;<br>&gt; &gt; *Sent:* Tuesday, November 01, 2005
4:43 PM<br>&gt; &gt; *Subject:* Multiple Instance issue<br>&gt; &gt;<br>&gt;
&gt;&nbsp;&nbsp;I am running multiple instances on test machine, Windows, 9ir2.
<br>&gt; &gt;&nbsp;&nbsp;Both have SGA of 100m and machine memory is 512 mb.<br
>&gt; &gt;&nbsp;&nbsp;I am getting the following error.<br>&gt; &gt;<br>&gt; &gt
; C:\DOCUME~1\CMAJMU~1&gt;set ORACLE_SID=chirep<br>&gt; &gt;<br>&gt; &gt; C:
\DOCUME~1\CMAJMU~1&gt;sqlplus /nolog
<br>&gt; &gt;<br>&gt; &gt; SQL*Plus: Release 9.2.0.1.0 - Production on Tue Nov
1 10:39:26 2005<br>&gt; &gt;<br>&gt; &gt; Copyright (c) 1982, 2002, Oracle
Corporation. All rights reserved.<br>&gt; &gt;<br>&gt; &gt; SQL&gt; conn / as
sysdba
<br>&gt; &gt; Connected to an idle instance.<br>&gt; &gt;<br>&gt; &gt; But the
same instance is up and running in another windows, but in any new<br>&gt; &gt;
window I am opening, this particular is instance is showing as
<br>&gt; &gt;<br>&gt; &gt; Connected to Idle Instance.<br>&gt; &gt;<br>&gt; &gt
; Can anyone tell me what could have gone wrong here? It was working fine<br>&gt
; &gt; and I have not done any other installation in recent past.
<br>&gt; &gt;<br>&gt; &gt; Nothing is showing in Alert log files too, as the
same instance is running<br>&gt; &gt; in other window.<br>&gt; &gt;<br>&gt; &gt
;&nbsp;&nbsp;regards - Chirag<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br><br><br>
<br><br>__ ____ ____ ____ ____ ____ ______<br>Yahoo! FareChase: Search multiple
travel sites in one click.<br><a href="http://farechase.yahoo.com">http:/
/farechase.yahoo.com</a><br></blockquote></div><br>