Connecting to an idle instance
Hi all
I got proble, connecting to my 9i database.From SQPLUS i got error-Oracle is not available.
From command prompt was not able to connect as sysdba
Finaly with your help was able to connect like this: connect sys@myinstance as sysdba.
My question is why my database instance is getting idle?
I was able to tnsping servise name ,but not to connect as sysdba and startup database.SID parameters are ok and services were started/on Win 2000/
Why my database instance is getting idle?
Thanks everyone
Hi all
I got proble, connecting to my 9i database.From
SQPLUS i got error-Oracle is not available.
From command prompt was not able to connect as
sysdba
Finaly with your help was able to connect like this:
connect sys@myinstance as sysdba.
My question is why my database instance is getting
idle?r.- Your database is closed
I was able to tnsping servise name r.- You can test the service name independently of the state of the database. When you use the tnsping, that utility locates the service in the tnsnames.ora and give you an answer.
,but not to
connect as sysdba and startup database.SID parameters
are ok and services were started/on Win 2000/
Why my database instance is getting idle?
Thanks everyoner.- You have to get connection as sys user as sysdba and start the database so:
SQL> startupJoel Pérez
http://www.oracle.com/technology/experts
Similar Messages
-
Connected to an idle instance after computer crash
I was inserting rows as following
begin
for i in 1..10000000
loop
insert into test values(i, dbms_random.string('U',50), dbms_random.string('U',50), dbms_random.string('U',50), dbms_random.string('U',50), dbms_random.string('U',50));
end loop;
end;
/All of a sudden my computer crashed after an hour.
I did a reboot and I am not able to use my database anymore. What did happen and how to repair it?
I started database instance ORCL and it's listener and all I can see is:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>set ORACLE_SID=ORCL
C:\Windows\system32>cd ..
C:\Windows>cd ..
C:\>cd app\INDREK\product\11.2.0\dbhome_1\BIN
C:\app\INDREK\product\11.2.0\dbhome_1\BIN>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on L Sept 1 15:38:24 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> alter database mount;
alter database mount
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 3340451840 bytes
Fixed Size 2180344 bytes
Variable Size 1979714312 bytes
Database Buffers 1342177280 bytes
Redo Buffers 16379904 bytes
Database mounted.
ORA-03113: end-of-file on communication channel
Process ID: 4940
Session ID: 191 Serial number: 3
SQL>As for OS and database versions: Windows 7 Pro 64 bit and
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - ProductionThere is a lot of information in this alert log. The latest records that seems suspicious in this XML alert log are following:
<txt>
LGWR: STARTING ARCH PROCESSES
</txt>
<txt>
ARC0 started with pid=21, OS id=2412
</txt>
<txt>
ARC0: Archival started
</txt>
<txt>
LGWR: STARTING ARCH PROCESSES COMPLETE
</txt>
<txt>
ARC0: STARTING ARCH PROCESSES
</txt>
<txt>
ARC1 started with pid=22, OS id=4932
</txt>
<txt>
ARC2 started with pid=23, OS id=2020
</txt>
<txt>
ARC1: Archival started
</txt>
<txt>
ARC3 started with pid=24, OS id=4244
</txt>
<txt>
ARC2: Archival started
</txt>
<txt>
ARC1: Becoming the 'no FAL' ARCH
</txt>
<txt>
ARC1: Becoming the 'no SRL' ARCH
</txt>
<txt>
ARC2: Becoming the heartbeat ARCH
</txt>
<txt>
Errors in file c:\app\indrek\diag\rdbms\orcl\orcl\trace\orcl_ora_4940.trc:ORA-19815:
WARNING: db_recovery_file_dest_size of 4102029312 bytes is 100.00% used, and has 0 remaining bytes available.
</txt>
<txt>
ARCH: Error 19809 Creating archive log file to 'C:\APP\INDREK\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_09_01\O1_MF_1_125_%U_.ARC'
</txt>
<txt>
Errors in file c:\app\indrek\diag\rdbms\orcl\orcl\trace\orcl_arc1_4932.trc:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 34328064 bytes disk space from 4102029312 limit
</txt>
<txt>
Errors in file c:\app\indrek\diag\rdbms\orcl\orcl\trace\orcl_ora_4940.trc:
ORA-16038: log 1 sequence# 125 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 1 thread 1: 'C:\APP\INDREK\ORADATA\ORCL\REDO01.LOG'
</txt>Edited by: totalnewby on Sep 1, 2012 7:46 AM -
Connected to an idle instance; trouble creating DB
I tried to connect to my database and got Connected to an idle instance:
C:\>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 22 19:07:34 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> select status, database_status from v$instance;
select status, database_status from v$instance
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
Further, the Getting Started page cannot be found with Error code: ERR_CONNECTION_REFUSED: http://127.0.0.1:8080/apex/f?p=4950
What I did to try and resolve this issue
While digging in various forums, I found that maybe I needed to specify the initXE.ora file on startup:
SQL> startup pfile='C:\oraclexe\app\oracle\product\11.2.0\server\database\initXE.ora'
ORA-01565: error in identifying file 'C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-01078: failure in processing system parameters
No such spfileXE.ora file. OK, so create it?
SQL> create spfile='C:\oraclexe\app\oracle\product\11.2.0\server\dbs\spfileXE.ora' from pfile='C:\oraclexe\app\oracle\product\11.2.0\server\dbs\init.ora';
File created.
SQL> startup pfile='C:\oraclexe\app\oracle\product\11.2.0\server\database\initXE.ora'
ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
ORA-48140: the specified ADR Base directory does not exist [C:\oraclexe\app\oracle\product\11.2.0\server\DATABASE\<ORACLE_BASE>]
ORA-48187: specified directory does not exist
OSD-00002: additional error information
O/S-Error: (OS 123) The filename, directory name, or volume label syntax is incorrect.
SQL>
Well, I guess I have no ADR Base directory..
C:\oraclexe\app\oracle\product\11.2.0\server\database>dir
Volume in drive C is Windows
Volume Serial Number is 8822-A545
Directory of C:\oraclexe\app\oracle\product\11.2.0\server\database
22/09/2014 06:06 PM <DIR> .
22/09/2014 06:06 PM <DIR> ..
22/09/2014 06:06 PM 2,048 hc_xe.dat
22/09/2014 02:44 PM 73 initXE.ora
27/08/2011 09:58 AM 31,744 oradba.exe
22/09/2014 05:07 PM 2,265 oradim.log
4 File(s) 36,130 bytes
2 Dir(s) 298,041,913,344 bytes free
I list as much supporting information as I know how to below.
Environment
Windows 7 Enterprise, SP1, 64-bit.
Oracle Database Express Edition 11g Release 2 for Windows x32
I have these environment variables set:
echo %ORACLE_SID% - %ORACLE_HOME%
XE - C:\oraclexe\app\oracle\product\11.2.0\server
Installation settings
These are the installation settings used by the installer:
Destination Folder: C:\oraclexe\
Oracle Home: C:\oraclexe\app\oracle\product\11.2.0\server\
Oracle Base:C:\oraclexe\
Port for 'Oracle Database Listener': 1521
Port for 'Oracle Services for Microsoft Transaction Server': 2030
Port for 'Oracle HTTP Listener': 8080
Output from lsnrctl stat
Some debugging information that may be useful:
C:\oraclexe\app\oracle\product\11.2.0\server\bin>lsnrctl stat
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 22-SEP-2014 19:05:52
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
Start Date 22-SEP-2014 17:07:02
Uptime 0 days 1 hr. 58 min. 49 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\ITS57151\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myhost.mycompany.local)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\oraclexe\app\oracle\product\11.2.0\server\bin>
Various config files
Here are the contents of other important files.
The initXE.ora file - C:\oraclexe\app\oracle\product\11.2.0\server\database\initXE.ora
SPFILE='C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora'
The listener.ora file - C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mycompany.local)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
The tnsnames.ora file - C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mycompany.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
Edited to restructure question to put the meat of the issue up front and supporting information below.Uninstall Oracle Database Express Edition 11g Release 2 for Windows x32
Download and install Oracle Database Express Edition 11g Release 2 for Windows x64
Take some time to de-stress. -
Connected to an idle instance in sun cluster nodes.
i have two sun cluster node sharing common storage.
Two schema's:
test1 for nodeA
test2 for nodeB.
My requirement is as below:
Login into b node.
export ORACLE_SID=test1.
sqlplus / as sysdba.
But i am getting as
"connected to an idle instance"
Is there any way to connect to node A schema from Node B.I found the answer..
sqlplus <sysdbauser>/<password>@test1 as sysdba -
Connected to an idle instance. Not able to connect
Hi,
I am working on Winodows XP.
I have installed Release 11.2.0.1.0 in my machine
I have multiple home in my machine.
I am trying to connect to oracle database using sqlplus but it is giving me following error.
D:\Documents and Settings\akoa>sqlplus sys@orcl2 as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 16 23:13:29 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter password:
Connected to an idle instance.
SQL>
Could you please tell me how can I resolve this problem?
my tnsname.ora is
# tnsnames.ora Network Configuration File: D:\app\akoa\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL2 =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
orcl2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = orcl2)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
My sqlnet.ora is
#NAMES.DEFAULT_DOMAIN = world
sqlnet.authentication_services = (NTS)
SQLNET.EXPIRE_TIME = 0
SQLNET.ENCRYPTION_SERVER = requested
SQLNET.ENCRYPTION_CLIENT = requested
NAMES.DIRECTORY_PATH= (TNSNAMES)
My listner.ora is
# listener.ora Network Configuration File: D:\app\akoa\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC=
(ORACLE_HOME=D:\app\akoa\product\11.2.0\dbhome_1)
(SID_NAME=orcl2))
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\akoa\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\akoa\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = D:\app\akoa
Regards,user576726 wrote:
Hi,
I am working on Winodows XP.
I have installed Release 11.2.0.1.0 in my machine
I have multiple home in my machine.
I am trying to connect to oracle database using sqlplus but it is giving me following error.
D:\Documents and Settings\akoa>sqlplus sys@orcl2 as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 16 23:13:29 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter password:
Connected to an idle instance.
SQL>
Could you please tell me how can I resolve this problem?
What is the problem ? What is the error message ?
HTH
Srini -
Help please! connected to an idle instance
Hello,
I am new to oracle administration. I instlled 11gR2 on windows 7 64 bit. It was working fine. Then I applied the patch DB 11.2.0.1 Patch 10: 10432045 . I can nolong connect. I tried a lot and ead lot of blogs. But now thoroughly confused! I am giving soem info that you may need. Please help!!!!
Thanks,
Badal
* All oracle related services are set to automatic start up and are all up
ORACLE_HOME=K:\app\badal\product\11.2.0\dbhome_1
ORACLE_SID=ORCL
When tried sqlplus i got
*>sqlplus myschema/password@ORCL*
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
As sysdba, I got this:
C:\windows\system32>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Mar 3 11:08:44 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
lsnrctl status gives me this
C:\windows\system32>lsnrctl status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 03-MAR-2012 11:11:08
Uptime 0 days 0 hr. 0 min. 20 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File K:\app\badal\product\11.2.0\dbhome_1\network\admin\list
ener.ora
Listener Log File k:\app\badal\diag\tnslsnr\HPC1\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HPC1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
My tnsnames.ora:
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = HPC1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
My listner.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = K:\app\badal\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:K:\app\badal\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = HPC1)(PORT = 1521))
ADR_BASE_LISTENER = K:\app\badalHello Sagar ! Here is the result after startup
C:\windows\system32>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-MAR-2012 11:39
:28
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 03-MAR-2012 11:11:08
Uptime 0 days 0 hr. 28 min. 23 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File K:\app\badal\product\11.2.0\dbhome_1\network\admin\list
ener.ora
Listener Log File k:\app\badal\diag\tnslsnr\HPC1\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HPC1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\windows\system32>sqlplus system/password@ORCL
SQL*Plus: Release 11.2.0.1.0 Production on Sat Mar 3 11:41:03 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options -
Connecting to idle instance in Oracle 11g
SQL*Plus: Release 11.2.0.1.0 Production on Sat Nov 10 14:48:26 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to an idle instance.
SQL> connect ADIPNU
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Process ID: 0
Session ID: 0 Serial number: 0
Warning: You are no longer connected to ORACLE.
SQL>
Please give a solution..
Thans in advance..885756 wrote:
Enter user-name: sys as sysdba
Enter password:
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 8234233856 bytes
Fixed Size 2192096 bytes
Variable Size 4395633952 bytes
Database Buffers 3825205248 bytes
Redo Buffers 11202560 bytes
Database mounted.
ORA-03113: end-of-file on communication channel
Process ID: 3364
Session ID: 170 Serial number: 3
SQL>Post alert log please .
location for alertlog :$ORACLE_BASE/diag/rdbms/PROD/PROD/trace/al* -
Dear all,
I have trouble to connect em console to database instance. My database is 11.2.0.3 and before this I did the patching from version 11.2.0.1, and now i cannot get fully functionality of em console.
error is:
Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
It shows that agent is connected, database and listener is up.
I did recreation, dropping and recreating with emca, but no success.
Did anyone have similar problems with em console?
Regards,You need to first of all, Connect to the Database as SYSDBA (because your were not connected), then start the database (because it is not started).
If you already used the username and password in the command prompt and you are sure that the database is already stared, then you need to set the ORACLE_SID before you open SQLPlus. This is because if SQLPlus does not know the SID you are connecting to, it simply thinks it is not up or has no service hence the message "Connected to an idle instance". -
Issue connecting to a second instance on a Oracle Linux Box.
Hi all. I have the following scenario.
- Two Oracle versions and instances on the same box (10g Rel2 and 11g Rel2).
- Due to lack of disk space i installed 11g on another ORACLE_BASE / ORACLE_HOME:
- Initial enviroment (10g):
[oracle@VM1 ~]$ echo $ORACLE_BASE
/home/oracle/app
[oracle@VM1 ~]$ echo $ORACLE_HOME
/home/oracle/app/OraDb10g
[oracle@VM1 ~]$ echo $ORACLE_SID
BETA
[oracle@VM1 ~]$ echo $PATH
/home/oracle/app/OraDb10g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
- 11g related values:
[oracle@VM1 oracle]$ echo $ORACLE_BASE
/u01/oracle
[oracle@VM1 oracle]$ echo $ORACLE_HOME
/u01/oracle/Oradb11g
[oracle@VM1 oracle]$ echo $ORACLE_SID
ALFA
[oracle@VM1 oracle]$ echo $PATH
/u01/oracle/Oradb11g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
[oracle@VM1 oracle]$
Both databases are running including :
- listener 1521 for 10g and 1525 for 11g-
*10g:*
[oracle@VM1 ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-JAN-2013 06:42:27
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1521*)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 04-JAN-2013 05:25:12
Uptime 0 days 1 hr. 17 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/app/OraDb10g/network/admin/listener.ora
Listener Log File /home/oracle/app/OraDb10g/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "*BETA.azucarera_rioturbio.com.ve*" has 1 instance(s).
Instance "BETA", status READY, has 1 handler(s) for this service...
Service "BETAXDB.azucarera_rioturbio.com.ve" has 1 instance(s).
Instance "BETA", status READY, has 1 handler(s) for this service...
Service "BETA_XPT.azucarera_rioturbio.com.ve" has 1 instance(s).
Instance "BETA", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@VM1 ~]$
*11g:*
[oracle@VM1 oracle]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-JAN-2013 06:43:25
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1525*)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 04-JAN-2013 05:23:02
Uptime 0 days 1 hr. 20 min. 22 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/oracle/Oradb11g/network/admin/listener.ora
Listener Log File /u01/oracle/diag/tnslsnr/VM1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1525)))
Services Summary...
Service "*ALFA.rioturbio.com.ve*" has 1 instance(s).
Instance "ALFA", status READY, has 1 handler(s) for this service...
Service "ALFAXDB.rioturbio.com.ve" has 1 instance(s).
Instance "ALFA", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@VM1 oracle]$
- Instances and Enterprise Manager Database Control:
*10g:*
[oracle@VM1 ~]$ emctl status dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://VM1.rioturbio.com.ve:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
Logs are generated in directory /home/oracle/app/OraDb10g/VM1.rioturbio.com.ve_BETA/sysman/log
[oracle@VM1 ~]$
*11g:*
[oracle@VM1 oracle]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://VM1.rioturbio.com.ve:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
Logs are generated in directory /u01/oracle/Oradb11g/VM1.rioturbio.com.ve_ALFA/sysman/log
[oracle@VM1 oracle]$
The problem happen when i try to access the 11g instance using sqlplus:
[oracle@VM1 oracle]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:46:55 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> show sga
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
SQL>
or
[oracle@VM1 oracle]$ sqlplus system/Oradba11g
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:47:43 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name:
However when access is performed using a TNS service connection it works....!
See:
[oracle@VM1 oracle]$ sqlplus system/Oradba11g@alfa
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:48:48 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
SQL> show sga
Total System Global Area 1043886080 bytes
Fixed Size 2219952 bytes
Variable Size 620757072 bytes
Database Buffers 415236096 bytes
Redo Buffers 5672960 bytes
SQL>
Which seems to be the problem here? Why can't i connect to the 11g instance using sqlplus?. I don't think it is related to enviroment since access can be done using local naming service.
Please help ...!
PD: i did not replace scripts on /usr/local/bin when installing 11g.myluism wrote:
Hi all. I have the following scenario.
See embedded comments below
- Two Oracle versions and instances on the same box (10g Rel2 and 11g Rel2).
- Due to lack of disk space i installed 11g on another ORACLE_BASE / ORACLE_HOME:
- Initial enviroment (10g):
[oracle@VM1 ~]$ echo $ORACLE_BASE
/home/oracle/app
[oracle@VM1 ~]$ echo $ORACLE_HOME
/home/oracle/app/OraDb10g
[oracle@VM1 ~]$ echo $ORACLE_SID
BETA
[oracle@VM1 ~]$ echo $PATH
/home/oracle/app/OraDb10g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
- 11g related values:
[oracle@VM1 oracle]$ echo $ORACLE_BASE
/u01/oracle
[oracle@VM1 oracle]$ echo $ORACLE_HOME
/u01/oracle/Oradb11g
[oracle@VM1 oracle]$ echo $ORACLE_SID
ALFA
[oracle@VM1 oracle]$ echo $PATH
/u01/oracle/Oradb11g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
[oracle@VM1 oracle]$
Both databases are running including :
- listener 1521 for 10g and 1525 for 11g-
An unnecessary complication that achieves nothing. A single listener, using the default name LISTENER and the default port 1521 is quite capable of -- WAS DESIGNED TO -- service multiple database instances of multiple versions running from multiple homes. In a multi-version environment, you'll want to use the listener from the highest version.
*10g:*
[oracle@VM1 ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-JAN-2013 06:42:27
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1521*)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 04-JAN-2013 05:25:12
Uptime 0 days 1 hr. 17 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/app/OraDb10g/network/admin/listener.ora
Listener Log File /home/oracle/app/OraDb10g/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "*BETA.azucarera_rioturbio.com.ve*" has 1 instance(s).
Instance "BETA", status READY, has 1 handler(s) for this service...
Service "BETAXDB.azucarera_rioturbio.com.ve" has 1 instance(s).
Instance "BETA", status READY, has 1 handler(s) for this service...
Service "BETA_XPT.azucarera_rioturbio.com.ve" has 1 instance(s).
Instance "BETA", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@VM1 ~]$
*11g:*
[oracle@VM1 oracle]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-JAN-2013 06:43:25
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1525*)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 04-JAN-2013 05:23:02
Uptime 0 days 1 hr. 20 min. 22 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/oracle/Oradb11g/network/admin/listener.ora
Listener Log File /u01/oracle/diag/tnslsnr/VM1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1525)))
Services Summary...
Service "*ALFA.rioturbio.com.ve*" has 1 instance(s).
Instance "ALFA", status READY, has 1 handler(s) for this service...
Service "ALFAXDB.rioturbio.com.ve" has 1 instance(s).
Instance "ALFA", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@VM1 oracle]$
- Instances and Enterprise Manager Database Control:
*10g:*
[oracle@VM1 ~]$ emctl status dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://VM1.rioturbio.com.ve:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
Logs are generated in directory /home/oracle/app/OraDb10g/VM1.rioturbio.com.ve_BETA/sysman/log
[oracle@VM1 ~]$
*11g:*
[oracle@VM1 oracle]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://VM1.rioturbio.com.ve:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
Logs are generated in directory /u01/oracle/Oradb11g/VM1.rioturbio.com.ve_ALFA/sysman/log
[oracle@VM1 oracle]$
The problem happen when i try to access the 11g instance using sqlplus:
[oracle@VM1 oracle]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:46:55 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
What was the setting of ORACLE_SID when you did this?
SQL> show sga
ORA-01034: ORACLE not availablewell, of course you get ORACLE not available. It already told you "Connected to an idle instance" . There is no running instance of the current value of ORACLE_SID.
Process ID: 0
Session ID: 0 Serial number: 0
SQL>
or
[oracle@VM1 oracle]$ sqlplus system/Oradba11g
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:47:43 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name:
However when access is performed using a TNS service connection it works....!
Because when you connect with TNS, you are no longer dependent on the current setting of $ORACLE_SID.
See:
[oracle@VM1 oracle]$ sqlplus system/Oradba11g@alfa
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:48:48 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
SQL> show sga
Total System Global Area 1043886080 bytes
Fixed Size 2219952 bytes
Variable Size 620757072 bytes
Database Buffers 415236096 bytes
Redo Buffers 5672960 bytes
SQL>
Which seems to be the problem here? Why can't i connect to the 11g instance using sqlplus?. I don't think it is related to enviroment since access can be done using local naming service.Regardless of what you think, It is absolutely, 100% related to your environment settings.
>
Please help ...!repeat your above demo, but with this modification
id
cat /etc/oratab
env |grep ORA | sort
echo $PATH
sqlplus / as sysdbaIn a multi-db environment, you need to always set your environment before trying to work with any database. The easiest way is to use the oracle utility 'oraenv'
oracle:orcl$ . oraenv
ORACLE_SID = [orcl] ? dwsbx
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 is /u01/app/oracle
oracle:dwsbx$ echo $ORACLE_SID
dwsbx
oracle:dwsbx$Notice the command is 'dot space oraenv'
>
PD: i did not replace scripts on /usr/local/bin when installing 11g. -
What is meant by the term 'IDLE Instance'?
Hi
Sometimes i get the following message when connecting to an Oracle10g database
'Connected to an idle instance'
Can some expalin what the term 'idle' means? My database is running according to the MMC
ThanksHi,
An idle instance is an instance which is not start.
E:\oracle\ora102>sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Fri Apr 7 21:36:05 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
E:\oracle\ora102>sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Fri Apr 7 21:36:44 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL>
My database is running according to the MMCDon't understand what is MMC ?
Nicolas. -
Unable to Login to Idle Instance from SQL*Plus in windows
Hello,
I'm cloning the db from windows to windows enviornment. At auxilary instance after configuring the Listener and making Password file to right folder when I try to connect to Idle Instance through sql*plus by follwring connad
c:\sqlplus sys/password as sysdba
It gives me ORA-12518 Tns: Listener could not hand off client conenction error
Then I put the follwing parameter in listener.ora DIRECT_HANDOFF_TTC_LISTENER=OFF and restart listener and then try to connect it gives me Ora-12560: TNS protocol adapter error.
I try to connect through tnsnames but give me same error.
Kindly tell me how to resolve this issue as its not allowing me to connect to an idle instance so that I can go further.
I'm using 10gR2 on windows server 2003.
Regards,
Abbasifollow the steps to clone database:
# 1. Backup the source database.
To use RMAN duplicate an RMAN backup of the source database is required. If there is already one available, skip to step 2. If not, here is a quick example of how to produce an RMAN backup. This example assumes that there is no recovery catalog available:
rman target sys@<source database> nocatalog
RMAN>backup database plus archivelog ;
RMAN> backup archivelog all;
This will backup the database and archive logs.
# 2. Produce a pfile for the new database
This step assumes that the source database is using a spfile. If that is not the case, simply make a copy the existing pfile.
Connect to the source database as sysdba and run the following:
create pfile='init<new database sid>.ora' from spfile;
This will create a new pfile in the $ORACLE_HOME/database directory.
The new pfile will need to be edited immediately. If the cloned database is to have a different name to the source, this will need to be changed, as will any paths. Review the contents of the file and make alterations as necessary.
Because in this example the cloned database will reside on the same machine as the source, Oracle must be told how convert the filenames during the RMAN duplicate operation. This is achieved by adding the following lines to the newly created pfile:
db_file_name_convert=(<source_db_path>,<target_db_path>)
log_file_name_convert=(<source_db_path>,<target_db_path>)
# 3. Create bdump, udump & cdump directories
Create bdump, udump & cdump directories as specified in the pfile
# 4. Create a service
c:/>oradim –new –sid <clonedatabasename> –intpwd <pwd>
eg:
c:>oradim –new –sid clonedb –intpwd oracle
# 6. Duplicate the database
From sqlplus, start the instance up in nomount mode:
startup nomount
Exit sqlplus, start RMAN and duplicate the database. As in step 1, it is assumed that no recovery catalog is available. If one is available, simply amend the RMAN command to include it.
rman target sys@<source_database> nocatalog auxiliary /
duplicate target database to <clone database name>;
thats it
For RMAN Cloning refer:
follow the documentation replace the destinations/locations with your location/folder/destination in source and target database.
http://www.dba-oracle.com/t_copy_clone_windows_database.htm
http://www.shutdownabort.com/quickguides/clone_rman.php
http://www.akadia.com/services/ora_duplicate_database_rman.html
for manual cloning in windows refer the link below:
http://coskan.wordpress.com/2007/04/20/adding-new-database-to-windows-without-dbca-or-rman-clone-or-rman-restore/ -
When I set oraenv to O10G and use sqlplus /nolog, connect / as sysdba, it always says Connected to an idle instance. However, when I do sqlplus sys/oracle@O10G as sysdba, I get connected to either O10G1. Is this normal or did I miss something?
ThanksI am learning how to install and run oracle on linux.I have installed it on centOS 4.2 together with a startup general purpose database.I want to log in and I'm giving $sqlplus / as sysdba .It does not show anything about being connected to Oracle 10g but instead it brings up only 3lines 1. SQL*Plus Release info 2. Copyright info and 3.Connected to an idle instance .Thereafter it brings the sql prompt. A command startup pops two lines of errors after that. 1. Ora-01078: Failure in processing system parameters
2. LRM-00109: could not open parameter file '/oracle/10g/dbs/initrpc.ora'
rpc in initrpc is my SID, oracle is my base and oracle/10g is my home. I have set the necessary variables in /home/oracle/.bash_profile and parameters in sysctl.conf and refreshed the settings with /sbin/sysctl -p command.
Help.I am following a tutorial on http://www.dizwell.com/prod/node/50?page=0%2C4 and that's the page I am stuck on. -
Hi,
my database is running fine . But it is showing as idle instance while connection as sysdba. I am able to connect using tnsentry .
how to fix this?
DB version: 10.2.0.1 experess edition -- Linux
Log
$sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 29 06:11:22 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> exit
Disconnected
$ echo $ORACLE_SID
XE
$sqlplus system@xe
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 29 06:11:45 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL>user2017273 wrote:
Hi,
my database is running fine . But it is showing as idle instance while connection as sysdba. I am able to connect using tnsentry .
how to fix this?
DB version: 10.2.0.1 experess edition -- Linux
Log
$sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 29 06:11:22 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> exit
Disconnected
$ echo $ORACLE_SID
XE
$sqlplus system@xe
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 29 06:11:45 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL>with *NIX ORACLE_SID is CaseSensitive
"XE" does not equal "xe" -
Hi all,
I am using Oracle 10.2.0.
How to connect an idle instance from client system using SQL*Plus.
ThankxThanks Amardeep,
I opened sql*plus and typed in user field as /nolog.
And did as:
SQL> connect as sys@db as sysdba;
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[<password>][@<connect_identifier>] | /.
I am getting error.
Is the correct process what i did.
Thanks -
Moved Oracle 11.2 XE Directory, Connected to Idle Instance
So I will start off by stating I have moved the regular install location of Oracle 11.2 XE to a logical volume (/oracle) I had created on my RHEL 6.6 server. After shutting down both the database and the Oracle listener, I performed...
$ cp -R /u01/app/* /oracle
$ rm -rf /u01/app/oracl
$ ln -s /oracle/oracle /u01/app/oracle
Then restarted the listener and the database. Now when I attempt to run the following as the user 'oracle' I get a message...
$ sqlplus
Enter user-name: sys / as sysdba
Enter password: ****
Connected to idle instance.
Further, when I attempt a startup I get an error.
> startup
ORA-45301: XE Edition single instance violation error
I have attempted the solutions found to no avail.
Here is the output for my listener controller:
bash-4.1$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 10-MAR-2015 10:26:25
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 10-MAR-2015 10:25:57
Uptime 0 days 0 hr. 0 min. 28 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/dev/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dev)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
I'm really quite lost as to what to attempt next. I know I could just reinstall and keep the directory in its proper location but I need it to be in it's own logical volume.
Some further information to help clarify my system...
bash-4.1$ env | grep ORA
ORACLE_SID=XE
ORACLE_BASE=/oracle/oracle
ORACLE_HOME=/oracle/oracle/product/11.2.0/xe
bash-4.1$ env | grep TNS
TNS_ADMIN=/oracle/oracle/product/11.2.0/xe/network/admin
bash-4.1$ ps -aux | grep pmon
oracle 2431 0.0 0.2 1265956 16652 ? Ss 11:43 0:00 xe_pmon_XE
EDIT
Attempting to sign in to sqlplus using the SYSTEM user returned an error:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
FURTHER EDIT
Output of the ipcs command
bash-4.1$ ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0xc0a59444 32768 oracle 660 4096 0
------ Semaphore Arrays --------
key semid owner perms nsems
0xd4a9963c 229378 oracle 660 104
0x884d8f34 491523 oracle 660 104
------ Message Queues --------
key msqid owner perms used-bytes messagesAlready solved this issue. The problem was due to incorrect set of env variables:
export ORACLE_BASE=/home/oracle/
export ORACLE_HOME=$ORACLE_BASE/11G
resulted:
ORACLE_HOME=/home/oracle//11G
Linux is capable of retrieving directory content if path is set with *"//"* but seems like oracle does not. Due to this I've got this error. After resetting ORACLE_HOME variable, everything worked.
Maybe you are looking for
-
Hi Experts, I have created z report for my z cube. I want to develop a report as "Spend by Plant Country". Problem: If i put 0VENDOR in the row area in the query designer and after executing the report if i follow the navigation: In the Analyzer> rig
-
Is it posssible to make plahylists in the library on the pc in itunes?
i have been told that i shouldnt delete songs from my library even if i have converted them to my iphone device on the pc cause next time i will syns my ihpne to pc the songs will be deletred from my iphone as well.the list in the library under the m
-
Force Windows New Line Character
Hi, I've a problem with new line character. I am in Windows platform but when I write a file with a BufferedWitter with println I obtain the character "\n" x0D like separator (Unix Separator). My System property line.separator is "\r\n". Can someone
-
From line on emails shows incorrectly
i belong to a group where i must send an email to the entire group at once, because it is a group mail it will also come to my inbox. the problem is the "from" line shows someone else's email, when i send the same email from my other email client the
-
Upgrade MS SQL 2005 to MS SQL 2008 (R2) for High-Availability SAP ERP System
Hi, We are having ECC 6.0 SR3 Hight-Availability system on windows cluster environment. Our platform is Windows Server 2008 SR2 with MS SQL Server 2005 SR3. We have two nodes in our windows cluster. Active-passive nodes. Node-1 is having CI, ASCS, E