<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sqlplus in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103027#M807610</link>
    <description>Can you give us the output of:&lt;BR /&gt;set | grep -i ora&lt;BR /&gt;and check the alertfile, whether oracle has any problems since last startup.&lt;BR /&gt;Do you just execute sqlplus and then type user/password?&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
    <pubDate>Mon, 27 Oct 2003 10:28:21 GMT</pubDate>
    <dc:creator>Michael Schulte zur Sur</dc:creator>
    <dc:date>2003-10-27T10:28:21Z</dc:date>
    <item>
      <title>sqlplus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103023#M807606</link>
      <description>Hi all;&lt;BR /&gt;I am logged on hp-unix 11:00 box and trying to&lt;BR /&gt;log to sqlplus. I have exports in my .profile&lt;BR /&gt;for ORACLE_SID ,CLASSPATH LD_LIBRARY_PATH etc&lt;BR /&gt;and proper Path etc&lt;BR /&gt;but when I type my in sqlplus id I get an error message &lt;BR /&gt;&lt;BR /&gt;ORA-01034: ORACLE not available&lt;BR /&gt;ORA-27101: shared memory realm does not exist&lt;BR /&gt;HP-UX Error: 2: No such file or directory&lt;BR /&gt;Any clue what could nbe happeing.&lt;BR /&gt;Thanks for help.&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Oct 2003 09:36:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103023#M807606</guid>
      <dc:creator>Cathy Arora</dc:creator>
      <dc:date>2003-10-27T09:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103024#M807607</link>
      <description>i think your database is not available OR you are working with a wrong ORACLE_HOME directory.&lt;BR /&gt;To check your database, do a&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep pmon&lt;BR /&gt;&lt;BR /&gt;and see your database listed.&lt;BR /&gt;Also check your oracle installation path. there may be multiple directories.&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Oct 2003 09:39:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103024#M807607</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-10-27T09:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103025#M807608</link>
      <description>The error says it all. &lt;BR /&gt;Oracle not available.&lt;BR /&gt;&lt;BR /&gt;Is the box you are logged into the same box that runs the database?&lt;BR /&gt;&lt;BR /&gt;If so, check your sid (echo $ORACLE_SID), and ask the DBA ti check the database for that SID.&lt;BR /&gt;&lt;BR /&gt;If not, you need to specify a database location to sqlplus (eg sqlplus myid@database)&lt;BR /&gt;&lt;BR /&gt;-- Graham</description>
      <pubDate>Mon, 27 Oct 2003 09:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103025#M807608</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-10-27T09:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103026#M807609</link>
      <description>Thanks to try to help&lt;BR /&gt;oracle sid is OK. pmon is running. database is up.&lt;BR /&gt;is it possible that id is wrong? &lt;BR /&gt;</description>
      <pubDate>Mon, 27 Oct 2003 10:11:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103026#M807609</guid>
      <dc:creator>Cathy Arora</dc:creator>
      <dc:date>2003-10-27T10:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103027#M807610</link>
      <description>Can you give us the output of:&lt;BR /&gt;set | grep -i ora&lt;BR /&gt;and check the alertfile, whether oracle has any problems since last startup.&lt;BR /&gt;Do you just execute sqlplus and then type user/password?&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Oct 2003 10:28:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103027#M807610</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2003-10-27T10:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103028#M807611</link>
      <description>Doc ID: &lt;BR /&gt;Note:122183.1&lt;BR /&gt;Subject: &lt;BR /&gt;ORA-27101 "Shared Memory Realm Does Not&lt;BR /&gt;Exist" Connecting Via Net8&lt;BR /&gt;Type: &lt;BR /&gt;PROBLEM&lt;BR /&gt;Status: &lt;BR /&gt;REVIEWED&lt;BR /&gt;&lt;BR /&gt;Content Type: &lt;BR /&gt;TEXT/PLAIN&lt;BR /&gt;Creation Date: &lt;BR /&gt;17-OCT-2000&lt;BR /&gt;Last Revision Date: &lt;BR /&gt;29-DEC-2000&lt;BR /&gt;Language: &lt;BR /&gt;USAENG&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*************************************************************&lt;BR /&gt;This article is being delivered in Draft form and may contain&lt;BR /&gt;errors. Please use the MetaLink "Feedback" button to advise&lt;BR /&gt;Oracle of any issues related to this article.&lt;BR /&gt;*************************************************************&lt;BR /&gt;&lt;BR /&gt;Problem Description&lt;BR /&gt;-------------------&lt;BR /&gt;&lt;BR /&gt;You are attempting a client connection to an 8i database via&lt;BR /&gt;sqlplus and receive the following errors:&lt;BR /&gt;&lt;BR /&gt;ERROR:&lt;BR /&gt;ORA-01034: ORACLE not available&lt;BR /&gt;ORA-27101: shared memory realm does not exist&lt;BR /&gt;SVR4 Error: 2: No such file or directory&lt;BR /&gt;&lt;BR /&gt;You have installed 8.1.7 on the same server in a seperate&lt;BR /&gt;ORACLE_HOME.&lt;BR /&gt;&lt;BR /&gt;Solution Description&lt;BR /&gt;--------------------&lt;BR /&gt;&lt;BR /&gt;1) For local (BEQ) connections:&lt;BR /&gt;&lt;BR /&gt;Verify that ORACLE_SID is set and points to a valid 8.1.7&lt;BR /&gt;database which is up and running.&lt;BR /&gt;&lt;BR /&gt;% echo $ORACLE_SID&lt;BR /&gt;junk&lt;BR /&gt;&lt;BR /&gt;% ps -ef |grep smon&lt;BR /&gt;oracle 24603 1 0 15:22:51 ? 0:02 ora_smon_JUNK&lt;BR /&gt;&lt;BR /&gt;In this scenario, as ORACLE_SID is case-sensitive on the Unix&lt;BR /&gt;platform, a database called 'junk' isn't running. The fix would&lt;BR /&gt;be to set ORACLE_SID correctly or to the valid instance.&lt;BR /&gt;&lt;BR /&gt;% setenv ORACLE_SID JUNK&lt;BR /&gt;&lt;BR /&gt;2) For remote (TCP/listener) connections:&lt;BR /&gt;&lt;BR /&gt;Review the listener.ora currently used to startup the listener&lt;BR /&gt;and verify the ORACLE_HOME is correct for all listed 8i&lt;BR /&gt;databases.&lt;BR /&gt;&lt;BR /&gt;If the ORACLE_HOME points to the 8.1.7 software yet the database&lt;BR /&gt;was created with 8.1.6 or 8.1.5, then this error can occur.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Explanation&lt;BR /&gt;-----------&lt;BR /&gt;&lt;BR /&gt;Previously when the ORACLE_HOME or ORACLE_SID was set incorrectly,&lt;BR /&gt;in the 'oracle' or client user's environment, only ora-1034 was reported.&lt;BR /&gt;&lt;BR /&gt;ORA-01034 "ORACLE not available"&lt;BR /&gt;&lt;BR /&gt;With 8.1.7, the ora-27101 is reporting that the shared memory&lt;BR /&gt;key generated by the client doesn't match any currently &lt;BR /&gt;existing keys. This is to be expected if the ORACLE_HOME used by&lt;BR /&gt;the client isn't the same as the one used to startup the database&lt;BR /&gt;with or the ORACLE_SID is not correctly referencing the right&lt;BR /&gt;instance. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Additional Search Words&lt;BR /&gt;-----------------------&lt;BR /&gt;&lt;BR /&gt;listener, tnslsnr, parameter, hashing algorithm, attach, SGA&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Oct 2003 10:35:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103028#M807611</guid>
      <dc:creator>Paddy_1</dc:creator>
      <dc:date>2003-10-27T10:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: sqlplus</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103029#M807612</link>
      <description>&lt;BR /&gt;The shared memory id is calculated as a hash from ORACLE_HOME and ORACLE_SID. Maybe you listener.ora / tnsnames.ora do not match the environment used to start the DB?&lt;BR /&gt;&lt;BR /&gt;If you can't figure it out from there, then also check that oracle has setuid (+s)&lt;BR /&gt;&lt;BR /&gt;ls -l $ORACLE_HOME/bin/oracle:&lt;BR /&gt;-rwsr-sr-x ... oracle&lt;BR /&gt;&lt;BR /&gt;chmod 7755 $ORACLE_HOME/bin/oracle&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Oct 2003 10:51:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus/m-p/3103029#M807612</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2003-10-27T10:51:54Z</dc:date>
    </item>
  </channel>
</rss>

