Re: mod_perl-Apache server error problem

2002-07-18 Thread Josh Chamas

Sophokles Zafeiris wrote:
> Hi,
> 
>  [Thu Jul 18 16:12:50 2002] [error] sdbm store returned -1, errno 2, key 
> "0ed942d
> 
> cb620f8a58886fae502846034" at 
> /usr/local/lib/perl5/site_perl/5.6.1/MLDBM.pm line
> 

This is an Apache::ASP issue.  For future support for it, please
subscribe to the mailing list at [EMAIL PROTECTED]

The error you are getting is likely to do with the key/value
data being too large for SDBM_File used by default for $Session
storage. You can use other databases by setting StateDB to
something like DB_File or MLDBM::Sync::SDBM_File. Note, the latter
comes with MLDBM::Sync, so you already have it installed.

This error might also be from not having write access for the
httpd User to StateDir.  Make sure that is OK too if the prior
fix did not help you.

--Josh

Josh Chamas, Founder   phone:714-625-4051
Chamas Enterprises Inc.http://www.chamas.com
NodeWorks Link Checkinghttp://www.nodeworks.com




mod_perl-Apache server error problem

2002-07-18 Thread Sophokles Zafeiris








Hi,

I have installed apache 1.3.26, mod_perl
1.27 and php 4.1.2 on a Sun Sparc
running solaris 7

All the installation process went ok,
apache works fine and all my php scripts run without
any problem.

I wrote a very simple asp (perlscript)
page in the server’s home directory and I had no problem.

But when I copied the same script in a subdirectory a 500
internal srver error came out and in the server’s
error log was written the following message:

 

 [Thu Jul 18 16:12:50 2002] [error]
sdbm store returned -1, errno
2, key "0ed942d

cb620f8a58886fae502846034" at /usr/local/lib/perl5/site_perl/5.6.1/MLDBM.pm
line

 161.

   
MLDBM::STORE('MLDBM=HASH(0x672f98)',
'0ed942dcb620f8a58886fae502846034',

 'HASH(0x675450)') called at
/usr/local/lib/perl5/site_perl/5.6.1/MLDBM/Sync.pm

line 87

    MLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x448b10)', '0ed942dcb620f8a5888

6fae502846034', 'HASH(0x675450)')
called at /usr/local/lib/perl5/site_perl/5.6.1

/Apache/ASP/State.pm line 350

    Apache::ASP::State::STORE('Apache::ASP::State=HASH(0x492124)',
'0ed942dc

b620f8a58886fae502846034', 'HASH(0x675450)')
called at /usr/local/lib/perl5/site

_perl/5.6.1/Apache/ASP/StateManager.pm line 518

    Apache::ASP::RefreshSessionId('Apache::ASP=HASH(0x53fa2c)', '0ed942dcb62

0f8a58886fae502846034', 'HASH(0x67542c)')
called at /usr/local/lib/perl5/site_pe

rl/5.6.1/Apache/ASP/Session.pm line 117

    Apache::ASP::Session::new('Apache::ASP=HASH(0x53fa2c)')
called at 

/usr/local/lib/perl5/site_perl/5.6.1/Apache/ASP/StateManager.pm
line 113

    Apache::ASP::InitState('Apache::ASP=HASH(0x53fa2c)') called at

 /usr/local/lib/perl5/site_perl/5.6.1/Apache/ASP.pm
line 382

    Apache::ASP::new('Apache::ASP', 'Apache=SCALAR(0x3f6274)') called at 

/usr/local/lib/perl5/site_perl/5.6.1/Apache/ASP.pm line 164

    Apache::ASP::handler('Apache=SCALAR(0x3f6274)')
called at /dev/null line0

 

    eval {...} called at /dev/null
line 0

 

Anyone can help with that?

 

Sophokles