Loading ...
Sorry, an error occurred while loading the content.

Cryptic error trying to upgrade

Expand Messages
  • Craig Eberly
    Hello All, After upgrading from mod_perl 1 to 2, along with apache2, I m getting errors in my error log using code that worked fine in my original
    Message 1 of 10 , Feb 28, 2005
    • 0 Attachment
      Hello All,
      After upgrading from mod_perl 1 to 2, along with apache2, I'm getting errors in my error log using code that worked fine in my original installation.  Here is what I'm getting in my Apache errorlog:
       
       
      [Mon Feb 28 16:40:48 2005] [error] [client x.x.x.x] sdbm store returned -1, errno 25, key "082b772c51d65c4b6ebd5566e92ec7d9"
      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(0x85f99c4)', '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a60)') called at /usr/local/lib/perl5/site_perl/5.8.6/ML
      DBM/Sync.pm line 87\n\tMLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x85e78c8)', '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a60)') 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
      5e3ab0)', '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a60)') 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(0x81cd770)', '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a3c)
      ') 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(0x81
      cd770)') 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(0x81cd770)') 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(0x8508334)', '/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(0x8508334)') called at -e line 0\n\teval {...} called at -e line
       0\n, referer: site.domain.com
       
      Sorry for the horrible formatting, that is how its coming out in my log.   With this error, I'm not even sure what information I should include for reference.  I'm using all of the same code and .htaccess from my apache1 install.  Here is the pertinant section of the .htaccess:
       
      <Files ~ (\.asp)>
              SetHandler perl-script
              PerlHandler Apache::ASP
              PerlSetVar Global  tmp
              PerlSetVar StateDir  tmp/.state
              PerlSetVar AllowSessionState 1
              PerlSetVar AllowApplicationState 1
              PerlSetVar UniquePackages 1
              PerlSetVar DymanicIncludes 0
              PerlSetVar Debug 2
      </Files>
      <Files ~ (\.html)>
              SetHandler perl-script
              PerlHandler Apache::ASP
              PerlSetVar Global  tmp
              PerlSetVar StateDir  tmp/.state
              PerlSetVar AllowSessionState 0
              PerlSetVar AllowApplicationState 0
              PerlSetVar UniquePackages 1
              PerlSetVar DymanicIncludes 0
      </Files>
       
      Anybody have any advice to where I should start looking for the problem.   
       
      Thanks for any help.
      -Craig
    • Philip M. Gollucci
      Based on this [Mon Feb 28 16:40:48 2005] [error] [client x.x.x.x] sdbm store returned -1 Id say you upgraded perl from 5.6 to 5.8 as well and with it
      Message 2 of 10 , Feb 28, 2005
      • 0 Attachment
        Based on this
        [Mon Feb 28 16:40:48 2005] [error] [client x.x.x.x] sdbm store returned -1
        Id say you upgraded perl from 5.6 to 5.8 as well and with it Storable.pm
        which is used by sdbm
        They are not binary compatible.

        Dowgrade your Stroable.pm to what it was or regenerate the files written
        to disk with the on you have installed.

        I could of course be wrong, but at least its something to check and I
        know this a documented problem when upgrading Sorable.
        perldoc Storable

        (newer versions of Storable are supposed to be backwards comaptiable
        after some version)



        Craig Eberly wrote:

        > Hello All,
        > After upgrading from mod_perl 1 to 2, along with apache2, I'm getting
        > errors in my error log using code that worked fine in my original
        > installation. Here is what I'm getting in my Apache errorlog:
        >
        >
        > [Mon Feb 28 16:40:48 2005] [error] [client x.x.x.x] sdbm store
        > returned -1, errno 25, key "082b772c51d65c4b6ebd5566e92ec7d9"
        > 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(0x85f99c4)', '082b772c51d65c4b6ebd5566e92ec7d9',
        > 'HASH(0x85f9a60)') called at /usr/local/lib/perl5/site_perl/5.8.6/ML
        > DBM/Sync.pm line
        > 87\n\tMLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x85e78c8)',
        > '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a60)') 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
        > 5e3ab0)', '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a60)')
        > 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(0x81cd770)',
        > '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a3c)
        > ') 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(0x81
        > cd770)') 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(0x81cd770)') 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(0x8508334)',
        > '/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(0x8508334)')
        > called at -e line 0\n\teval {...} called at -e line
        > 0\n, referer: site.domain.com
        >
        > Sorry for the horrible formatting, that is how its coming out in my
        > log. With this error, I'm not even sure what information I should
        > include for reference. I'm using all of the same code and .htaccess
        > from my apache1 install. Here is the pertinant section of the .htaccess:
        >
        > <Files ~ (\.asp)>
        > SetHandler perl-script
        > PerlHandler Apache::ASP
        > PerlSetVar Global tmp
        > PerlSetVar StateDir tmp/.state
        > PerlSetVar AllowSessionState 1
        > PerlSetVar AllowApplicationState 1
        > PerlSetVar UniquePackages 1
        > PerlSetVar DymanicIncludes 0
        > PerlSetVar Debug 2
        > </Files>
        > <Files ~ (\.html)>
        > SetHandler perl-script
        > PerlHandler Apache::ASP
        > PerlSetVar Global tmp
        > PerlSetVar StateDir tmp/.state
        > PerlSetVar AllowSessionState 0
        > PerlSetVar AllowApplicationState 0
        > PerlSetVar UniquePackages 1
        > PerlSetVar DymanicIncludes 0
        > </Files>
        >
        > Anybody have any advice to where I should start looking for the
        > problem.
        >
        > Thanks for any help.
        > -Craig



        --
        END
        -----------------------------------------------------------------------------
        Philip M. Gollucci
        Senior Developer - Liquidity Services Inc.
        Phone: 202.467.6868 x 268
        E-Mail: pgollucci@...
        Web: http://www.liquidation.com


        ---------------------------------------------------------------------
        To unsubscribe, e-mail: asp-unsubscribe@...
        For additional commands, e-mail: asp-help@...
      • Craig Eberly
        Thanks for the response. As a matter of fact I did upgrade my Perl version. As you suggested, I have replaced all instances of Storable.pm v.2.13 with
        Message 3 of 10 , Mar 1 6:40 AM
        • 0 Attachment
          Thanks for the response. As a matter of fact I did upgrade my Perl
          version. As you suggested, I have replaced all instances of Storable.pm
          v.2.13 with v.2.04. This did not seem to fix the problem. Same error
          message. So I went through and replaced all modules that are listed in the
          error with their older versions. Same error message. The strange part is
          that I still have my Apache 1.3 running and working with the new Perl and
          Apache::ASP installs. In my Apache 2 conf, I point to the same htdocs that
          Apache 1.3 uses. Should I be directing my questions to a different list?
          As far as I can tell, there's not too much different between my working
          Apache 1.3 and my non-working Apache 2.

          Here has been my general path to update my software:

          Install Perl 5.8.6
          Upgrade Apache::ASP using cpan.
          Build and install Apache 2 with ssl, suexec, and dso support.
          Install mod_perl as DSO.
          Install Frontpage Extensions.
          ---------------------------------------------------------------------------------
          [Tue Mar 01 09:07:49 2005] [notice] Apache/2.0.53 (Unix) mod_ssl/2.0.53
          OpenSSL/0.9.7a FrontPage/5.0.2.26
          35 mod_perl/1.999.21 Perl/v5.8.6 configured -- resuming normal operations
          ---------------------------------------------------------------------------------

          Thanks,
          Craig


          ----- Original Message -----
          From: "Philip M. Gollucci" <pgollucci@...>
          To: "Craig Eberly" <craig@...>
          Cc: <asp@...>
          Sent: Monday, February 28, 2005 5:12 PM
          Subject: Re: Cryptic error trying to upgrade


          > Based on this [Mon Feb 28 16:40:48 2005] [error] [client x.x.x.x] sdbm
          > store returned -1
          > Id say you upgraded perl from 5.6 to 5.8 as well and with it Storable.pm
          > which is used by sdbm
          > They are not binary compatible.
          >
          > Dowgrade your Stroable.pm to what it was or regenerate the files written
          > to disk with the on you have installed.
          >
          > I could of course be wrong, but at least its something to check and I know
          > this a documented problem when upgrading Sorable.
          > perldoc Storable
          >
          > (newer versions of Storable are supposed to be backwards comaptiable after
          > some version)
          >
          >
          >
          > Craig Eberly wrote:
          >
          >> Hello All,
          >> After upgrading from mod_perl 1 to 2, along with apache2, I'm getting
          >> errors in my error log using code that worked fine in my original
          >> installation. Here is what I'm getting in my Apache errorlog:
          >> [Mon Feb 28 16:40:48 2005] [error] [client x.x.x.x] sdbm store
          >> returned -1, errno 25, key "082b772c51d65c4b6ebd5566e92ec7d9"
          >> 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(0x85f99c4)', '082b772c51d65c4b6ebd5566e92ec7d9',
          >> 'HASH(0x85f9a60)') called at /usr/local/lib/perl5/site_perl/5.8.6/ML
          >> DBM/Sync.pm line
          >> 87\n\tMLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x85e78c8)',
          >> '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a60)') 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
          >> 5e3ab0)', '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a60)') 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(0x81cd770)',
          >> '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a3c)
          >> ') 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(0x81
          >> cd770)') 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(0x81cd770)') 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(0x8508334)',
          >> '/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(0x8508334)')
          >> called at -e line 0\n\teval {...} called at -e line
          >> 0\n, referer: site.domain.com
          >> Sorry for the horrible formatting, that is how its coming out in my log.
          >> With this error, I'm not even sure what information I should include for
          >> reference. I'm using all of the same code and .htaccess from my apache1
          >> install. Here is the pertinant section of the .htaccess:
          >> <Files ~ (\.asp)>
          >> SetHandler perl-script
          >> PerlHandler Apache::ASP
          >> PerlSetVar Global tmp
          >> PerlSetVar StateDir tmp/.state
          >> PerlSetVar AllowSessionState 1
          >> PerlSetVar AllowApplicationState 1
          >> PerlSetVar UniquePackages 1
          >> PerlSetVar DymanicIncludes 0
          >> PerlSetVar Debug 2
          >> </Files>
          >> <Files ~ (\.html)>
          >> SetHandler perl-script
          >> PerlHandler Apache::ASP
          >> PerlSetVar Global tmp
          >> PerlSetVar StateDir tmp/.state
          >> PerlSetVar AllowSessionState 0
          >> PerlSetVar AllowApplicationState 0
          >> PerlSetVar UniquePackages 1
          >> PerlSetVar DymanicIncludes 0
          >> </Files>
          >> Anybody have any advice to where I should start looking for the problem.
          >> Thanks for any help.
          >> -Craig
          >
          >
          >
          > --
          > END
          > -----------------------------------------------------------------------------
          > Philip M. Gollucci
          > Senior Developer - Liquidity Services Inc.
          > Phone: 202.467.6868 x 268
          > E-Mail: pgollucci@...
          > Web: http://www.liquidation.com
          >
          >
          >



          ---------------------------------------------------------------------
          To unsubscribe, e-mail: asp-unsubscribe@...
          For additional commands, e-mail: asp-help@...
        • Helmut Zeilinger
          Hi Craig, just a quick idea - you might have tried this already..: does it help to delete all files in tmp/.state an restart the server? Helmut ... To
          Message 4 of 10 , Mar 1 7:05 AM
          • 0 Attachment
            Hi Craig,

            just a quick idea - you might have tried this already..:

            does it help to delete all files in "tmp/.state" an restart the server?

            Helmut


            > After upgrading from mod_perl 1 to 2, along with apache2, I'm getting
            > errors in my error log using code that worked fine in my original
            > installation. Here is what I'm getting in my Apache errorlog:
            >
            >
            > [Mon Feb 28 16:40:48 2005] [error] [client x.x.x.x] sdbm store returned
            > -1, errno 25, key "082b772c51d65c4b6ebd5566e92ec7d9"
            > 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(0x85f99c4)', '082b772c51d65c4b6ebd5566e92ec7d9',
            > 'HASH(0x85f9a60)') called at /usr/local/lib/perl5/site_perl/5.8.6/ML
            > DBM/Sync.pm line
            > 87\n\tMLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x85e78c8)',
            > '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a60)') 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
            > 5e3ab0)', '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a60)') 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(0x81cd770)',
            > '082b772c51d65c4b6ebd5566e92ec7d9', 'HASH(0x85f9a3c)
            > ') 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(0x81
            > cd770)') 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(0x81cd770)') 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(0x8508334)',
            > '/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(0x8508334)')
            > called at -e line 0\n\teval {...} called at -e line
            > 0\n, referer: site.domain.com
            >
            > Sorry for the horrible formatting, that is how its coming out in my log.
            > With this error, I'm not even sure what information I should include for
            > reference. I'm using all of the same code and .htaccess from my apache1
            > install. Here is the pertinant section of the .htaccess:
            >
            > <Files ~ (\.asp)>
            > SetHandler perl-script
            > PerlHandler Apache::ASP
            > PerlSetVar Global tmp
            > PerlSetVar StateDir tmp/.state
            > PerlSetVar AllowSessionState 1
            > PerlSetVar AllowApplicationState 1
            > PerlSetVar UniquePackages 1
            > PerlSetVar DymanicIncludes 0
            > PerlSetVar Debug 2
            > </Files>
            > <Files ~ (\.html)>
            > SetHandler perl-script
            > PerlHandler Apache::ASP
            > PerlSetVar Global tmp
            > PerlSetVar StateDir tmp/.state
            > PerlSetVar AllowSessionState 0
            > PerlSetVar AllowApplicationState 0
            > PerlSetVar UniquePackages 1
            > PerlSetVar DymanicIncludes 0
            > </Files>
            >
            > Anybody have any advice to where I should start looking for the problem.
            >


            ---------------------------------------------------------------------
            To unsubscribe, e-mail: asp-unsubscribe@...
            For additional commands, e-mail: asp-help@...
          • Craig Eberly
            I was scared to delete the tmp/.state files in the main content (truthfully I m not sure what those files are for), so I backup up all of the htdocs, deleted
            Message 5 of 10 , Mar 1 7:15 AM
            • 0 Attachment
              I was scared to delete the tmp/.state files in the main content (truthfully
              I'm not sure what those files are for), so I backup up all of the htdocs,
              deleted all files from tmp/.state in the backed up directory, and ran Apache
              2 against the backed up content. Result was same error message as before.

              Thanks though,
              Craig


              ----- Original Message -----
              From: "Helmut Zeilinger" <hz@...>
              To: "Craig Eberly" <craig@...>; <asp@...>
              Sent: Tuesday, March 01, 2005 10:05 AM
              Subject: Re: Cryptic error trying to upgrade


              > Hi Craig,
              >
              > just a quick idea - you might have tried this already..:
              >
              > does it help to delete all files in "tmp/.state" an restart the server?
              >
              > Helmut
              >
              >



              ---------------------------------------------------------------------
              To unsubscribe, e-mail: asp-unsubscribe@...
              For additional commands, e-mail: asp-help@...
            • Francesco Pasqualini
              Are you shure that the httpd processes was stopped during the upgrade ? ... To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org For additional commands,
              Message 6 of 10 , Mar 1 7:59 AM
              • 0 Attachment
                Are you shure that the httpd processes was stopped during the upgrade ?


                ---------------------------------------------------------------------
                To unsubscribe, e-mail: asp-unsubscribe@...
                For additional commands, e-mail: asp-help@...
              • Craig Eberly
                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
                Message 7 of 10 , Mar 1 9:02 AM
                • 0 Attachment
                  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.

                  Craig


                  ----- Original Message -----
                  From: "Francesco Pasqualini" <f.pasqualini@...>
                  To: "Craig Eberly" <craig@...>
                  Cc: "Philip M. Gollucci" <pgollucci@...>; <asp@...>
                  Sent: Tuesday, March 01, 2005 10:59 AM
                  Subject: Re: Cryptic error trying to upgrade


                  > Are you shure that the httpd processes was stopped during the upgrade ?
                  >
                  >
                  >



                  ---------------------------------------------------------------------
                  To unsubscribe, e-mail: asp-unsubscribe@...
                  For additional commands, e-mail: asp-help@...
                • Joshua Chamas
                  ... 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
                  Message 8 of 10 , Mar 3 11:44 PM
                  • 0 Attachment
                    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: asp-unsubscribe@...
                    For additional commands, e-mail: asp-help@...
                  • Craig Eberly
                    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
                    Message 9 of 10 , Mar 4 5:32 AM
                    • 0 Attachment
                      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" <josh@...>
                      To: "Craig Eberly" <craig@...>
                      Cc: <asp@...>
                      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: asp-unsubscribe@...
                      > For additional commands, e-mail: asp-help@...
                      >
                      >
                      >



                      ---------------------------------------------------------------------
                      To unsubscribe, e-mail: asp-unsubscribe@...
                      For additional commands, e-mail: asp-help@...
                    • Joshua Chamas
                      ... If you do not need $Session or $Application, then you can configure: PerlSetVar NoState 1 and the SDBM functionality will not be loaded for you to have
                      Message 10 of 10 , Mar 7 7:51 AM
                      • 0 Attachment
                        Craig Eberly wrote:
                        > 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

                        If you do not need $Session or $Application, then you can configure:

                        PerlSetVar NoState 1

                        and the SDBM functionality will not be loaded for you to have problems with.

                        Regards,

                        Josh

                        ---------------------------------------------------------------------
                        To unsubscribe, e-mail: asp-unsubscribe@...
                        For additional commands, e-mail: asp-help@...
                      Your message has been successfully submitted and would be delivered to recipients shortly.