Can't access database after power outage
I could access the database before the power outage. From what I've read, it is a problem with the environment variables, but they are correct. Not sure what else to add.
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))
)
)