[SOLVED] Error restarting httpd after OTRS install

Moderator: crythias

Locked
tmoore82
Znuny newbie
Posts: 27
Joined: 11 Nov 2013, 16:35
Znuny Version: 3.2.12
Real Name: Tyler Moore
Company: Installed Building Products

[SOLVED] Error restarting httpd after OTRS install

Post by tmoore82 »

I'm trying to install OTRS Help Desk 3.3.2 on Cent OS 6.5 (Final). The initial installation (yum install) goes smoothly enough. The next step is to restart httpd, but the restart keeps failing. I don't get an error in the console, but when I check the error logs, I can see that it fails each time for the same reason:

[Mon Dec 09 15:59:42 2013] [error] Can't locate
/opt/otrs/scripts/apache2-perl-startup.pl in @INC
(@INC contains: /usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5 . /etc/httpd) at (eval 2) line 1

[Mon Dec 09 15:59:42 2013] [error] Can't load Perl file:
/opt/otrs/scripts/apache2-perl-startup.pl
for server vsvrotrsdev.companydomain.com:0, exiting...

I've tried adding /opt/otrs/scripts to @INC, but that doesn't seem to help.

**SOLUTION**

In the file /etc/httpd/conf.d/zzz_otrs.conf, there was an IfModule directive checking for "mod_perl.c." I changed this to look for "mod_perl.so," and the problem was solved.
OTRS v. 3.3.3, Cent OS 6.4, MySQL 5.1.71
Locked