problem with version 2.0 beta

I have been having problems related to the otrs not being able to find a lot of the .PM files (even though they are there). I tried to fix this by placing use lib statements in index.pl for /opt/otrs and /Kernel/cpan-lib etc. and that worked for some of the files but it seems like I keep having to do it. Any ideas/suggestions on how I can tell otrs to look at all the right places for /opt/otrs? Thanks! An example: Tue Apr 26 06:03:10 2005 Error: [Tue Apr 26 06:03:10 2005] Ticket.pm: Can't locate MIME/Words.pm in @INC (@INC c[..] Comment: Bug Report: Traceback: ERROR: OTRS-CGI-15 Perl: 5.8.5 OS: linux Time: Tue Apr 26 06:03:10 2005 Message: [Tue Apr 26 06:03:10 2005] Ticket.pm: Can't locate MIME/Words.pm in @INC (@INC contains: ../../ /opt/otrs //../../Kernel/cpan-lib //../.. /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /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.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /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/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /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.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /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/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl //../.. //../../Kernel/cpan-lib) at /opt/otrs/Kernel/System/Email.pm line 16, <PRODUCT> line 4. [Tue Apr 26 06:03:10 2005] Ticket.pm: BEGIN failed--compilation aborted at /opt/otrs/Kernel/System/Email.pm line 16, <PRODUCT> line 4. [Tue Apr 26 06:03:10 2005] Ticket.pm: Compilation failed in require at /opt/otrs/Kernel/System/Ticket.pm line 26, <PRODUCT> line 4. [Tue Apr 26 06:03:10 2005] Ticket.pm: BEGIN failed--compilation aborted at /opt/otrs/Kernel/System/Ticket.pm line 26, <PRODUCT> line 4. Traceback (5791): Module: Kernel::System::Web::InterfaceAgent::Run (v1.6) Line: 181 Module: ModPerl::ROOT::ModPerl::Registry::var_www_html_otrs_index_2epl::handler (v) Line: 50 Module: (eval) (v1.80) Line: 202 Module: ModPerl::RegistryCooker::run (v1.80) Line: 202 Module: ModPerl::RegistryCooker::default_handler (v1.80) Line: 168 Module: ModPerl::Registry::handler (v1.99) Line: 30 http://otrs/otrs/index.pl#top Top of Page Powered by OTRS 2.0.0 beta1 http://otrs.org/ end T.J. Maciak Internet/Intranet Developer Department of IT City of Grand Rapids P: (616)456-3713 F: (616)456-3448

Hello! On Di, Mai 03, 2005 at 04:57:20 -0400, Maciak, TJ wrote:
I have been having problems related to the otrs not being able to find a lot of the .PM files (even though they are there).
How have you installed OTRS? On witch system?
I tried to fix this by placing use lib statements in index.pl for /opt/otrs and /Kernel/cpan-lib etc. and that worked for some of the files but it seems like I keep having to do it. Any ideas/suggestions on how I can tell otrs to look at all the right places for /opt/otrs? Thanks!
The homedirectory of OTRS should be defined in Kernel/Config.pm. Use the foloowing parameter: $Self->{Home} = '/opt/otrs/'; Regards, Christian -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (2)
-
Christian Schoepplein
-
Maciak, TJ