develooper Front page | perl.dbi.users | Postings from June 2009

Re: DBD-Oracle 1.23 reports ORA-24334 in t/58object.t

Thread Previous | Thread Next
From:
Charles Jardine
Date:
June 8, 2009 07:06
Subject:
Re: DBD-Oracle 1.23 reports ORA-24334 in t/58object.t
Message ID:
4A2D1AC1.9040305@cam.ac.uk
On 05/06/09 06:31, Peter Jeremy wrote:
> I am trying to install DBD-Oracle 1.23 with Oracle 10.1.4 on Solaris
> 10 using the standard (Sun-supplied) perl.  In order to make it build,
> I need to edit mk.pm and Makefile, replacing '-xarch=v9' with
> '-xarch=native' and changing .../oracle/product/10.1.4/lib to
> .../oracle/product/10.1.4/lib32 (see my previous report).  It then
> mostly works but reports two errors in the test-suite.  The first one
> in t/10general.t is relatively unimportant but I'm nore concerned about
> the failure in t/58object.t.
> 
> $ perl -Mblib t/10general.t
> 1..31
> not ok 1 - system exit 1 should return 256
> not ok 2 - system exit 0 should return 0
> ok 3 - preparse, case insensitive, placeholders in comments
> ...
> These two tests fail because Oracle is setting a SIGCHLD handler so
> the waitid(2) in system() is returning ECHILD

This isn't that unimportant. Unless you do something about it, you
won't be able to use system, backticks or the pipe forms of open
in scripts which use DBD::Oracle.

I believe you will only see this error if you are using the 'bequeather'
to connect to a server on the same host as the client. You can fix it
by adding

  bequeath_detach = yes

to your sqlnet.ora file.

-- 
Charles Jardine - Computing Service, University of Cambridge
cj10@cam.ac.uk    Tel: +44 1223 334506, Fax: +44 1223 334679

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About