Apache::Asp fault

Discussion in 'Server Operation' started by ColdDoT, Mar 22, 2006.

  1. ColdDoT

    ColdDoT New Member

    Hello when i run asp on my apache2 then it says 500 error

    my config asp file of my httpd.conf:
    Code:
     PerlModule  Apache::ASP
     <Files ~ (\.asp)>
       SetHandler  perl-script
       PerlHandler Apache::ASP
       PerlSetVar  Global /tmp
       PerlSetVar  StateDir /tmp/asp
     </Files>
    
    i have installed apache::asp one time trough cpan and after that diden't work i have builded it from source

    the error i get in my error_log:
    Code:
    [Wed Mar 22 22:35:51 2006] [error] [client 81.69.79.160] Can't locate object method "get" via package "APR::Table" at /usr/lo
    cal/share/perl/5.8.8/Apache/ASP.pm line 2016.\n at /usr/local/share/perl/5.8.8/Apache/ASP.pm line 2016\n\tApache::ASP::get_di
    r_config('APR::Table=HASH(0x8586c1c)', 'Global') called at /usr/local/share/perl/5.8.8/Apache/ASP.pm line 275\n\tApache::ASP:
    :new('Apache::ASP', 'Apache2::RequestRec=SCALAR(0x825e4f4)', '/var/server/www/colddot.nl/test.asp') called at /usr/local/shar
    e/perl/5.8.8/Apache/ASP.pm line 183\n\tApache::ASP::handler('Apache2::RequestRec=SCALAR(0x825e4f4)') called at -e line 0\n\te
    val {...} called at -e line 0\n
    
    my apache is builded from source with the newest perl en mod_perl

    greet kevin
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Is the PERL module APR::Table installed? Install it now.
     
  3. ColdDoT

    ColdDoT New Member

    cpan> install APR::Table
    Going to read /.cpan/sources/authors/01mailrc.txt.gz
    CPAN: Compress::Zlib loaded ok
    Going to read /.cpan/sources/modules/02packages.details.txt.gz
    Database was generated on Wed, 22 Mar 2006 21:15:04 GMT
    CPAN: HTTP::Date loaded ok
    Going to read /.cpan/sources/modules/03modlist.data.gz
    APR::Table is up to date (0.009000).

    still same problem
     
  4. ColdDoT

    ColdDoT New Member

    Btw my apache is compiled whith a dynamic mod_perl is that a problem?
    and i have installed my pache in /var/server/webserver/apache2/
    btw i noticed that:
    server:/etc/init.d# locate ASP
    /.cpan/Bundle/Apache/ASP.pm
    /.cpan/sources/authors/id/C/CH/CHAMAS/Apache-ASP-2.59.tar.gz
    /usr/local/lib/perl/5.8.4/auto/Apache/ASP
    /usr/local/lib/perl/5.8.4/auto/Apache/ASP/.packlist
    /usr/local/lib/perl/5.8.8/auto/Apache/ASP
    /usr/local/lib/perl/5.8.8/auto/Apache/ASP/.packlist
    /usr/local/share/man/man3/Apache::ASP.3pm
    /usr/local/share/man/man3/Apache::ASP::CGI::Table.3pm
    /usr/local/share/man/man3/Bundle::Apache::ASP.3pm
    /usr/local/share/man/man3/Bundle::Apache::ASP::Extra.3pm
    /usr/local/share/perl/5.8.4/Apache/ASP
    /usr/local/share/perl/5.8.4/Apache/ASP/ApacheCommon.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/Application.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/CGI
    /usr/local/share/perl/5.8.4/Apache/ASP/CGI.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/CGI/Table.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/CGI/Test.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/CollectionItem.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/Collection.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/Date.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/Error.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/GlobalASA.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/Lang
    /usr/local/share/perl/5.8.4/Apache/ASP/Lang/PerlScript.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/Load.pm
    /usr/local/share/perl/5.8.4/Apache/ASP.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/Request.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/Response.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/Server.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/Session.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/Share
    /usr/local/share/perl/5.8.4/Apache/ASP/Share/CORE
    /usr/local/share/perl/5.8.4/Apache/ASP/Share/CORE/MailErrorsHTML.inc
    /usr/local/share/perl/5.8.4/Apache/ASP/Share/CORE/MailErrors.inc
    /usr/local/share/perl/5.8.4/Apache/ASP/Share/CORE.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/StateManager.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/State.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/StatINC.pm
    /usr/local/share/perl/5.8.4/Apache/ASP/STDERR.pm
    /usr/local/share/perl/5.8.4/Bundle/Apache/ASP
    /usr/local/share/perl/5.8.4/Bundle/Apache/ASP/Extra.pm
    /usr/local/share/perl/5.8.4/Bundle/Apache/ASP.pm
    /usr/local/share/perl/5.8.8/Apache/ASP
    /usr/local/share/perl/5.8.8/Apache/ASP/ApacheCommon.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/Application.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/CGI
    /usr/local/share/perl/5.8.8/Apache/ASP/CGI.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/CGI/Table.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/CGI/Test.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/CollectionItem.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/Collection.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/Date.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/Error.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/GlobalASA.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/Lang
    /usr/local/share/perl/5.8.8/Apache/ASP/Lang/PerlScript.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/Load.pm
    /usr/local/share/perl/5.8.8/Apache/ASP.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/Request.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/Response.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/Server.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/Session.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/Share
    /usr/local/share/perl/5.8.8/Apache/ASP/Share/CORE
    /usr/local/share/perl/5.8.8/Apache/ASP/Share/CORE/MailErrorsHTML.inc
    /usr/local/share/perl/5.8.8/Apache/ASP/Share/CORE/MailErrors.inc
    /usr/local/share/perl/5.8.8/Apache/ASP/Share/CORE.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/StateManager.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/State.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/StatINC.pm
    /usr/local/share/perl/5.8.8/Apache/ASP/STDERR.pm
    /usr/local/share/perl/5.8.8/Bundle/Apache/ASP
    /usr/local/share/perl/5.8.8/Bundle/Apache/ASP/Extra.pm
    /usr/local/share/perl/5.8.8/Bundle/Apache/ASP.pm
    /usr/share/doc/libapache-asp-perl/html/eg/DemoASP.pm
    /usr/share/man/man3/Apache::ASP.3pm.gz
    /usr/share/man/man3/Apache::ASP::CGI::Table.3pm.gz
    /usr/share/man/man3/Bundle::Apache::ASP.3pm.gz
    /usr/share/man/man3/Bundle::Apache::ASP::Extra.3pm.gz
    /usr/share/perl5/Apache/ASP
    /usr/share/perl5/Apache/ASP/ApacheCommon.pm
    /usr/share/perl5/Apache/ASP/Application.pm
    /usr/share/perl5/Apache/ASP/CGI
    /usr/share/perl5/Apache/ASP/CGI.pm
    /usr/share/perl5/Apache/ASP/CGI/Table.pm
    /usr/share/perl5/Apache/ASP/CGI/Test.pm
    /usr/share/perl5/Apache/ASP/CollectionItem.pm
    /usr/share/perl5/Apache/ASP/Collection.pm
    /usr/share/perl5/Apache/ASP/Date.pm
    /usr/share/perl5/Apache/ASP/Error.pm
    /usr/share/perl5/Apache/ASP/GlobalASA.pm
    /usr/share/perl5/Apache/ASP/Lang
    /usr/share/perl5/Apache/ASP/Lang/PerlScript.pm
    /usr/share/perl5/Apache/ASP/Load.pm
    /usr/share/perl5/Apache/ASP.pm
    /usr/share/perl5/Apache/ASP/Request.pm
    /usr/share/perl5/Apache/ASP/Response.pm
    /usr/share/perl5/Apache/ASP/Server.pm
    /usr/share/perl5/Apache/ASP/Session.pm
    /usr/share/perl5/Apache/ASP/Share
    /usr/share/perl5/Apache/ASP/Share/CORE
    /usr/share/perl5/Apache/ASP/Share/CORE/MailErrorsHTML.inc
    /usr/share/perl5/Apache/ASP/Share/CORE/MailErrors.inc
    /usr/share/perl5/Apache/ASP/Share/CORE.pm
    /usr/share/perl5/Apache/ASP/StateManager.pm
    /usr/share/perl5/Apache/ASP/State.pm
    /usr/share/perl5/Apache/ASP/StatINC.pm
    /usr/share/perl5/Apache/ASP/STDERR.pm
    /usr/share/perl5/Bundle/Apache/ASP
    /usr/share/perl5/Bundle/Apache/ASP/Extra.pm
    /usr/share/perl5/Bundle/Apache/ASP.pm

    thats 2 version of perl on same machine ?
     
    Last edited: Mar 23, 2006
  5. ColdDoT

    ColdDoT New Member

    So no one know a answer on this. to bad.
    last time BUMB
     

Share This Page