You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Alejandro Juarez <al...@BSDCoders.Org> on 2003/04/10 15:36:30 UTC

Apache::DBI 0.91

Hello, I'm triying to use Apache::DBI 0.91 in an i386 machine running
OpenBSD 3.3 and Apache 1.3.27, I'm using the httpd command 
with the -u option to disable the chrooted by default enviroment.

I've loadede my module from the startup.pl script using this line:
use Apache::DBI;

I get only errors, my web server is up, but  this is not running ok,
my httpd process exists but I can not get nothing frommy webserver:

The errors in my  /var/www/logs/error_log are:
[Thu Apr 10 09:34:20 2003] [notice] child pid 10162 exit signal Illegal instruction (4)
[Thu Apr 10 09:34:21 2003] [notice] child pid 5845 exit signal Illegal instruction (4)
[Thu Apr 10 09:34:22 2003] [notice] child pid 5293 exit signal Illegal instruction (4)
[Thu Apr 10 09:34:23 2003] [notice] child pid 28609 exit signal Illegal instruction (4)
[Thu Apr 10 09:34:24 2003] [notice] child pid 2951 exit signal Illegal instruction (4)
[Thu Apr 10 09:34:24 2003] [notice] child pid 30535 exit signal Illegal instruction (4)

After disable Apache::DBI from my startup.pl, I can use my web server
normally, I can use Apache::AuthCookie, Apache::Status, ... .


After this test, I've tried to use Apache::DBI module from the httpd.conf,
I've tried with the next lines:
PerlSetEnv DBI_TRACE "3=/tmp/dbitrace.log"
PerlModule Apache::DBI

I get the same thing:
[Thu Apr 10 09:51:21 2003] [notice] Initializing etag from /var/www/logs/etag-state
[Thu Apr 10 09:51:21 2003] [notice] Apache/1.3.27 (Unix) mod_perl/1.27 mod_ssl/2.8.12 OpenSSL/0.9.7-beta3 configured -- resuming normal operations
[Thu Apr 10 09:51:21 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Apr 10 09:51:23 2003] [notice] child pid 28014 exit signal Segmentation fault (11)
[Thu Apr 10 09:51:23 2003] [notice] child pid 7586 exit signal Segmentation fault (11)
[Thu Apr 10 09:51:23 2003] [notice] child pid 5419 exit signal Segmentation fault (11)
[Thu Apr 10 09:51:23 2003] [notice] child pid 27794 exit signal Segmentation fault (11)

I've checked the results in the /tmp/dbitrace.log file, I get the
same message with the 3, 4 and 5 trace level:

   DBI 1.30-nothread dispatch trace level set to 3
   Note: perl is running without the recommended perl -w option
   DBI 1.30-nothread dispatch trace level set to 3
   Note: perl is running without the recommended perl -w option

After that:
I've tried adding the -w option and cleaning a little the 
DBI module, but I get the same message without this line:
Note: perl is running without the recommended perl -w option

can some body help me?

thank you.

Have a nice day

-- 
Alex
alex@BSDCoders.Org

Eisenhower was very nice,
Nixon was his only vice.
		-- C. Degen

Re: Apache::DBI 0.91

Posted by Ask Bjoern Hansen <as...@develooper.com>.
On Thursday, Apr 10, 2003, at 06:36 America/Los_Angeles, Alejandro 
Juarez wrote:

> [Thu Apr 10 09:51:23 2003] [notice] child pid 7586 exit signal 
> Segmentation fault (11)
> [Thu Apr 10 09:51:23 2003] [notice] child pid 5419 exit signal 
> Segmentation fault (11)

You need to give us a backtrace from gdb.

See

http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems


  - ask

-- 
http://www.askbjoernhansen.com/