Intermittent 500 errors with OTRS 2.1.5 under Debian ISPConfig

I've installed OTRS and I'm trying to configure the admin panels. However, I get intermittent 500 errors, and OTRS is very, very slow -- usually between 5 and 20 seconds between each click! I've documented this extensively on howtoforge.com, but no one's been able to help: http://www.howtoforge.com/forums/showpost.php?p=62788&postcount=21 I know that I first need to fix the script errors, but I'm also very concerned about the performance. Thanks for your help

Reda Sadki wrote:
I've installed OTRS and I'm trying to configure the admin panels. However, I get intermittent 500 errors, and OTRS is very, very slow -- usually between 5 and 20 seconds between each click!
I've documented this extensively on howtoforge.com, but no one's been able to help: http://www.howtoforge.com/forums/showpost.php?p=62788&postcount=21
I know that I first need to fix the script errors, but I'm also very concerned about the performance.
Looks like you're running OTRS as a CGI app. Switching to mod_perl will speed up things a lot. Nils Breunese.

What makes you think that mod_perl is not running? How do you check if
mod_perl is running? I was under the impression that it is.
mod_perl may help with speed, but what about the 500 errors?
2007/3/1, Nils Breunese (Lemonbit)
Looks like you're running OTRS as a CGI app. Switching to mod_perl will speed up things a lot.
Nils Breunese.

Reda Sadki wrote:
What makes you think that mod_perl is not running? How do you check if mod_perl is running? I was under the impression that it is.
The question is not whether mod_perl is running, but whether your apache config for OTRS actually uses mod_perl. I looked at your forum post and it didn't seem to use mod_perl. There are some example configs in /opt/otrs/scripts. I used apache2-httpd-new.include.conf for a vhost myself.
mod_perl may help with speed, but what about the 500 errors?
I guess they shouldn't occur either way. Nils Breunese.

thanks, Nils. I found the examples. Should the contents be copied over
to my apache.conf file? If not, where should they go then?
I'm running Apache2.
2007/3/2, Nils Breunese (Lemonbit)
There are some example configs in /opt/otrs/scripts. I used apache2-httpd-new.include.conf for a vhost myself.

Reda Sadki wrote:
thanks, Nils. I found the examples. Should the contents be copied over to my apache.conf file? If not, where should they go then?
I'm running Apache2.
The easiest way is probably to copy apache2-httpd-new.include.conf into apache's conf.d dir as otrs.conf, so it will be included in the apache config. On Red Hat/CentOS/Fedora this dir is /etc/httpd/ conf.d/, but I believe it's /etc/apache2/conf.d/ under Debian. Nils Breunese.

When I try to use the apache2-httpd-new.include.conf file in conf.d, Apache won't start unless I comment out these lines. # Apache::Reload - Reload Perl Modules when Changed on Disk #PerlModule Apache2::Reload #PerlInitHandler Apache2::Reload #PerlModule Apache2::RequestRec Does this tell you anything about what is wrong with my Perl/Apache installation that might be causing the 500 errors?

Reda Sadki wrote:
When I try to use the apache2-httpd-new.include.conf file in conf.d, Apache won't start unless I comment out these lines.
# Apache::Reload - Reload Perl Modules when Changed on Disk #PerlModule Apache2::Reload #PerlInitHandler Apache2::Reload #PerlModule Apache2::RequestRec
What is the error message? Something in the logs?
Does this tell you anything about what is wrong with my Perl/Apache installation that might be causing the 500 errors?
I think I remember you might need to change Apache2:: to Apache:: on
some distro's, I'm not sure though. I use the config below myself
with OTRS 2.1.5 on Apache 2 on CentOS 4.
Nils Breunese.
# --
# added for OTRS (http://otrs.org/)
# --
# agent, admin and customer frontend
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
# load all otrs modules
Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache::Reload
PerlInitHandler Apache::Reload
# set mod_perl2 options
participants (2)
-
Nils Breunese (Lemonbit)
-
Reda Sadki