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

Hi I installed OTRS on a Fedora5 system (apache2 and perl5.8) all required perl modules are installed. GenericAgent.pl, PostMasterPOP3.pl and UnlockTickets.pl can't seem to find Config.pm (/var/www/otrs/Kernel/Config.pm). How can I update @INC ? OTRS was installed to the standard location on FC: /var/www/otrs GenericAgent.pl's output follows: Can't locate Kernel/Config.pm in @INC (@INC contains: /var/www/otrs/Kernel/cpan-lib /var/www/otrs /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /var/www/otrs//bin/GenericAgent.pl line 40. BEGIN failed--compilation aborted at /var/www/otrs//bin/GenericAgent.pl line 40. Regards Kobus

On 9/28/06, kobus@barnard.za.org
I installed OTRS on a Fedora5 system (apache2 and perl5.8) all required perl modules are installed.
GenericAgent.pl, PostMasterPOP3.pl and UnlockTickets.pl can't seem to find Config.pm (/var/www/otrs/Kernel/Config.pm).
Are you sure you copied Kernel/Config.pm.dist to Kernel/Config.pm, as required in step 4 of the INSTALL document? Also, make sure you've run bin/SetPermissions.sh with the proper users/groups, as required in step 7 of the INSTALL document. Your @INC looks fine, it should include Kernel/Config.pm if it exists and is readable. Bryan

On Thu, 28 Sep 2006 09:45:55 -0400
"Bryan Fullerton"
Are you sure you copied Kernel/Config.pm.dist to Kernel/Config.pm, as required in step 4 of the INSTALL document?
Also, make sure you've run bin/SetPermissions.sh with the proper users/groups, as required in step 7 of the INSTALL document.
Your @INC looks fine, it should include Kernel/Config.pm if it exists and is readable.
Bryan
Thank you Bryan, your advice solved my problem. I initially followed an INSTALL.RedHat document which did not include the steps you mentioned. I then had another problem when starting otrs, it turned out to be a bug described here: http://bugs.otrs.org/show_bug.cgi?id=1231 (related to "DB.pm line 219" and "perl-DBD-MySQL-3.0004-1") applying a patch solved that one. Regards Kobus
participants (3)
-
Bryan Fullerton
-
Kobus Barnard
-
kobus@barnard.za.org