When I try to run a page I've written with EmbPerl 2.0b7 I get the following:

[3332]ERR:  26:  Logfile /tmp/embperl.log open error: Permission denied
[3332]ERR:  66:  Embperl Session handling DISABLED because of the following 
error: Can't locate Apache/SessionX.pm in @INC (@INC contains: 
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 
/usr/lib/perl5/site_perl . /usr/local/c4/apache/ 
/usr/local/c4/apache/lib/perl /usr/local/c4/lib) at (eval 8) line 3.

Set EMBPERL_SESSION_HANDLER_CLASS to 'no' to avoid this message.
[Tue May 21 13:48:47 2002] [error] [3332]ERR:  56: : Unknown Provider eprun
[Tue May 21 13:48:48 2002] [notice] child pid 3332 exit signal Segmentation 
fault (11)

Here is the relevant section of my httpd.conf:

    SetEnv EMBPERL_DEBUG 0
    SetEnv EMBPERL_LOG /usr/local/c4/apache/logs/embperl.log
    SetEnv RSITEDIR /usr/local/c4
    SetEnv EMBPERL_SESSION_HANDLER_CLASS no

    <Files *.epl>
         SetHandler perl-script
         #PerlHandler HTML::Embperl
         PerlHandler Embperl
         PerlRequire /usr/local/c4/etc/apachestart.pl
         Options ExecCGI
    </Files>

    AddType    text/html  .epl

I don't know why it is trying to open up the log file in /tmp when
I've tried to set it to a different directory, and I am not using EmbPerl's
session handling, so I've tried to set the session handler class as the
error message says to no avail.  Its the "Unknown Provider eprun" that
really has me scratching my head though...

My EmbPerl code works fine under 1.3.x, and I'd like to try it under
2.0.x

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to