<?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: DBD-Oracle Problems. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dbd-oracle-problems/m-p/3471884#M704297</link>
    <description>Yea, there are several env. variables that should be set ahead of running the test cycle as pointed out the earlier post. Beside ORACLE_HOME and ORACLE_SID, I think there are also variables for user and passwords used to make the DB connection</description>
    <pubDate>Fri, 28 Jan 2005 09:02:51 GMT</pubDate>
    <dc:creator>Scott Tinsley</dc:creator>
    <dc:date>2005-01-28T09:02:51Z</dc:date>
    <item>
      <title>DBD-Oracle Problems.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dbd-oracle-problems/m-p/3471882#M704295</link>
      <description>I am having some DBD problmes and need some help.  I compiled DBD-Oracle-1.15, and was going through the make test, and the following errors occured:&lt;BR /&gt;&lt;BR /&gt;# make test&lt;BR /&gt;        make -f Makefile.aperl perl&lt;BR /&gt;`perl' is up to date.&lt;BR /&gt;        PERL_DL_NONLAZY=1 ./perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t&lt;BR /&gt;t/base.......ok&lt;BR /&gt;t/cursor.....Unable to connect to Oracle as perltest/perltest (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 (DBD ERROR: OCISessionBegin))&lt;BR /&gt;Tests skipped.&lt;BR /&gt;skipped&lt;BR /&gt;        all skipped: no reason given&lt;BR /&gt;t/general....DBI connect('','perltest/perltest',...) failed: 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 (DBD ERROR: OCISessionBegin) at t/general.t line 21&lt;BR /&gt;Unable to connect to Oracle (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 (DBD ERROR: OCISessionBegin))&lt;BR /&gt;Tests skiped.&lt;BR /&gt;skipped&lt;BR /&gt;        all skipped: no reason given&lt;BR /&gt;t/long.......DBI connect('','perltest/perltest',...) failed: 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 (DBD ERROR: OCISessionBegin) at t/long.t line 22&lt;BR /&gt;Unable to connect to Oracle (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 (DBD ERROR: OCISessionBegin))&lt;BR /&gt;Tests skiped.&lt;BR /&gt;skipped&lt;BR /&gt;        all skipped: no reason given&lt;BR /&gt;t/meta.......Unable to connect to Oracle as perltest/perltest (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 (DBD ERROR: OCISessionBegin))&lt;BR /&gt;Tests skipped.&lt;BR /&gt;skipped&lt;BR /&gt;        all skipped: no reason given&lt;BR /&gt;t/ph_type....DBI connect('','perltest/perltest',...) failed: 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 (DBD ERROR: OCISessionBegin) at t/ph_type.t line 26&lt;BR /&gt;Unable to connect to Oracle (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 (DBD ERROR: OCISessionBegin))&lt;BR /&gt;Tests skipped.&lt;BR /&gt;skipped&lt;BR /&gt;        all skipped: no reason given&lt;BR /&gt;t/plsql......Unable to connect to Oracle (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 (DBD ERROR: OCISessionBegin))&lt;BR /&gt;Tests skiped.&lt;BR /&gt;skipped&lt;BR /&gt;        all skipped: no reason given&lt;BR /&gt;t/reauth.....skipped&lt;BR /&gt;        all skipped: no reason given&lt;BR /&gt;t/select.....Unable to connect to Oracle (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 (DBD ERROR: OCISessionBegin))&lt;BR /&gt;Tests skiped.&lt;BR /&gt;skipped&lt;BR /&gt;        all skipped: no reason given&lt;BR /&gt;All tests successful, 8 tests skipped.&lt;BR /&gt;Files=9, Tests=5,  5 wallclock secs ( 2.74 cusr +  0.68 csys =  3.42 CPU)&lt;BR /&gt;        PERL_DL_NONLAZY=1 ./perl "-Iblib/lib" "-Iblib/arch" test.pl&lt;BR /&gt;Oraperl test application $Revision: 1.8 $&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Extra tests. These are less formal and you need to read the output&lt;BR /&gt;to see if it looks reasonable and matches what the tests says is expected.&lt;BR /&gt;&lt;BR /&gt;Oraperl emulation interface version 1.44&lt;BR /&gt;DBD::Oracle 1.15 using OCI8 by Tim Bunce&lt;BR /&gt;DBI 1.46 by Tim Bunce&lt;BR /&gt;&lt;BR /&gt;Data sources:&lt;BR /&gt;        dbi:Oracle:EXTPROC_CONNECTION_DATA.ENTP.ATTWS.COM&lt;BR /&gt;        dbi:Oracle:medciber&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Connecting&lt;BR /&gt; to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)&lt;BR /&gt; as 'perltest/perltest' (via ORACLE_USERID env var or default - recommend name/passwd@dbname)&lt;BR /&gt;(ORACLE_SID='medciber', TWO_TASK='')&lt;BR /&gt;DBI connect('','perltest/perltest',...) failed: 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 (DBD ERROR: OCISessionBegin) at /tmp/DBD-Oracle-1.15/blib/lib/Oraperl.pm line 97&lt;BR /&gt;ora_login: 1034: 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 (DBD ERROR: OCISessionBegin)&lt;BR /&gt;&lt;BR /&gt;ORACLE_SID or TWO_TASK possibly not right, or server not running.&lt;BR /&gt;&lt;BR /&gt;Generally set TWO_TASK or ORACLE_SID but not both at the same time.&lt;BR /&gt;Try to connect to the database using an oracle tool like sqlplus&lt;BR /&gt;only if that works should you suspect problems with DBD::Oracle.&lt;BR /&gt;Try leaving dbname value empty and set dbuser to name/passwd@dbname.&lt;BR /&gt;&lt;BR /&gt;Test aborted.&lt;BR /&gt;*** Error exit code 255&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Since the make was good, I went ahead with the make install anyhow.&lt;BR /&gt;&lt;BR /&gt;/tmp/DBD-Oracle-1.15&lt;BR /&gt;# perl test.pl&lt;BR /&gt;Oraperl test application $Revision: 1.8 $&lt;BR /&gt;install_driver(Oracle) failed: Can't locate loadable object for module DBD::Oracle in @INC (@INC contains: /tmp/DBD-Oracle-1.15/blib/arch /tmp/DBD-Oracle-1.15/blib/lib /opt/perl-5.8.6/lib/5.8.6/PA-RISC2.0-thread-multi-LP64 /opt/perl-5.8.6/lib/5.8.6 /opt/perl-5.8.6/lib/site_perl/5.8.6/PA-RISC2.0-thread-multi-LP64 /opt/perl-5.8.6/lib/site_perl/5.8.6 /opt/perl-5.8.6/lib/site_perl .) at (eval 3) line 3&lt;BR /&gt;Compilation failed in require at (eval 3) line 3.&lt;BR /&gt;Perhaps a module that DBD::Oracle requires hasn't been fully installed&lt;BR /&gt; at /tmp/DBD-Oracle-1.15/blib/lib/Oraperl.pm line 58&lt;BR /&gt;Compilation failed in require at (eval 2) line 1.&lt;BR /&gt;BEGIN failed--compilation aborted at (eval 2) line 1.</description>
      <pubDate>Wed, 26 Jan 2005 16:08:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dbd-oracle-problems/m-p/3471882#M704295</guid>
      <dc:creator>Patrick Ware_1</dc:creator>
      <dc:date>2005-01-26T16:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: DBD-Oracle Problems.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dbd-oracle-problems/m-p/3471883#M704296</link>
      <description>Patrick,&lt;BR /&gt;"Shared memory Realm" does not exist - means that Oracle is not up.  Bring up your database,&lt;BR /&gt;set your ORACLE_HOME and your ORACLE_SID in the environment that's trying to connect to Oracle.</description>
      <pubDate>Wed, 26 Jan 2005 19:31:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dbd-oracle-problems/m-p/3471883#M704296</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-01-26T19:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: DBD-Oracle Problems.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dbd-oracle-problems/m-p/3471884#M704297</link>
      <description>Yea, there are several env. variables that should be set ahead of running the test cycle as pointed out the earlier post. Beside ORACLE_HOME and ORACLE_SID, I think there are also variables for user and passwords used to make the DB connection</description>
      <pubDate>Fri, 28 Jan 2005 09:02:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dbd-oracle-problems/m-p/3471884#M704297</guid>
      <dc:creator>Scott Tinsley</dc:creator>
      <dc:date>2005-01-28T09:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: DBD-Oracle Problems.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dbd-oracle-problems/m-p/3471885#M704298</link>
      <description>All those environment variables were set, but for some reason the database was not recognized.</description>
      <pubDate>Fri, 28 Jan 2005 10:21:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dbd-oracle-problems/m-p/3471885#M704298</guid>
      <dc:creator>Patrick Ware_1</dc:creator>
      <dc:date>2005-01-28T10:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: DBD-Oracle Problems.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dbd-oracle-problems/m-p/3471886#M704299</link>
      <description>Did you install this tool into the SAME Oracle_HOME as the database ??? Or, is the tool installed on a remotely connected system.&lt;BR /&gt;&lt;BR /&gt;This info would help me tell what your problem is.&lt;BR /&gt;&lt;BR /&gt;I'm wondering if you're on a remote system and trying to use the Bequeath protocol when you should be using TCP.  I'm also wondering if you set the TWO_TASK variable.  Can you run "tnsping &lt;INSTANCE_NAME&gt;" to make a sqlnet connection?&lt;/INSTANCE_NAME&gt;</description>
      <pubDate>Sat, 29 Jan 2005 14:13:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dbd-oracle-problems/m-p/3471886#M704299</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-01-29T14:13:55Z</dc:date>
    </item>
  </channel>
</rss>

