This is a discussion on Apache cgi perl script within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hi all, I am trying Apache with the Perl module to run to test the page-loading speed of Mozilla ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, I am trying Apache with the Perl module to run to test the page-loading speed of Mozilla on my Gentoo system. My end goal is to use the perl cgi scripts that can be downloaded from the Mozilla CVS under "mozilla/tools/page-loader/". I have installed all relevant perl modules: LWP::UserAgent, version: 2.003 SQL::Statement, version: 1.005 X Text::CSV_XS, version: 0.23 DBD::CSV, version: 0.2002 X DBI, version: 1.37 Time::HiRes, version: 1.52 CGI::Request, version: 2.75 T URI, version: 1.28 MIME::Base64, version: 2.21 HTML::Parser, version: 3.28 HTML::Tagset, version: 3.03 Digest::MD5, version: 2.30 I could not find three packages in the Gentoo portage, so I installed them using perl -MCPAN -e "install <package>" (the ones with "X") or from a tarball (with "T"). Otherwise I have libperl-5.8.2 perl-5.8.2-r1 mod_perl-1.27-r4 libwww-perl-5.69-r2 and apache-1.3.28 mod_perl seems to be running because I can run the first part of the script (called as http://localhost/cgi-bin/page-loader/loader.pl). But when I submit the form that this script creates, I get a lot of error messages in the browser window (see below). I have no idea where to start investigating the cause. Because this is on Gentoo I start to post here before doing a wide crosspost... Any hints? Cheers, Peter. Software error: Cannot open db/tMetaTable for writing: No such file or directory at /usr/lib/perl5/site_perl/5.8.2/DBD/File.pm line 483, <FILE> line 54. Please send mail to this site's webmaster for help. Content-type: text/html Software error: Cannot open db/tMetaTable: No such file or directory at /usr/lib/perl5/site_perl/5.8.2/DBD/File.pm line 490, <FILE> line 54. Please send mail to this site's webmaster for help. Content-type: text/html Software error: Cannot open db/tMetaTable: No such file or directory at /usr/lib/perl5/site_perl/5.8.2/DBD/File.pm line 490, <FILE> line 54. Please send mail to this site's webmaster for help. Content-type: text/html Software error: Cannot open db/t403B70A29D for writing: No such file or directory at /usr/lib/perl5/site_perl/5.8.2/DBD/File.pm line 483, <FILE> line 54. Please send mail to this site's webmaster for help. Location: http://<hostname>/cgi-bin/page-loader/echo.pl?id=403B70A29D&index=0&maxcyc=4&delay=1000& replace=0&nocache=0&timeout=30000&url=http://<hostname>/cgi-bin/page-loader/loader.pl |