Hi,
I have been trying to install OTRS on our RHEL4 x86_64 server which is
running Apache 2 with a stock configuration customised from the standard
conf file.
I have tried the standard otrs.conf file provided by the otrs RPM
however it breaks the webserver with an "internal server error"
The error I get in the httpd error log is:
[Fri Mar 02 11:31:12 2007] [error] [client 203.55.171.107] Can't locate
object method "dir_config" via package "Apache::RequestRec" at
/usr/lib/perl5/site_perl/5.8.5/Apache/Reload.pm line 51.\n
the config file is:
==================================================
# 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
# ErrorDocument 403 /otrs/customer.pl
AllowOverride None
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
Order allow,deny
Allow from all
</Location>
# directory settings
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 400
==================================================
Hashing out the lines:
PerlModule Apache::Reload
PerlInitHandler Apache::Reload
Allows the server to work again however OTRS still gives Internal Server
Error with the errorlog showing:
[Fri Mar 02 11:32:44 2007] [error] [client 203.55.171.107] failed to
resolve handler `ModPerl::Registry': Can't locate object method
"request" via package "Apache" at /usr/lib/perl5/5.8.5/CGI/Carp.pm line
496.\nBEGIN failed--compilation aborted at
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/ModPerl/Registry.pm
line 26.\nCompilation failed in require at (eval 84) line 3.\n, referer:
http://pegasus.microlistics.com.au/
Can anyone assist?????
--
Andrew Bergman
Systems Administrator
Microlistics Pty Ltd
Direct: +61 3 8329 2050
Mobile: +61 411 706 713
Fax: +61 3 9326 7588
e-mail: andrew.bergman@microlistics.com.au
--------------------------------------
"It is the way of the world, Baldrick - the abused always kick downwards. I am annoyed, and so I kick the cat... the cat pounces on the mouse, and finally, the mouse bites you on the behind."