You should use FastCGI or mod_perl to increase... [SOLVED]

Moderator: crythias

Post Reply
arvobowen
Znuny newbie
Posts: 55
Joined: 12 Jul 2010, 20:34
Znuny Version: 2.4

You should use FastCGI or mod_perl to increase... [SOLVED]

Post by arvobowen »

When I run the [ Support Assessment ] tool I get the following message...

Check for CGI Accelerator.
You should use FastCGI or mod_perl to increase your performance. Critical

I have tried uncommenting the loadmodule call to load the mod_perl.so with no luck.
I do dig a little to find the following error...

Can't locate Apache/Response.pm in [at] INC...

Did a little digging on the subject and someone said they had to update CGI from version 3.01 to version 3.10 (from cpan.org).
Any ideas?
Last edited by arvobowen on 03 Aug 2010, 20:26, edited 1 time in total.
Operating System: Windows Server 2003 x86
Purpose: Information Technology Help Desk
OTRS Version: OTRS 2.4.7
arvobowen
Znuny newbie
Posts: 55
Joined: 12 Jul 2010, 20:34
Znuny Version: 2.4

Re: You should use FastCGI or mod_perl to increase...

Post by arvobowen »

Just to update, I have started moving down a different path. I'm now using IIS6/Active Perl/PHP/Windows 2003 for this project. Finally got it working right, though it was an uphill battle!

For those of you looking on solutions for the subject... All I had to do was uncomment some stuff in my apache conf. I would tell you if I remember what it was but alas it was a little bit ago. :) Sorry...
Operating System: Windows Server 2003 x86
Purpose: Information Technology Help Desk
OTRS Version: OTRS 2.4.7
peter_sk
Znuny newbie
Posts: 53
Joined: 10 Jun 2010, 09:27
Znuny Version: 2.4.7

Re: You should use FastCGI or mod_perl to increase... [SOLVE

Post by peter_sk »

Did I get this right? You are using IIS6 instead of Apache?

Can you put a guide together and publish it on the forum?

Thanks.
OTRS 2.4.7 with ITSM 2.0.3. running on Linux Fedora 12
arvobowen
Znuny newbie
Posts: 55
Joined: 12 Jul 2010, 20:34
Znuny Version: 2.4

Re: You should use FastCGI or mod_perl to increase... [SOLVE

Post by arvobowen »

Yea, as soon as I get just a little extra time and understand OTRS just a bit more I will. ;)

I have a heavy workload the next couple of days. As soon as I can I'll do it with images in hopes it will help others!
Operating System: Windows Server 2003 x86
Purpose: Information Technology Help Desk
OTRS Version: OTRS 2.4.7
davidbann
Znuny newbie
Posts: 92
Joined: 21 Jun 2010, 22:51
Znuny Version: 6.5.2
Real Name: David Bann
Location: South Africa

Re: You should use FastCGI or mod_perl to increase... [SOLVE

Post by davidbann »

I have used the standard MSI installation for OTRS on windows - StrawberryPerl doesn't come with mod_perl loaded, but it does come with the PPM utility.

Go to the command prompt and change to your Perl directory (eg c:\otrs\strawberryperl\perl\bin\). Now type the following:

Code: Select all

perl -v
This will get your perl version. If you have version 5.10, then enter the following to install mod_perl:

Code: Select all

ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd 
This will download and install mod_perl, and will most likely tell you that you dont have mod_perl.so in your Apache modules directory - it will then download that too, and ask you to enter the location to your Apache modules directory. Give the correct path, and once you hit enter it will complete the install.

Go to your Apache httpd.conf file and uncomment the following:

Code: Select all

LoadModule perl_module modules/mod_perl.so
(See more details about installing mod_perl using PPM for other Perl versions here: http://cpan.uwinnipeg.ca/PPMPackages/10xx/)

Now when you run the support assessment in OTRS, all will be fine with mod_perl. I did find that after doing this, a new problem came up to do with Apache::DBI. To solve this, you need to edit "\otrs\OTRS\scripts\apache2-perl-startup.pl" and uncomment the following lines:

Code: Select all

use Apache::DBI ();
Apache::DBI->connect_on_init('DBI:mysql:otrs', 'otrs', 'password');
...
use DBD::mysql ();
use Kernel::System::DB::mysql;
Obviously you need to set the database parameters correctly for DBI - make sure that the database name, the user and password is correct.
Walkman
Znuny newbie
Posts: 3
Joined: 28 Sep 2010, 13:43
Znuny Version: 2.4.7

Re: You should use FastCGI or mod_perl to increase... [SOLVE

Post by Walkman »

Hi everyone!

i had 100% load by perl.exe, when i tap on [system configuration] for example & i found this topic (but previously i'm reinstall system), and now i have ither 100% CPU load by httpd.exe if i fix FastCGI... as davidbann said, or 100% CPU by perl.exe w/o fix...

otrs-2.4.7-win-installer-2.1.1. (WIN-2003x86, vmware virt machine), downloaded few weeks ago...

also i have no [ Support Assessment ] link now

any ideas? thanks
Post Reply