I installed the last version available of OTRS (ver. 3.2.9) on CentOS 5.9.
I disabled the cgi_module commenting the line in httpd.conf
Code: Select all
#LoadModule cgi_module modules/mod_cgi.so
o ModPerl::Util....................ok (v2.000004)
o Apache::DBI....................ok (v1.11)
o Apache2::Reload................ok (v0.10)
Considering the following outputs...
Code: Select all
[root@otrstest1 ~]# /usr/sbin/apxs -q LIBEXECDIR
/usr/lib64/httpd/modules
[root@otrstest1 ~]# ls -l /usr/lib64/httpd/modules/mod_perl.so
-rwxr-xr-x 1 root root 232752 Jan 21 2009 /usr/lib64/httpd/modules/mod_perl.so
Code: Select all
LoadModule perl_module modules/mod_perl.so
Code: Select all
#
# Load config files from the config directory "/etc/httpd/conf.d".
#
Include conf.d/*.conf
Code: Select all
[root@otrstest1 ~]# apachectl -t -D DUMP_MODULES
...
perl_module (shared)
...
Webserver
OK Check if the system uses Apache::DBI.
Apache::DBI
OK Check if the system uses Apache::Reload/Apache2::Reload.
Apache2::Reload
OK Display web server version.
You are running Apache/2.2.3 (CentOS).
OK Check for CGI Accelerator.
mod_perl/2.0.4
So apparently everything turns out to be OK but I did not touch the original apache2-perl-startup.pl as I did before, specifying there
Code: Select all
Apache::DBI->connect_on_init('DBI:mysql:otrs', 'otrs', '********');
use DBI ();
I left also commented the following lines:
Code: Select all
#use DBD::mysql ();
#use Kernel::System::DB::mysql;
Code: Select all
use Apache2::RequestRec;
use ModPerl::Util;
use lib "/opt/otrs/";
use lib "/opt/otrs/Kernel/cpan-lib";
use lib "/opt/otrs/Custom";
# Preload frequently used modules to speed up client spawning.
use CGI ();
CGI->compile(':cgi');
use CGI::Carp ();
use Apache::DBI;
# enable this if you use mysql
#use DBD::mysql ();
#use Kernel::System::DB::mysql;
Am I really using mod_perl or that original specifics in apache2-perl-startup.pl turn apache to work with mod_cgi instead?
Thank you in advance