- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DBD-Oracle Problems.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2005 08:08 AM
тАО01-26-2005 08:08 AM
DBD-Oracle Problems.
# make test
make -f Makefile.aperl perl
`perl' is up to date.
PERL_DL_NONLAZY=1 ./perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base.......ok
t/cursor.....Unable to connect to Oracle as perltest/perltest (ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin))
Tests skipped.
skipped
all skipped: no reason given
t/general....DBI connect('','perltest/perltest',...) failed: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin) at t/general.t line 21
Unable to connect to Oracle (ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin))
Tests skiped.
skipped
all skipped: no reason given
t/long.......DBI connect('','perltest/perltest',...) failed: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin) at t/long.t line 22
Unable to connect to Oracle (ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin))
Tests skiped.
skipped
all skipped: no reason given
t/meta.......Unable to connect to Oracle as perltest/perltest (ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin))
Tests skipped.
skipped
all skipped: no reason given
t/ph_type....DBI connect('','perltest/perltest',...) failed: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin) at t/ph_type.t line 26
Unable to connect to Oracle (ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin))
Tests skipped.
skipped
all skipped: no reason given
t/plsql......Unable to connect to Oracle (ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin))
Tests skiped.
skipped
all skipped: no reason given
t/reauth.....skipped
all skipped: no reason given
t/select.....Unable to connect to Oracle (ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin))
Tests skiped.
skipped
all skipped: no reason given
All tests successful, 8 tests skipped.
Files=9, Tests=5, 5 wallclock secs ( 2.74 cusr + 0.68 csys = 3.42 CPU)
PERL_DL_NONLAZY=1 ./perl "-Iblib/lib" "-Iblib/arch" test.pl
Oraperl test application $Revision: 1.8 $
Extra tests. These are less formal and you need to read the output
to see if it looks reasonable and matches what the tests says is expected.
Oraperl emulation interface version 1.44
DBD::Oracle 1.15 using OCI8 by Tim Bunce
DBI 1.46 by Tim Bunce
Data sources:
dbi:Oracle:EXTPROC_CONNECTION_DATA.ENTP.ATTWS.COM
dbi:Oracle:medciber
Connecting
to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
as 'perltest/perltest' (via ORACLE_USERID env var or default - recommend name/passwd@dbname)
(ORACLE_SID='medciber', TWO_TASK='')
DBI connect('','perltest/perltest',...) failed: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin) at /tmp/DBD-Oracle-1.15/blib/lib/Oraperl.pm line 97
ora_login: 1034: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory (DBD ERROR: OCISessionBegin)
ORACLE_SID or TWO_TASK possibly not right, or server not running.
Generally set TWO_TASK or ORACLE_SID but not both at the same time.
Try to connect to the database using an oracle tool like sqlplus
only if that works should you suspect problems with DBD::Oracle.
Try leaving dbname value empty and set dbuser to name/passwd@dbname.
Test aborted.
*** Error exit code 255
Stop.
Since the make was good, I went ahead with the make install anyhow.
/tmp/DBD-Oracle-1.15
# perl test.pl
Oraperl test application $Revision: 1.8 $
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
Compilation failed in require at (eval 3) line 3.
Perhaps a module that DBD::Oracle requires hasn't been fully installed
at /tmp/DBD-Oracle-1.15/blib/lib/Oraperl.pm line 58
Compilation failed in require at (eval 2) line 1.
BEGIN failed--compilation aborted at (eval 2) line 1.
- Tags:
- Oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2005 11:31 AM
тАО01-26-2005 11:31 AM
Re: DBD-Oracle Problems.
"Shared memory Realm" does not exist - means that Oracle is not up. Bring up your database,
set your ORACLE_HOME and your ORACLE_SID in the environment that's trying to connect to Oracle.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2005 01:02 AM
тАО01-28-2005 01:02 AM
Re: DBD-Oracle Problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2005 02:21 AM
тАО01-28-2005 02:21 AM
Re: DBD-Oracle Problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2005 06:13 AM
тАО01-29-2005 06:13 AM
Re: DBD-Oracle Problems.
This info would help me tell what your problem is.
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