You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Peter Schuberth <pe...@yahoo.com> on 2001/11/19 05:15:58 UTC

Embperl with DBIx, DBI Modul the 2nd

Hello Gerald,

thanks for your answer. I had already added the
following lines to my apache config file, I believe
this should be fine, or?

SetEnv EMBPERL_DEBUG 2285

<Files *.epl>
	SetHandler	perl-script
	PerlHandler	HTML::Embperl
	Options		ExecCGI
</Files>

AddType text/html .epl

But lets speak about the apache error log file.

Apache error log file:
The line "child pid xyz exit signal Segmentation fault
(11)" I always get when I try to open an Embperl
Page with DBI or DBIx Module. The other Embperl pages
are coming proper.

[Mon Nov 19 09:05:05 2001] [notice] Apache/1.3.12
(Unix)  (SuSE/Linux) mod_perl/1.24 PHP/4.0.0
configured -- resuming normal operations
[Mon Nov 19 09:05:05 2001] [notice] suEXEC mechanism
enabled (wrapper: /usr/sbin/suexec)
[Mon Nov 19 09:08:02 2001] [notice] child pid 665 exit
signal Segmentation fault (11)
[Mon Nov 19 09:08:03 2001] [notice] child pid 682 exit
signal Segmentation fault (11)
[Mon Nov 19 09:21:38 2001] [notice] child pid 606 exit
signal Segmentation fault (11)
[Mon Nov 19 09:21:39 2001] [notice] child pid 1015
exit signal Segmentation fault (11)
[Mon Nov 19 09:22:53 2001] [notice] child pid 1018
exit signal Segmentation fault (11)

Regards

Peter

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Embperl with DBIx, DBI Modul the 2nd

Posted by Gerald Richter <ri...@ecos.de>.
Hi,

>
> thanks for your answer. I had already added the
> following lines to my apache config file, I believe
> this should be fine, or?
>

As I wrote in my previous mail, please add

PerlModule HTML::Embperl

This will load Embperl at server startup and mostly solve the problem with
seg faults. If it doesn't solve the problem, than I guess you have some
binaries which fit not together (i.e. some compiled for the old version of
Perl and some for the new version)

Gerald


> SetEnv EMBPERL_DEBUG 2285
>
> <Files *.epl>
> SetHandler perl-script
> PerlHandler HTML::Embperl
> Options ExecCGI
> </Files>
>
> AddType text/html .epl
>
> But lets speak about the apache error log file.
>
> Apache error log file:
> The line "child pid xyz exit signal Segmentation fault
> (11)" I always get when I try to open an Embperl
> Page with DBI or DBIx Module. The other Embperl pages
> are coming proper.
>
> [Mon Nov 19 09:05:05 2001] [notice] Apache/1.3.12
> (Unix)  (SuSE/Linux) mod_perl/1.24 PHP/4.0.0
> configured -- resuming normal operations
> [Mon Nov 19 09:05:05 2001] [notice] suEXEC mechanism
> enabled (wrapper: /usr/sbin/suexec)
> [Mon Nov 19 09:08:02 2001] [notice] child pid 665 exit
> signal Segmentation fault (11)
> [Mon Nov 19 09:08:03 2001] [notice] child pid 682 exit
> signal Segmentation fault (11)
> [Mon Nov 19 09:21:38 2001] [notice] child pid 606 exit
> signal Segmentation fault (11)
> [Mon Nov 19 09:21:39 2001] [notice] child pid 1015
> exit signal Segmentation fault (11)
> [Mon Nov 19 09:22:53 2001] [notice] child pid 1018
> exit signal Segmentation fault (11)
>
> Regards
>
> Peter
>
> __________________________________________________
> Do You Yahoo!?
> Find the one for you at Yahoo! Personals
> http://personals.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org