After commenting out the three lines below OTRS seems to load much faster. Thanks a bunch!
- Jeff > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Vittal Aithal > Sent: Wednesday, November 15, 2006 3:34 AM > To: User questions and discussions about OTRS.org > Subject: Re: [otrs] OTRS, mod_perl2 and Apache2 on CentOS 4.4 > > Jeff - > > In /opt/otrs/scripts/apache2-perl-startup.pl, comment out the following > lines: > > use Apache (); > use Apache::DBI (); > Apache::DBI->connect_on_init('DBI:mysql:otrs', 'otrs', 'some-pass'); > > The CGI module should be smart enough to figure out what Apache modules > to load when running under mod_perl_2 > > hth > vittal > > On 15 Nov 2006, at 11:24, Jeff Engstrom wrote: > > > Once I added the line you suggested and went to cycle Apache the > > following errors came up... > > ------------------------------------------------- > > Stopping httpd: [ OK ] > > Starting httpd: [Wed Nov 15 01:58:33 2006] [error] Can't locate > > Apache.pm in @INC (@INC contains: /opt/otrs/Kernel/cpan-lib > /opt/otrs/ > > /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) at > > /opt/otrs/scripts/apache2-perl-startup.pl line 22.\nBEGIN > > failed--compilation aborted at /opt/otrs/scripts/apache2-perl- > > startup.pl line 22.\nCompilation failed in require at (eval 2) line > > 1.\n [Wed Nov 15 01:58:33 2006] [error] Can't load Perl file: > > /opt/otrs/scripts/apache2-perl-startup.pl for server > > vmhost04.localnet:0, exiting... > > [FAILED] > > > > As you can see below the file is on my server... > > ------------------------------------------------- > > > > [EMAIL PROTECTED] conf]# locate Apache.pm > > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/DBI/ > > ProfileDumper/A > > pache.pm > > /usr/lib/perl5/5.8.5/CGI/Apache.pm > > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBI/ > > ProfileDumper/Apa > > che.pm > > ------------------------------------------------- > > > > Thanks, > > Jeff > > > > > >> -----Original Message----- > >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > >> Of Vittal Aithal > >> Sent: Wednesday, November 15, 2006 1:25 AM > >> To: User questions and discussions about OTRS.org > >> Subject: Re: [otrs] OTRS, mod_perl2 and Apache2 on CentOS 4.4 > >> > >> Jeff - > >> > >> Do you have the line: > >> > >> Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl > >> > >> in your Apache config? This sets up the OTRS paths, and loads all > the > >> OTRS related modules. If it is in your Apache config, ensure that / > >> opt/otrs/scripts/apache2-perl-startup.pl contains the lines: > >> > >> use lib "/opt/otrs/"; > >> use lib "/opt/otrs/Kernel/cpan-lib"; > >> > >> hth > >> vittal > >> > >> On 15 Nov 2006, at 05:09, Jeff Engstrom wrote: > >> > >>> > >>> > >>>> -----Original Message----- > >>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > >>>> Behalf Of Vittal Aithal > >>>> Sent: Tuesday, November 14, 2006 2:20 AM > >>>> To: User questions and discussions about OTRS.org > >>>> Subject: Re: [otrs] OTRS, mod_perl2 and Apache2 on CentOS 4.4 > >>>> > >>>>> ------------------------------------------------- > >>>>> Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" > >>>>> Alias /otrs/ "/opt/otrs/bin/cgi-bin/" > >>>>> > >>>>> <Location /otrs> > >>>>> SetHandler perl-script > >>>>> PerlHandler Apache::Registry > >>>>> Options ExecCGI > >>>>> PerlSendHeader On > >>>>> PerlSetupEnv On > >>>>> </Location> > >>>>> ------------------------------------------------- > >>>>> > >>>> > >>>> Hi Jeff, > >>>> > >>>> Under mod_perl 2, the PerlHandler line should be replaced with: > >>>> > >>>> PerlResponseHandler ModPerl::Registry > >>>> > >>>> I also use: > >>>> > >>>> PerlOptions +ParseHeaders > >>>> PerlOptions +SetupEnv > >>>> > >>>> rather than PerlSendHeader and PerlSetupEnv > >>>> > >>>> > >>>> hth > >>>> vittal > >>>> _______________________________________________ > >>>> OTRS mailing list: otrs - Webpage: http://otrs.org/ > >>>> Archive: http://lists.otrs.org/pipermail/otrs > >>>> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > >>>> Support orr consulting for your OTRS system? > >>>> => http://www.otrs.com/ > >>> > >>> I changed the config to match the above post items but now I get a > >> new > >>> error... > >>> ------------------------------------------------- > >>> Can't locate Kernel/System/Web/InterfaceAgent.pm in @INC (@INC > >>> contains: > >>> /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. > >>> /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) at /opt/otrs/bin/cgi-bin/ > >>> index.pl line 41.\nBEGIN failed--compilation aborted at > >>> /opt/otrs/bin/cgi-bin/index.pl line 41.\n > >>> ------------------------------------------------- > >>> > >>> The file it is asking for above is in Kernel/System/Web/ in the > otrs > >>> directory. Is there a path statement I missed along the way? > >>> > >>> Thanks again, > >>> Jeff > >>> > >>> _______________________________________________ > >>> OTRS mailing list: otrs - Webpage: http://otrs.org/ > >>> Archive: http://lists.otrs.org/pipermail/otrs > >>> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > >>> Support orr consulting for your OTRS system? > >>> => http://www.otrs.com/ > >> > >> -- > >> Vittal Aithal > >> [EMAIL PROTECTED] > >> > >> > >> > >> _______________________________________________ > >> OTRS mailing list: otrs - Webpage: http://otrs.org/ > >> Archive: http://lists.otrs.org/pipermail/otrs > >> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > >> Support orr consulting for your OTRS system? > >> => http://www.otrs.com/ > > > > _______________________________________________ > > OTRS mailing list: otrs - Webpage: http://otrs.org/ > > Archive: http://lists.otrs.org/pipermail/otrs > > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > > Support orr consulting for your OTRS system? > > => http://www.otrs.com/ > > -- > Vittal Aithal > [EMAIL PROTECTED] > > > > _______________________________________________ > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > Support orr consulting for your OTRS system? > => http://www.otrs.com/ _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/
