Excuse me if I sound ignorant here. Should I be getting this sdbm error if
I'm only using mysql? I started thinking about it, and it just didn't make
sense to me. Also, I rebuilt mod_perl, using the static option, but
receive the same errors when accessing my web app. I copied in the example
scripts from site/eg in the original package. When run through Apache1,
most examples work fine, from Apache2, some work fine, some do not, such as
the file_upload.asp.
Again, here is my db connection process in the asp page from my custom app
and the error I'm getting from apache:
---------------------------------------------------------------
use DBI;
$db = DBI->connect("DBI:mysql:ISP:mysqlhost.domain.com", "username",
"password");
----------------------------------------------------------------
----------------------------------------------------------------
[Thu Mar 03 10:26:01 2005] [error] [client x.x.x.x] sdbm store returned -1,
errno 25, key "0d4c04148d9cee3194f6dd7ccbcb135f"
at /usr/local/lib/perl5/site_perl/5.8.6/MLDBM.pm line 161.\n at
/usr/local/lib/perl5/site_perl/5.8.6/MLDBM.pm line 161\n\tMLDBM::STO
RE('MLDBM=HASH(0x8700ae4)', '0d4c04148d9cee3194f6dd7ccbcb135f',
'HASH(0x8700b80)') called at /usr/local/lib/perl5/site_perl/5.8.6/ML
DBM/Sync.pm line 87\n\tMLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x86ee8d0)',
'0d4c04148d9cee3194f6dd7ccbcb135f', 'HASH(0x8700b80)') c
alled at /usr/local/lib/perl5/site_perl/5.8.6/Apache/ASP/State.pm line
350\n\tApache::ASP::State::STORE('Apache::ASP::State=HASH(0x8
6eab88)', '0d4c04148d9cee3194f6dd7ccbcb135f', 'HASH(0x8700b80)') called at
/usr/local/lib/perl5/site_perl/5.8.6/Apache/ASP/StateMana
ger.pm line
528\n\tApache::ASP::RefreshSessionId('Apache::ASP=HASH(0x85ae428)',
'0d4c04148d9cee3194f6dd7ccbcb135f', 'HASH(0x8700b5c)
') called at /usr/local/lib/perl5/site_perl/5.8.6/Apache/ASP/Session.pm line
121\n\tApache::ASP::Session::new('Apache::ASP=HASH(0x85
ae428)') called at
/usr/local/lib/perl5/site_perl/5.8.6/Apache/ASP/StateManager.pm line
110\n\tApache::ASP::InitState('Apache::ASP=H
ASH(0x85ae428)') called at
/usr/local/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line
418\n\tApache::ASP::new('Apache::ASP', 'Apache::R
equestRec=SCALAR(0x83d5c34)',
'/usr/local/apache/htdocs/admin/adminItems.asp') called at
/usr/local/lib/perl5/site_perl/5.8.6/Apache
/ASP.pm line
181\n\tApache::ASP::handler('Apache::RequestRec=SCALAR(0x83d5c34)') called
at -e line 0\n\teval {...} called at -e line
0\n, referer:
-----------------------------------------------------------------------------------------------
----- Original Message -----
From: "Joshua Chamas" <[EMAIL PROTECTED]>
To: "Craig Eberly" <[EMAIL PROTECTED]>
Cc: <asp@perl.apache.org>
Sent: Friday, March 04, 2005 2:44 AM
Subject: Re: Cryptic error trying to upgrade
Craig Eberly wrote:
Hmm, during which upgrade do you mean? I had to stop httpd 1.3 when
doing the mod_perl install or the make test would fail. The apache 2
install seemed to go ok with 1.3 running since it was installing in a
seperate directory.
Sorry, I did not check mail for a while. I would not have the same
StateDir set for both apache servers since you are talking about perl
upgrades, as I wonder about changes in things like SDBM_File and
storable format.
Another thing you could do is to make sure both apaches are not running
at the same time. Finally, I would suggest reverting back to known
software that works until this gets sorted out.
Regards,
Josh
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]