Jump to content
carljong

Can't access database after power outage

Recommended Posts

I could access the database fine before the power outage.  From what I've read, it is an issue with the environment variables, but those are correct.  See below.

 

 

C:\Documents and Settings\konoca>sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 21 09:17:08 2018

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ERROR:
ORA-01031: insufficient privileges


Enter user-name: dbaprod
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist


Enter user-name:
C:\Documents and Settings\konoca>sqlplus dbaprod/Get0ut@firsp

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 21 09:17:54 2018

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ERROR:
ORA-12541: TNS:no listener


Enter user-name:


C:\Documents and Settings\konoca>lsnrctl stat

LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-FEB-2018 09:18
:46

Copyright (c) 1991, 2005, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.1.16)(PORT=1521)))

STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date                18-FEB-2018 08:52:13
Uptime                    3 days 0 hr. 26 min. 33 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   E:\oracle\product\10.2.0\network\admin\listener.ora
Listener Log File         E:\oracle\product\10.2.0\network\log\listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.1.16)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Services Summary...
Service "FIRSP" has 1 instance(s).
  Instance "FIRSP", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

C:\Documents and Settings\konoca>echo %ORACLE_HOME%
E:\oracle\product\10.2.0

C:\Documents and Settings\konoca>echo %ORACLE_SID%
firsp

C:\Documents and Settings\konoca>

# listener.ora Network Configuration File: E:\oracle\product\10.2.0\network\admin\listener.ora
# Generated by Oracle configuration tools.

#TRACE_LEVEL_LISTENER = SUPPORT
#TRACE_DIRECTORY_LISTENER = E:\oracle\product\10.2.0\network\trace
#TRACE_TIMESTAMP_LISTENER = ON

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = FIRSP)
      (ORACLE_HOME = E:\oracle\product\10.2.0)
      (PROGRAM = extproc)
    )
  )


LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.1.16)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
  )

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×