Can't locate Kernel/Config.pm in @IN

Moderator: crythias

Locked
spiderpig
Znuny expert
Posts: 198
Joined: 15 Dec 2011, 02:26
Znuny Version: OTRS 5

Can't locate Kernel/Config.pm in @IN

Post by spiderpig »

Hi,

any ideas on this error guys? i canðt start apache and get this message in the log.

i dont see anything wrong in apache2-perl-startup.pl, any ideas?

[Mon Mar 03 15:03:59 2014] [error] Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /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 /opt/otrs/scripts/apache2-perl-startup.pl line 69.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 69.\nCompilation failed in require at (eval 2) line 1.\n
[Mon Mar 03 15:03:59 2014] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server rk-otrs01.isavia.local:0, exiting...
[Mon Mar 03 15:04:00 2014] [error] Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /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 /opt/otrs/scripts/apache2-perl-startup.pl line 69.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 69.\nCompilation failed in require at (eval 2) line 1.\n
[Mon Mar 03 15:04:00 2014] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server rk-otrs01.isavia.local:0, exiting...
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Can't locate Kernel/Config.pm in @IN

Post by reneeb »

Did you copy Kernel/Config.pm.dist to Kernel/Config.pm when you installed OTRS?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
spiderpig
Znuny expert
Posts: 198
Joined: 15 Dec 2011, 02:26
Znuny Version: OTRS 5

Re: Can't locate Kernel/Config.pm in @IN

Post by spiderpig »

Hi reneeb,

i though i got the Config.pm right, i went over it couple of times. But i copied Config.dist.pm to Config.pm and it works now.

i'm not sure what i did wrong :shock:
but anyway it works now, thank you :)
OTRS 4.0 running on Centos 7
Locked