
It's probably looking in the wrong place. check the lines at the beginning of the startup script (use lib '/opt/otrs') and make sure they point to the right directory. Brian Ronk wrote:
Kernel/Config/Defaults.pm is there. Could the permissions be wrong, or is it looking in the wrong place?
Jeremy Blain wrote:
Brian Ronk wrote:
Ok, I realized there are some duplicates here, but I also don't underdstand everything in the config files for Apache yet either.
Here are the log entries for the last time I tried to restart Apache2: [error] Can't locate Kernel/Config/Defaults.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at Kernel/Config.pm line 113. Begin failed--compilation aborted at Kernel/Config.pm line 113. Compilation failed in require at /usr/share/otrs/scripts/apache2-perl-startup.pl line 27. Begin failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 27. Compilation failed in require at (eval 2) line1. [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server harry:0, exiting...
I'm not positive what's going on here. At first I thought it couldn't find the startup.pl file, but it looks like it found it, but couldn't parse it. I have a feeling that the problem might be associated with the @INC, but I'm not positive. Any ideas?
Kernel/Config.pm is trying to load Kernel/Config/Defaults.pm and is not finding it. Does that file exist? If not, try copying Kernel/Config/Defaults.pm.dist to Kernel/Config/Defaults.pm _______________________________________________