Hi Michiel,

In my apache2-perl-startup.pl I have this at the top:

use strict;
use warnings;

Apache::DBI->connect_on_init('DBI:mysql:otrs', 'otrs', 'MyOTRSPassword');

Then the rest...

Thanks,


On Sun, Aug 16, 2009 at 10:15 PM, Michiel Beijen <[email protected]>wrote:

> Are you sure you've called it in the configuration file BEFORE any of the
> DBI modules are loaded? If you use apache2-perl-startup.pl you best add to
> the TOP of the file, and not the bottom.
> --
> Michiel Beijen
> Software Consultant
> +31 6 - 457 42 418
> Bee Free IT + http://beefreeit.nl
>
>
> On Sun, Aug 16, 2009 at 23:10, David Holder <[email protected]>wrote:
>
>>  Hi Michiel,
>>
>> I've done as you've instructed, restarted my web server but still it's
>> coming up as critical in my support assesment. Any ideas?
>>
>> David
>>
>> Michiel Beijen wrote:
>>
>> Hi David,
>>
>> Apart from installing Apache::DBI you would also need to call it after
>> mod_perl startup and before the activation of the DBI modules - edit 
>> scripts/apache2-perl-startup.pl
>>
>>
>>  use Apache::DBI ();
>>
>> Apache::DBI->connect_on_init('DBI:mysql:connectionstring....');
>>
>>
>> See also 
>> http://search.cpan.org/~abh/Apache-DBI/DBI.pm<http://search.cpan.org/%7Eabh/Apache-DBI/DBI.pm>
>>
>> Regards,
>> --
>> Michiel Beijen
>> Software Consultant
>> +31 6 - 457 42 418
>> Bee Free IT + http://beefreeit.nl
>>
>>
>> On Sun, Aug 16, 2009 at 18:33, David Holder <[email protected]>wrote:
>>
>>>  Hi Everyone
>>>
>>> I've got OTRS installed onto a Fedora Core 11 box and would like to
>>> resolve these performance issues:
>>>
>>>   Check Comment State  Check if the system use Apache::DBI.
>>>  Apache::DBI should be used to get a better performance (pre establish
>>> database connections). Critical  Check if the system use
>>> Apache::Reload/Apache2::Reload.
>>>  You should use Apache::Reload or Apache2::Reload to increase your
>>> performance. Critical  Check used mod_perl version.
>>>  You should use mod_perl to increase your performance. Critical
>>> I have ensured that mod_perl / apache2::reload / apache::DBI is also
>>> installed. I know for apache::DBI requires modification of the 
>>> config.pmfile. But with the windows version of OTRS the apache2::Reload and 
>>> mod_perl
>>> were turned on by default.
>>>
>>> Excuse my Linux n00bness, would really appreciate some help with getting
>>> these issues resolved.
>>>
>>> Thanks.
>>>
>>> David
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>>
>>> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
>>> http://www.otrs.com/en/support/enterprise-subscription/
>>>
>>
>> ------------------------------
>>
>> ---------------------------------------------------------------------
>> 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
>>
>> NEW! ENTERPRISE SUBSCRIPTION - Get more information 
>> NOW!http://www.otrs.com/en/support/enterprise-subscription/
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
>> http://www.otrs.com/en/support/enterprise-subscription/
>>
>
>
> ---------------------------------------------------------------------
> 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
>
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/
>
---------------------------------------------------------------------
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to