Home » RDBMS Server » Server Administration » could not connect to oracle db
could not connect to oracle db [message #181499] Mon, 10 July 2006 06:07 Go to next message
antz1116
Messages: 5
Registered: July 2006
Junior Member
Hi!

I am using Oracle on Solaris and I could not connect to the db becuase of the following:

bash-2.03$ sqlplus /nolog

SQL*Plus: Release 9.2.0.1.0 - Production on Mon Jul 10 18:57:09 2006

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

SQL> connect ts/ts@TS
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory


Please advise.

Thank you.
Re: could not connect to oracle db [message #181500 is a reply to message #181499] Mon, 10 July 2006 06:10 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
The database is not up. Start it.
And next time, first search this site or Google for your error number. You would have gotten a zillion hits.
Re: could not connect to oracle db [message #181504 is a reply to message #181500] Mon, 10 July 2006 06:12 Go to previous messageGo to next message
antz1116
Messages: 5
Registered: July 2006
Junior Member
Hi,

I already started the db using

dbstart

and started the listener using

lsnrctl start

and I still get this error.

Please advise
Re: could not connect to oracle db [message #181505 is a reply to message #181504] Mon, 10 July 2006 06:14 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
is your database in the oratab?
Re: could not connect to oracle db [message #181507 is a reply to message #181499] Mon, 10 July 2006 06:15 Go to previous messageGo to next message
antz1116
Messages: 5
Registered: July 2006
Junior Member
I am new to oracle. What is oratab?
Re: could not connect to oracle db [message #181508 is a reply to message #181507] Mon, 10 July 2006 06:18 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
How did you know to use dbstart?
Re: could not connect to oracle db [message #181510 is a reply to message #181499] Mon, 10 July 2006 06:21 Go to previous messageGo to next message
antz1116
Messages: 5
Registered: July 2006
Junior Member
I use dbstart in the command line

/export/home1/oracle/OracleHome/bin/dbstart
Re: could not connect to oracle db [message #181511 is a reply to message #181510] Mon, 10 July 2006 06:24 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
did you google?
I found this link
Does this help you?
Re: could not connect to oracle db [message #181517 is a reply to message #181499] Mon, 10 July 2006 06:50 Go to previous messageGo to next message
antz1116
Messages: 5
Registered: July 2006
Junior Member
hi,

I edited the oratab file to start the db instances at start up then rebooted the machine. but i still get the same problem.

please advise.
Re: could not connect to oracle db [message #181558 is a reply to message #181517] Mon, 10 July 2006 09:05 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
Is your oratab read at machine-reboot?

(here my unix-dba knowledge kind of stops, so moved to server admin forum)

[Updated on: Mon, 10 July 2006 09:07]

Report message to a moderator

Re: could not connect to oracle db [message #181570 is a reply to message #181558] Mon, 10 July 2006 10:49 Go to previous message
ThomasG
Messages: 3212
Registered: April 2005
Location: Heilbronn, Germany
Senior Member
You could also try to start the DB from the SQLPlus prompt if you are the oracle user, to see if there are problems during startup, like :

$> export ORACLE_SID=TS
$> sqlplus /nolog

SQL*Plus: Release 9.2.0.6.0 - Production on Mo Jul 10 17:45:37 2006

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

SQL> connect / as sysdba
Connected.

SQL> startup;
ORACLE instance started.

Total System Global Area  253199856 bytes
Fixed Size                   742896 bytes
Variable Size             218103808 bytes
Database Buffers           33554432 bytes
Redo Buffers                 798720 bytes
Database mounted.
Database opened.
SQL>



Previous Topic: system tablespace = assm AUTO ??
Next Topic: moving table from one scheme to another
Goto Forum:
  


Current Time: Fri Sep 20 10:44:02 CDT 2024