Hi,

 

I am trying to get a apache2 server with mod_perl2 and embperl running using just packages from apt-get however seem to be running into some problems.

 

Am running Debian Sarge with Kernel 2.4.27-1 on a 386 server.

 

I firstly installed Apache2, then mod_perl2 then libembperl-perl have made no changes to any of the default Debian configurations, I simply created a test file test.epl in the document root with

 

[- print STDERR “HELLO” -]

 

When running this I get back a internal Server error with the following

 

[Thu Jan 06 12:30:05 2005] [error] [594]ERR:  24:  Error in Perl code: Can't call method "component" on an undefined value at /usr/lib/perl5/Embperl/App.pm line 58.\n

[Thu Jan 06 12:30:05 2005] [error] [594]ERR:  61: : Unknown recipe 'Embperl'

[Thu Jan 06 12:30:05 2005] [error] [client 192.168.1.4] Can't call method "log_file_start_pos" on an undefined value at /usr/lib/perl5/Embperl/App.pm line 82.\n

 

When I stop the server I also see the following in the logs

 

Attempt to free unreferenced scalar: SV 0x8262b9c during global destruction.

Attempt to free unreferenced scalar: SV 0x8262b54 during global destruction.

Attempt to free unreferenced scalar: SV 0x8262b78 during global destruction.

Unbalanced string table refcount: (1) for "MOD_PERL" during global destruction.

Unbalanced string table refcount: (1) for "PATH" during global destruction.

Unbalanced string table refcount: (1) for "Embperl" during global destruction.

Scalars leaked: 10

 

The default embperl config (in zembperl.conf) is

 

# The sucky "zembperl" name is so we load after perl

 

AddType text/html .epl

 

<IfModule mod_perl.c>

  # mod_perl version

 

  PerlModule Embperl

 

  <Files *.epl>

    SetHandler perl-script

    PerlHandler Embperl

    Options ExecCGI

  </Files>

</IfModule>

 

<IfModule !mod_perl.c>

  # CGI version

 

  <IfModule mod_actions.c>

    Action embperl /cgi-bin/embpcgi.pl

    Action embperlobject /cgi-bin/epocgi.pl

    Action embperl-fastcgi /cgi-bin/embpfastcgi.pl

 

    AddHandler embperl .epl

  </IfModule>

</IfModule>

 

Anyone got any ideas what causes this ? could of course build apache, mod_perl from source but would ideally like to stick to the debian packages ?

 

Thanks for help


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 3/01/2005

Reply via email to