Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 24228 invoked from network); 19 Sep 2007 12:00:14 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 19 Sep 2007 12:00:14 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 527BE75DB7C;
 Wed, 19 Sep 2007 13:00:15 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 10465-08; Wed, 19 Sep 2007 13:00:15 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BE45375DA1F;
 Wed, 19 Sep 2007 13:00:14 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 19 Sep 2007 12:15:14 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 2E00A75BCE1
 for <oracle-l@freelists.org>; Wed, 19 Sep 2007 12:15:14 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 32655-02 for <oracle-l@freelists.org>;
 Wed, 19 Sep 2007 12:15:14 -0400 (EDT)
Received: from mx01.il.proquest.com (mx00.il.proquest.com [192.195.245.51])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id F0B0875BEF2
 for <oracle-l@freelists.org>; Wed, 19 Sep 2007 12:15:13 -0400 (EDT)
X-ASG-Debug-ID: 1190218512-417e00090000-JbYmij
X-Barracuda-URL: http://spam.il.proquest.com:8000/cgi-bin/mark.cgi
X-Barracuda-Connect: aabo-exchange04.bos.il.pqe[172.24.3.208]
X-Barracuda-Start-Time: 1190218512
X-ASG-Whitelist:  Client
Received: from AABO-EXCHANGE04.bos.il.pqe (aabo-exchange04.bos.il.pqe [172.24.3.208])
 by mx01.il.proquest.com (Spam Firewall) with ESMTP
 id 02992D0000B9; Wed, 19 Sep 2007 12:15:13 -0400 (EDT)
Received: from AABO-EXCHANGE02.bos.il.pqe ([172.24.3.202]) by AABO-EXCHANGE04.bos.il.pqe with Microsoft SMTPSVC(6.0.3790.3959);
	 Wed, 19 Sep 2007 12:15:12 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by Ecartis
X-ASG-Orig-Subj: RE: fixing a bad oracle install
Subject: RE: fixing a bad oracle install
Date: Wed, 19 Sep 2007 12:14:19 -0400
Message-ID: <AA29A27627F842409E1D18FB19CDCF270D696FBA@AABO-EXCHANGE02.bos.il.pqe>
In-reply-to: <091920071500.8838.46F13997000F3630000022862200751150079D9A00000E09A1020E979D@comcast.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: fixing a bad oracle install
References: <091920071500.8838.46F13997000F3630000022862200751150079D9A00000E09A1020E979D@comcast.net>
From: "Bobak, Mark" <Mark.Bobak@il.proquest.com>
To: <ryan_gaffuri@comcast.net>,
 <oracle-l@freelists.org>
X-OriginalArrivalTime: 19 Sep 2007 16:15:12.0327 (UTC) FILETIME=[41914D70:01C7FAD8]
X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at il.proquest.com
X-archive-position: 1704
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: Mark.Bobak@il.proquest.com
Precedence: normal
Reply-to: Mark.Bobak@il.proquest.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain

Ryan,

The ORA-1034 error means one of two things:

1.)  The instance you're trying to connect to isn't up, so there's no shared memory segment to attach to.

2.)  The instance is up and running, but from the environment you're trying to connect from, either the ORACLE_HOME or ORACLE_SID is not set correctly.  When you set ORACLE_HOME and ORACLE_SID and startup an instance, Oracle uses a proprietary algorithm that combines the ORACLE_HOME and ORACLE_SID to come up with a shared memory key, which is used at shared memory segment creation time, i.e., when the SGA is allocated.  After that, further bequeath connections must have the same ORACLE_HOME and ORACLE_SID defined, so that they can define the same key value, and use it to attach to that existing SGA.  If the ORACLE_HOME and/or ORACLE_SID is set  incorrectly, the key value will be calculated incorrectly, and the server process will not be able to attach to the SGA shared memory segments.

Ok, there's a third thing.....if you're sure the above two items are not the issue, you could be running into a bug....


-Mark

--
Mark J. Bobak
Senior Database Administrator, System & Product Technologies
ProQuest
789 E. Eisenhower, Parkway, P.O. Box 1346
Ann Arbor MI 48106-1346
+1.734.997.4059  or +1.800.521.0600 x 4059
mark.bobak@il.proquest.com
www.proquest.com
www.csa.com

ProQuest...Start here. 


-----Original Message-----
From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of ryan_gaffuri@comcast.net
Sent: Wednesday, September 19, 2007 11:01 AM
To: oracle-l@freelists.org
Subject: fixing a bad oracle install

We were hitting shared memory errors. Googled it and this is common when an Oracle install is wrong. I looked into it and the kernel parameters were never set(I didnt do the install). This is in Redhat 5.0 with Oracle 10.2.0.1. Set the kernetl parameters and stepped through the install to make sure ulimit, etc... was correct. Started up the DB and got the same error. 

ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory

So I shut the DB down. did an export for a quick backup(its just development data). Uninstaled the software and then reinstalled. 

started up the DB and had the same problem. I had to make a new database and import the data to it to start over. I am ok for now, but for future reference, is any DB created with a bad install hosed and I have to make a new DB? The new DB works fine so far with the imported data. 
--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l


