DBD::mysql 2.1018...MISSING
am 21.09.2007 10:34:40 von jht7Besides gratitude, the first person whose answer solves these issues will receive a Marriott "Friends & Family" Certificate that can be used for a hotel discount ( details afterwards ).
*********************************************************
Trying to install "RT" ( Request Tracker help desk software ).
Cannot view web page ... "Forbidden" and no permission error even though all parent and child directories are wide open 777, and have already used the "Files" and "FileMatch" directives as seen in postings for "httpd.conf".
[Thu Sep 20 19:47:12 2007] [error] [client 192.168.1.15] client denied by server configuration: /usr/local/RT/rt-3.6.4/bin/mason_handler.fcgi
*************** mason_handler.fcgi *************
package RT::Mason;
use strict;
use vars '$Handler';
use File::Basename;
require ('/usr/local/RT/rt-3.6.4/bin/webmux.pl');
#require ('/opt/rt3/bin/webmux.pl');
# Enter CGI::Fast mode, which should also work as a vanilla CGI script.
require CGI::Fast;
RT::Init();
while ( my $cgi = CGI::Fast->new ) {
# the whole point of fastcgi requires the env to get reset here..
# So we must squash it again
$ENV{'PATH'} = '/bin:/usr/bin:/usr/local/RT/rt-3.6.4';
$ENV{'CDPATH'} = '' if defined $ENV{'CDPATH'};
$ENV{'SHELL'} = '/bin/sh' if defined $ENV{'SHELL'};
$ENV{'ENV'} = '' if defined $ENV{'ENV'};
$ENV{'IFS'} = '' if defined $ENV{'IFS'};
Module::Refresh->refresh if $RT::DevelMode;
RT::ConnectToDatabase();
if ( ( !$Handler->interp->comp_exists( $cgi->path_info ) )
&& ( $Handler->interp->comp_exists( $cgi->path_info . "/index.html" ) ) ) {
$cgi->path_info( $cgi->path_info . "/index.html" );
}
eval { $Handler->handle_cgi_object($cgi); };
if ($@) {
$RT::Logger->crit($@);
}
RT::Interface::Web::Handler->CleanupRequest();
}
1;
***************************************************
Cannot get "DBD::mysql" to compile into "RT" or Apache mod_perl but it appears to be okay in PERL from CPAN install. Had trouble with "apxs" ... Solaris says "Not found" even though it's there as proved from "find", "ls", and other similar commands.
*********************************
cpan[1]> install DBD::mysql
CPAN: Storable loaded ok (v2.15)
Going to read /.cpan/Metadata
Database was generated on Wed, 19 Sep 2007 22:36:35 GMT
DBD::mysql is up to date (4.005).
*********************************
root # rt-test-dependencies --with-mysql --with-fastcgi
$VAR1 = {
'with-STANDALONE' => 0,
'with-MASON' => 1,
'with-FASTCGI' => 1,
'with-MAILGATE' => 1,
'with-CORE' => 1,
'with-CLI' => 1,
'with-DEV' => 0,
'with-MYSQL' => 1
};
perl:
>=5.8.3(5.008008)...found
users:
rt group (rt)...found
bin owner (root)...found
libs owner (root)...found
libs group (bin)...found
web owner (www)...found
web group (www)...found
CLI dependencies:
CORE dependencies:
FASTCGI dependencies:
MAILGATE dependencies:
MASON dependencies:
MYSQL dependencies:
DBD::mysql 2.1018...MISSING
SOMETHING WAS MISSING!
*********************************
Regards,
Joel Tome
Atlanta, GA
jht7@netscape.com
____________________________________________________________ _
Netscape. Just the Net You Need.