Unable to connect to Oracle DB (11g R2) [message #664387] |
Sat, 15 July 2017 02:14  |
 |
kaos.tissue
Messages: 94 Registered: May 2017
|
Member |
|
|
I have been trying to connect to the Oracle DB using sqlplus and sql developer too but both are unable to connect. When I try to connect, it gives me the following error. Yesterday windows update took place and after that it has been not working.
C:\Users\abc>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jul 15 12:34:14 2017
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
When I try to connect with a different user:
SQL> connect hd/hd
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.
I tried with the EM and here is the summary:
Database Instance
Host: abc-PC
Port: 1521
SID: mydb
Oracle Home: D:\app\abc\product\11.2.0\dbhome_1
Listener
Status: Down
Host: abc-PC
Port: 1521
Name: LISTENER
Oracle Home: D:\app\abc\product\11.2.0\dbhome_1
Location: D:\app\kaos\product\11.2.0\dbhome_1\NETWORK\ADMIN
Details: Although a Listener with name "LISTENER", is running on this host at port: "1521", it was not started using this target's "LISTENER.ORA" file. CORRECTIVE ACTION: To monitor this "EM Listener Target" with its present configuration, you must stop the currently running listener process, and start it again using the Listener Parameter file: D:\app\kaos\product\11.2.0\dbhome_1\NETWORK\ADMIN/listener.ora . Alternatively, you can update this target's "LISTENER.ORA Location" parameter with the location of the currently running Listener, which was started using: D:\app\abc\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
The thing is the location mentioned above i.e. "D:\app\kaos\product\11.2.0\dbhome_1\NETWORK\ADMIN/listener.ora" does not exist. How do I correct this? Please help. The second location i.e. " D:\app\abc\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora" is the correct location.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|