ORA-01034: ORACLE not available...WHY?!?!?!?
437871Sep 7 2005 — edited Sep 7 2005I have spent the whole day on metalink, OTN, everywhere trying to figure this out. I need your guys expertise now. When I create the DB on my HP-Unix server, it creates fine, but when I try and connect to it as SYS or SYSTEM, I get the following error:
oracle9@cs08> export ORACLE_SID=rmancat
oracle9@cs08> echo $ORACLE_SID
rmancat
oracle9@cs08> sqlplus /nolog
SQL*Plus: Release 9.2.0.4.0 - Production on Tue Sep 6 16:40:24 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 202862456 bytes
Fixed Size 737144 bytes
Variable Size 167772160 bytes
Database Buffers 33554432 bytes
Redo Buffers 798720 bytes
Database mounted.
Database opened.
SQL> conn system/manager
Connected.
SQL> select name from v$database;
NAME
---------
RMANCAT
SQL> conn system/manager@rmancat
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory
Warning: You are no longer connected to ORACLE.
SQL>
Here are the steps that I did when I created the DB.
1. in the host I ran:
orapwd file=/appl/oracle/product/9.2.0/dbs/orapwrmancat password=password entries=5
2. Then I did the following.
oracle9@cs08> export ORACLE_SID=rmancat
oracle9@cs08> echo $ORACLE_SID
rmancat
oracle9@cs08> sqlplus /nolog
SQL*Plus: Release 9.2.0.4.0 - Production on Tue Sep 6 16:40:24 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn / as sysdba
Connected to an idle instance.
SQL>@/rmancat/createdb.sql
3. After this, I ran the catalog.sql, catproc.sql and catexp.sql
4. That's all.
So when I try and connect to the DB as a DB user, I get:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory
What happened to this. On metalink it tells me that my ORACLE_HOME and ORACLE_SID are wrong but I verified this 3 times. I am running both ver. 8i and 9i. Here are the values for ORACLE_BASE, ORACLE_HOME,
oracle9@cs08> export ORACLE_SID=rmancat
oracle9@cs08> echo $ORACLE_SID
rmancat
oracle9@cs08> echo $ORACLE_HOME
/appl/oracle/product/9.2.0
oracle9@cs08> echo $ORACLE_BASE
/appl/oracle
oracle9@cs08>
Any advice?