hi everyone,
i have loaded the OTRS support package which should analyze my system. well, after running this package i have two critical points to review:
Apache::DBI Apache::DBI should be used to get a better performance (pre establish database connections). Critical
Apache::Reload You should use mod_perl to increase your performance very strong! Critical
well i searched all over the internet and couldn’t find anything on this two points. as i guess, this is not really a OTRS issue but more a apache issue... unfortunately i am not really familiar with apache... so hopefully someone of you guys can give a clue.
thanks a lot.
regards,
patrick.
sure... ;-) sorry, i forgot that... seems to be important... ;-)
i am running otrs on a suse enterprise 10 system...
regards,
patrick.
daniele,
thanks a lot for your reply.
unfortunately i can’t solve this mod_perl issue. i already had all this packages (apache2, apache2-perl-mod and apache-dbi-perl) installed... and when i had a look on the otrs.conf file i recognized that everything was exactly the same like the one you posted in... except this line:
PerlModule Apache::DBI
but as far as i put this line into this configuration file, i get an error when i try to start my apache:
“Invalid command ‘PerlModule’, perhaps misspelled or defined by a module not included in the server configuration”
well, i checked the spelling and everything was fine. i think the problem is that first of all the module has to be included in the apache configuration... but i am not sure how to do this. any idea? i was trying to add a line containing something like that:
LoadModule perl_module ../apache2/mod_perl.so
but i don’t know where to add this line... httpd.conf? apache-httpd.conf? apache2-httpd.include.conf? sorry, but maybe you can explain me what is the difference between all this httpd configuration files...
thanks a lot.
regards,
patrick.
ok, finally i could load the mod_perl into the apache configuration... so this seems to work fine now...
but i have still the issue that, when i include the following to line into the apache2-perl-startup.pl:
use Apache2::DBI ();
Apache2::DBI->connect_on_init(‘DBI:mysql:db’,’user’,’pw’); [of course this are just examples]
i get this error in the error_log file of the apache:
Can’t load Perl module Apache2::DBI for server MYSERVER, exiting
when i comment the two lines in question and use instead:
use DBI ();
use DBD::mysql ();
everything works perfect!
any idea?
thanks.
regards,
patrick.
doesn’t change anything... i always get an error like this:
“Can’t locate Apache2/DBI.pm in @INC (...)” or "Can't locate Apache/DBI.pm in @INC (...)"
does this work for you?
finally it works! ;-)
the problem was, that i needed to install the Apache::DBI package from cpan... since then the following configuration in apache2-perl-startup.pl works perfectly:
use Apache::DBI ();
Apache::DBI->connect_on_init('DBI:mysql:otrs', 'otrs', 'password');
use DBI ();
use DBD::mysql ();
thanks a lot for your precious help!
regards,
patrick.
ps: so i don’t need debian... thanks anyway... ;-)
[...]
> but i have still the issue that, when i include the following to line
> into the apache2-perl-startup.pl:
>
> use Apache2::DBI ();
> Apache2::DBI->connect_on_init('DBI:mysql:db','user','pw'); [of course
> this are just examples]
>
> i get this error in the error_log file of the apache:
>
> Can't load Perl module Apache2::DBI for server MYSERVER, exiting
A Perl module which is tried to load is not present on your system. Btw,
the module is called Apache::DBI, not Apache2::DBi. Simply install it if
you want to use a persistent DB connection or comment out both lines.
Henning
--
((otrs)) :: OTRS AG :: Europaring 4 :: D - 94315 Straubing
Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18
http://www.otrs.com/ :: Communication with success!
Geschäftssitz: Bad Homburg
Amtsgericht Bad Homburg, HRB 10751
Steuernummer: 003/240/97521
Aufsichtsratsvorsitzender: Burchard Steinbild
Vorstand: André Mindermann (Vorsitzender), Martin Edenhofer
thanks for your reply. yeah, i know that already. i already made a post (yesterday) to this list with exactly this informations... thanks anyway.
regards,
patrick.
-----Ursprüngliche Nachricht-----
Von: otrs-b...@otrs.org [mailto:otrs-b...@otrs.org] Im Auftrag von Henning Oschwald
Gesendet: Freitag, 26. September 2008 09:54
An: ot...@otrs.org
Betreff: Re: [otrs] OTRS performance tuning
On Mi, Sep 24 2008, Patrick Schiess wrote:
Henning
_______________________________________________
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
Best Regards
Zhang Qing
> I am new to the OTRS. The system works well so far. But I can not find
> the ticket anymore after I close it. Is there any body can help on
> this?
You can use the search function.
Nils Breunese.
Best Regards
Zhang Qing
-----邮件原件-----
发件人: otrs-b...@otrs.org [mailto:otrs-b...@otrs.org] 代表 Nils Breunese (Lemonbit)
发送时间: 2008年9月26日 16:28
收件人: User questions and discussions about OTRS.
主题: Re: [otrs] Missing the ticket after it was closed
What you can do is define a closed queue and there transfer the ticket and
keep state open
Greg Horne
gehorne
-----Original Message-----
From: otrs-b...@otrs.org [mailto:otrs-b...@otrs.org]On Behalf Of
Qing Zhang
Sent: Friday, September 26, 2008 4:15 AM
To: User questions and discussions about OTRS.
> I can not find thos closed tickets through search function either.
> It looks some program take those closed ticket.
Strange, you should be able to find them that way. Works fine for us.
Ciao, d.
-----Messaggio originale-----
Da: otrs-b...@otrs.org [mailto:otrs-b...@otrs.org] Per conto di Nils Breunese (Lemonbit)
Inviato: venerdì 26 settembre 2008 10.28
A: User questions and discussions about OTRS.
Oggetto: Re: [otrs] Missing the ticket after it was closed
> You can also enable statusview on agent frontend.
AFAIK StatusView doesn't show closed tickets. Not on our installation
anyway (and I wouldn't want it to do that either).
-----Messaggio originale-----
Da: otrs-b...@otrs.org [mailto:otrs-b...@otrs.org] Per conto di Nils Breunese (Lemonbit)
Inviato: venerdì 26 settembre 2008 15.22
A: User questions and discussions about OTRS.
Oggetto: Re: [otrs] R: Missing the ticket after it was closed
> No, Statusview has a submenu for showing open/closed ticket (Open
> Tickets / Closed Tickets under Ticket Status View sentence) by
> default.
Ah, I never noticed that. :o)