﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / ORA - Oracle Database Error Codes - Search via specific error codes. / ORA-20000 Through ORA-29968  / ORA-27123: unable to attach to shared memory segment / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Fri, 10 Feb 2012 23:34:03 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: ORA-27123: unable to attach to shared memory segment</title><link>http://www.franklinfaces.com/Topic116-56-1.aspx</link><description>&lt;PRE&gt;&lt;STRONG&gt;$ &lt;/STRONG&gt;&lt;EM&gt;&lt;SPAN style="COLOR: #3366ff"&gt;sqlplus testusr/password@testdb&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR&gt;&lt;BR&gt;SQL*Plus: Release 10.2.0.2.0 - Production on Tue Jan 27 20:53:44 2009&lt;BR&gt;&lt;BR&gt;Copyright (c) 1982, 2005, Oracle. All Rights Reserved.&lt;BR&gt;&lt;BR&gt;ERROR:&lt;BR&gt;&lt;SPAN style="COLOR: #ff0000"&gt;ORA-01034: ORACLE not available&lt;BR&gt;ORA-27123: unable to attach to shared memory segment&lt;BR&gt;SVR4 Error: 13: Permission denied&lt;/SPAN&gt; &lt;/PRE&gt;&lt;STRONG&gt;As per Oracle Error Messages:&lt;BR&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;PRE&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Error: ORA-27123: unable to attach to shared memory segment&lt;/SPAN&gt;&lt;BR&gt;Cause: shmat() call failed&lt;BR&gt;Action: check permissions on segment, contact Oracle support&lt;/PRE&gt;&lt;STRONG&gt;Check the &lt;EM&gt;oracle&lt;/EM&gt; executable file permission.&lt;/STRONG&gt;&lt;BR&gt;&lt;BR&gt;&lt;PRE&gt;&lt;STRONG&gt;$&lt;/STRONG&gt; cd $ORACLE_HOME/bin&lt;BR&gt;&lt;STRONG&gt;$&lt;/STRONG&gt; ls -l oracle&lt;BR&gt;&lt;SPAN style="COLOR: #ff0000"&gt;-rwxrwxr-x&lt;/SPAN&gt; 1 oracle dba 119582976 Feb 3 2008 oracle&lt;/PRE&gt;Here the &lt;EM&gt;oracle&lt;/EM&gt; file permission has &lt;SPAN style="COLOR: #ff0000"&gt;&lt;EM&gt;-rwxrwxr-x&lt;/EM&gt;&lt;/SPAN&gt; i.e. 775, but this file must have the permission &lt;EM&gt;&lt;SPAN style="COLOR: #3366ff"&gt;-rwsr-s- -x&lt;/SPAN&gt;&lt;/EM&gt; i.e. 6751&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;Change the permissions for &lt;EM&gt;oracle&lt;/EM&gt; file.&lt;BR&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;PRE&gt;&lt;STRONG&gt;$&lt;/STRONG&gt; cd $ORACLE_HOME/bin&lt;BR&gt;&lt;STRONG&gt;$&lt;/STRONG&gt; &lt;SPAN style="COLOR: #ff0000"&gt;chmod 6751 oracle&lt;/SPAN&gt;&lt;BR&gt;&lt;STRONG&gt;$&lt;/STRONG&gt; ls -l oracle&lt;BR&gt;&lt;SPAN style="COLOR: #3366ff"&gt;-rwsr-s--x&lt;/SPAN&gt; 1 oracle dba 119582976 Feb 3 2008 oracle&lt;/PRE&gt;After changing the permissions on &lt;EM&gt;oracle&lt;/EM&gt; executable file, all the users are now able to connect to the database without any errors.&lt;BR&gt;</description><pubDate>Thu, 10 Jun 2010 12:59:12 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-27123: unable to attach to shared memory segment</title><link>http://www.franklinfaces.com/Topic116-56-1.aspx</link><description>&lt;FONT color=#3333dd&gt;Hi,&lt;/FONT&gt; &lt;P&gt;&lt;FONT color=#3333dd&gt;I am getting the following error message when using sqlplus to login to oracle.   I am logged in as my own unix account and not oracle.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:gguser@prodhost:/u01/home/gguser"&gt;gguser@prodhost:/u01/home/gguser&lt;/A&gt; &amp;gt; &lt;FONT color=#113311&gt;sqlplus ggadmin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;SQL*Plus: Release 9.2.0.4.0 - Production on Wed Apr 18 13:23:00 2009&lt;BR&gt;&lt;BR&gt;Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.&lt;BR&gt;&lt;BR&gt;Enter password:&lt;BR&gt;ERROR:&lt;BR&gt;ORA-01034: ORACLE not available&lt;BR&gt;ORA-27123: unable to attach to shared memory segment&lt;BR&gt;Error: 13: Permission denied&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Here is the solution to this error message:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;#  cd $ORACLE_HOME/bin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;#  ls -ltr oracle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;-rwxr-xrwx 1 oracle dba 74053740 Sep 04 2003 oracle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;The file permissions for "oracle" executable should be "-rwsr-s--x",  so that others can access the oracle environment from the same host.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;You need to shutdown the oracle database and then issue the command:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;cd $ORACLE_HOME/bin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;chmod 6751 oracle&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#113311&gt;ls -lr oracle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;rwsr-s--x 1 oracle dba 74053740 Sep 04 2003 oracle&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;After you do this, startup the oracle database and then try to connect .   This should have resolved the issue.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Hope this helps.&lt;/FONT&gt;&lt;BR&gt;</description><pubDate>Thu, 23 Apr 2009 10:24:22 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>
