I'm a new user, looking forward to getting OTRS up-and-running.
Unfortunately, I've managed to get a bit stumped with my installation.
I'm using a RHEL box w/ Apache 2.0.53 and mod_perl2.
I've installed otrs under /var/www (we use a variety of subdomains,
each in its own directory under /var/www - OTRS will be
support.oursite.com).
I've gotten everything configured and my virtual server is
configured. However, when I try to hit OTRS I get:
Software error:
at /var/www/otrs/Kernel/Config/Defaults.pm line 1803.
I don't even know where to begin with this...
My httpd.conf contains the following:
DocumentRoot "/var/www/otrs"
ServerName support.oursite.com
#
# allow from all
# Options +Indexes
# </Directory>
# agent, admin and customer frontend
ScriptAlias /otrs/ "/var/www/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/var/www/otrs/var/httpd/htdocs/"
# load all otrs modules
Perlrequire /var/www/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
# set mod_perl2 options
# ErrorDocument 403 /otrs/customer.pl
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
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
</VirtualHost>
and the scripts/apache2-perl-startup.pl looks like this:
#! /usr/bin/perl
use strict;
# make sure we are in a sane environment.
#$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or die "GATEWAY_INTERFACE not
Perl!";
# check $ENV{MOD_PERL}, $ENV{GATEWAY_INTERFACE} is deprecated for
mod_perl2
$ENV{MOD_PERL} =~ /mod_perl/ or die "MOD_PERL not used!";
# set otrs lib path!
use lib "/var/www/otrs";
use lib "/var/www/otrs/Kernel/cpan-lib";
# pull in things we will use in most requests so it is read and compiled
# exactly once
#use CGI (); CGI->compile(':all');
use CGI (); CGI->compile(':cgi');
use CGI::Carp ();
# use Apache ();
use Apache::DBI ();
Apache::DBI->connect_on_init('DBI:mysql:otrs', 'otrs', 'ar12row');
use DBI ();
# enable this if you use mysql
use DBD::mysql ();
# enable this if you use postgresql
#use DBD::Pg ();
# enable this if you use oracle
#use DBD::Oracle ();
(...etc...)
Can anybody offer me any suggestions? Thanks.
-Chris