I too have run into mod_perl issues.

I upgraded mod_perl to mod_perl-2.0.2-6.3.el5

I renamed perl.conf in conf.d to aaperl.conf, and also tried 'LoadModule perl_module modules/mod_perl.so' directly in apache.conf, same result:

"Warning useless AllowOverride in line 23"

... which corresponds to the 'AllowOverride None' line in otrs.conf. I tried commenting out that line then Apache simply refused to start, with no error message shown.

I have not modified the otrs.conf since the install, it is $Id: apache2-httpd.include.conf,v 1.11 2007/04/16 12:11:53 martin Exp $

If I do not load mod_perl OTRS runs fine, or if I load mod_perl but not OTRS, Apache runs fine.

Any suggestions?



On 2/9/2009 3:37 PM, Luis Miguel wrote:
Hi Laurent,
 
Apache reads the files in the /etc/httpd/conf.d/ directory in alphabetical order. So it reads otrs.conf before perl.conf. Rename perl.conf to 0-perl.conf to make sure perl libraries are loaded before it reads otrs.conf.
 
Hope it helps,
Luis Miguel Navas

On Mon, Feb 9, 2009 at 5:37 PM, Laurent Minost <lminost@denyall.com> wrote:
Hi everyone,

I'm wondering how OTRS Support module is getting informations about WebServer please because on my installation, it tells me that a lot of things are critical where it should not :

Check if the system use Apache::DBI.
       Apache::DBI should be used to get a better performance (pre establish database connections).  Critical

Check if the system use Apache::Reload/Apache2::Reload.
       You should use Apache::Reload or Apache2::Reload to increase your performance.    Critical

Check used mod_perl version.
       You should use mod_perl to increase your performance.   Critical

-> Running system is :
[root@daotrs conf.d]# cat /etc/redhat-release
CentOS release 5.2 (Final)

-> Apache::DBI module is installed and declared in otrs.conf :
[root@daotrs conf.d]# rpm -qa | grep -i apache
perl-Apache-DBI-1.07-1.el5.rf

[root@daotrs conf.d]# rpm -ql perl-Apache-DBI
/usr/lib/perl5/vendor_perl/5.8.8/Apache
/usr/lib/perl5/vendor_perl/5.8.8/Apache/AuthDBI.pm
/usr/lib/perl5/vendor_perl/5.8.8/Apache/DBI.pm
...

[root@daotrs conf.d]# grep DBI /etc/httpd/conf.d/otrs.conf
PerlModule Apache::DBI

-> Same thing for Apache2::Reload
[root@daotrs conf.d]# grep -i reload /etc/httpd/conf.d/otrs.conf
   # Apache::Reload - Reload Perl Modules when Changed on Disk
   PerlModule Apache2::Reload
   PerlInitHandler Apache2::Reload

-> Same thing for mod_perl
[root@daotrs conf.d]# rpm -qa | grep -i mod_perl
mod_perl-2.0.2-6.3.el5

[root@daotrs conf.d]# grep mod_perl /etc/httpd/conf.d/perl.conf
LoadModule perl_module modules/mod_perl.so

verified this point from /server_info and saw that module is properly loaded ...

Does it looks like something is weird with Support module detection/test please ?
Any performance/improvements tips are also welcomed please :)
How can I really check that mod_perl / Apache2::Reload / Apache::DBI are properly used/activated for OTRS please ?

Thks,

Laurent MINOST
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs