Hallo,
ich habe OTRS nach dieser Anleitung installiert : http://www.howtoforge.com/otrs_centos4.4
Dort ist imho DBI und mod_perl2 schon dabei gewesen .
trotzdem bekomme ich unter Support bei den Emfpehlungen folgendes angezeigt :
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
Version (mod_perl) You should use mod_perl to increase your performance (you really should do this). Critical
ein yum install mod_perl ergab das es bereits installiert ist .
findet hier der apache das mod_perl evtl nicht ?
viele Grüße
tkbeat
OTRS optimieren
OTRS optimieren
__
OTRS 2.3.2
OS : CentOS 5
OTRS 2.3.2
OS : CentOS 5
OTRS optimieren
Unter Redhat gibt es ein sehr interessantes Phänomen:
- Die Module/Configs werden alphabetisch geladen
- geh in das Verzeichnis von /etc/httpd/conf.d/
- mv otrs.conf zotrs.conf
Das erlaubt Dir die Nutzung von mod_perl
Apache::DBI aktivierst Du in dem Du die beiden Zeilen:
#use Apache::DBI ();
#Apache::DBI->connect_on_init('DBI:mysql:otrs', 'otrs', 'some-pass');
in der Datei /opt/otrs/scripts/apache2-perl-startup.pl
aktivierst und das Passwort korrekt setzt
- Die Module/Configs werden alphabetisch geladen
- geh in das Verzeichnis von /etc/httpd/conf.d/
- mv otrs.conf zotrs.conf
Das erlaubt Dir die Nutzung von mod_perl
Apache::DBI aktivierst Du in dem Du die beiden Zeilen:
#use Apache::DBI ();
#Apache::DBI->connect_on_init('DBI:mysql:otrs', 'otrs', 'some-pass');
in der Datei /opt/otrs/scripts/apache2-perl-startup.pl
aktivierst und das Passwort korrekt setzt
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
OTRS optimieren
Hallo jojo
danke für deine Tips.
habe es jetzt so umgesetzt und mysqld und httpd neu gestartet
leider hat sich nichts verändert .
Im syslog findet sich kein Eintrag diesbezüglich .
gibt es noch andere möglichkeiten ?
viele Grüße
tkbeat
danke für deine Tips.
habe es jetzt so umgesetzt und mysqld und httpd neu gestartet
leider hat sich nichts verändert .
Im syslog findet sich kein Eintrag diesbezüglich .
gibt es noch andere möglichkeiten ?
viele Grüße
tkbeat
__
OTRS 2.3.2
OS : CentOS 5
OTRS 2.3.2
OS : CentOS 5
OTRS optimieren
die Lösung war
in meinem Fall mus die otrs.conf folgendermaßen ergänzt werden :
# --
# added for OTRS (http://otrs.org/)
# $Id: apache2-httpd-new.include.conf,v 1.3 2007/04/16 12:11:53 martin Exp $
# --
# agent, admin and customer frontend
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
#Persistent connections#
PerlModule Apache::DBI
# if mod_perl is used
<IfModule mod_perl.c>
# load all otrs modules
Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
# set mod_perl2 options
<Location /otrs>
# ErrorDocument 403 /otrs/customer.pl
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
Order allow,deny
Allow from all
</Location>
</IfModule>
# directory settings
<Directory "/opt/otrs/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
<Directory "/opt/otrs/var/httpd/htdocs/">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 400
Damit sind dann die 3 Einträge von CRITICAL auf OK gesetzt und OTRS ist nochmal um einiges schneller.
in meinem Fall mus die otrs.conf folgendermaßen ergänzt werden :
# --
# added for OTRS (http://otrs.org/)
# $Id: apache2-httpd-new.include.conf,v 1.3 2007/04/16 12:11:53 martin Exp $
# --
# agent, admin and customer frontend
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
#Persistent connections#
PerlModule Apache::DBI
# if mod_perl is used
<IfModule mod_perl.c>
# load all otrs modules
Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
# set mod_perl2 options
<Location /otrs>
# ErrorDocument 403 /otrs/customer.pl
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
Order allow,deny
Allow from all
</Location>
</IfModule>
# directory settings
<Directory "/opt/otrs/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
<Directory "/opt/otrs/var/httpd/htdocs/">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 400
Damit sind dann die 3 Einträge von CRITICAL auf OK gesetzt und OTRS ist nochmal um einiges schneller.
__
OTRS 2.3.2
OS : CentOS 5
OTRS 2.3.2
OS : CentOS 5
OTRS optimieren
apache module kann man auch mit...
a2enmod modul_name aktivieren
a2dismod modul_name deaktivieren
a2enmod -l alle aktivierten module anzeigen lassen.
Meiner Meinung nach die einfachste und schnellste Möglichkeit Apache-Module zu aktivieren / deaktiveren.
a2enmod modul_name aktivieren
a2dismod modul_name deaktivieren
a2enmod -l alle aktivierten module anzeigen lassen.
Meiner Meinung nach die einfachste und schnellste Möglichkeit Apache-Module zu aktivieren / deaktiveren.
SYSTEM:
OTRS: 3.0.6
OS: openSuSE 11.3
Web-Srv./DB: Apache2/mySQL 5
OTRS: 3.0.6
OS: openSuSE 11.3
Web-Srv./DB: Apache2/mySQL 5
OTRS optimieren
guten Tag,
ich habe leider auch Probleme mit CentOS.
habe OTRS mit Yum installiert. Verzeichnisstruktur, die von Yum erstellt wurde habe ich gelassen.
Folgande Schritte habe ich auch gemacht(von der Seite): http://www.howtoforge.com/otrs_centos4.4
3. Add an OTRS user
useradd -d /var/www/otrs/ -c 'OTRS user' otrs
4. Add the OTRS user to the apache group
usermod -G apache otrs
5. Change the permissions of the /var/www/otrs directory
chmod g+x /var/www/otrs
7. Update permissions
./SetPermissions.sh /var/www/otrs otrs apache apache apache
8. Confirm that all the perl modules are installed (should return with OK)
./otrs.checkModules
9. Confirm that the installer file exists (should return with OK)
perl -cw cgi-bin/installer.pl
10. Confirm that the postmaster file exists (should return with OK)
perl -cw PostMaster.pl
13. Change directories to /var/www/otrs/bin/
cd /var/www/otrs/bin/
14. Create the cron entries for OTRS
./Cron.sh start
Einstellungen in httpd.conf geändert.
so dann greife ich auf localhost.com/installer.pl, gehe die Schritte durch.
Restarte httpd und otrs und versuche auf index.pl zuzugreifen. root@localhos mit dem Password root nimmt er aber die Siete er leitet mich nicht weiter, d.h. Explorer zeigt
HTTP 500 Interner Serverfehler.
hier ist REstart von OTRS
[root@localhost conf]# service otrs restart
Shutting down OTRS
Disable /var/www/otrs/bin/PostMaster.pl ... done.
Shutting down cronjobs ...
done.
Final shutdown of OTRS.. done
Starting OTRS..
Checking httpd ... done.
Disabled: mysqld check!
Checking database connect... It looks Ok! done.
Enable /var/www/otrs/bin/PostMaster.pl ... done.
Checking otrs spool dir... done.
Creating cronjobs (source /var/www/otrs/var/cron/*) ...
done.
-->> http://localhost.localdomain/otrs/index.pl <<--
Final start of OTRS.. done
kann mir jemand weiterhelfen?
Danke im Voraus
ich habe leider auch Probleme mit CentOS.
habe OTRS mit Yum installiert. Verzeichnisstruktur, die von Yum erstellt wurde habe ich gelassen.
Folgande Schritte habe ich auch gemacht(von der Seite): http://www.howtoforge.com/otrs_centos4.4
3. Add an OTRS user
useradd -d /var/www/otrs/ -c 'OTRS user' otrs
4. Add the OTRS user to the apache group
usermod -G apache otrs
5. Change the permissions of the /var/www/otrs directory
chmod g+x /var/www/otrs
7. Update permissions
./SetPermissions.sh /var/www/otrs otrs apache apache apache
8. Confirm that all the perl modules are installed (should return with OK)
./otrs.checkModules
9. Confirm that the installer file exists (should return with OK)
perl -cw cgi-bin/installer.pl
10. Confirm that the postmaster file exists (should return with OK)
perl -cw PostMaster.pl
13. Change directories to /var/www/otrs/bin/
cd /var/www/otrs/bin/
14. Create the cron entries for OTRS
./Cron.sh start
Einstellungen in httpd.conf geändert.
so dann greife ich auf localhost.com/installer.pl, gehe die Schritte durch.
Restarte httpd und otrs und versuche auf index.pl zuzugreifen. root@localhos mit dem Password root nimmt er aber die Siete er leitet mich nicht weiter, d.h. Explorer zeigt
HTTP 500 Interner Serverfehler.
hier ist REstart von OTRS
[root@localhost conf]# service otrs restart
Shutting down OTRS
Disable /var/www/otrs/bin/PostMaster.pl ... done.
Shutting down cronjobs ...
done.
Final shutdown of OTRS.. done
Starting OTRS..
Checking httpd ... done.
Disabled: mysqld check!
Checking database connect... It looks Ok! done.
Enable /var/www/otrs/bin/PostMaster.pl ... done.
Checking otrs spool dir... done.
Creating cronjobs (source /var/www/otrs/var/cron/*) ...
done.
-->> http://localhost.localdomain/otrs/index.pl <<--
Final start of OTRS.. done
kann mir jemand weiterhelfen?
Danke im Voraus