I did a fresh emerge of Perl perl-5.8.2-r1 w/ Apache apache-2.0.49-r1 The apache2-mod_perl-startup.pl which is installed to /etc/apache/conf/modules.d/ has this as line three: use lib qw(/home/httpd/perl); The Apache ebuild, however, creates the main document root in /var/www/ and config files in /etc/apache2/. There is no /home/httpd/perl directory. I don't know if this matters, but it seems odd. Also, when I go to http://127.0.0.1/perl-status as is setup by default, the pages load with the correct information but at the bottom of every page there is a large-font "OK", followed by this message: ############# message ###################### The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webadmin@efficientlearning.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache Server at www.******.com Port 80 ################# end message ################## Reproducible: Always Steps to Reproduce: Expected Results: It seems all the perl scripts work ok using the perl-script handler in a normal cgi setting. The perl-status should not have the message at the bottom of it's pages.
and what in server error log ?
Sorry, I forgot to mention nothing gets logged to the apache2 errorlog. It's very strange it says to check the log and nothing has been added.
Can you add the following to your apache.conf, restart and have a look at the error_logs. LogLevel error. More information can be found at http://httpd.apache.org/docs-2.0/mod/core.html#loglevel Thanks chuck
Created attachment 32272 [details] perl-script output
Chuck, The log level was at warn before, but just for fun I lowered it to error as you have suggested. The page still produces no error. For reference, I have attached the code that the page is generating for the main perl-script page. Notice how the page is entirely generated, then after the closing html tag, the error is dumped in.
* I mean it still produces the error on the pages but no error gets logged to the error_log.
*** Bug 54026 has been marked as a duplicate of this bug. ***
Error log: [Sun Jun 20 15:45:15 2004] [error] failed to resolve handler `RTG::View' [Sun Jun 20 15:45:15 2004] [error] [client 24.175.4.23] Can't locate RTG/View.pm in @INC (@INC contains: /home/httpd/perl /usr/lib/perl5/vendor_perl/5.8.4/x86_64-linux/Apache2 /usr/lib/perl5/5.8.4/x86_64-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/x86_64-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/x86_64-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/x86_64-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.4/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl . /usr/lib/apache2/ /usr/lib/apache2/lib/perl) at (eval 34) line 3.\n
Created attachment 33676 [details] apache w/ mod_perl output: OK 200??? Check out this page available at https://www.hardcore-gaming.net/rtg/ I'm trying to get RTG to display, it needed mod_perl for somethings. Now I can't even get .php files to load under that directory, eg rtg.php Ideas?
error log: [Sun Jun 20 16:25:50 2004] [error] [client 24.175.4.23] Cannot connect to database. at /usr/lib/perl5/5.8.4/CGI/Carp.pm line 314.\n
mod_perl-2.0.1 is in portage, please give it a try and if there are still issues, open a new bug. Closing this stale bug.