
Hallo Torsten,
aufgrund Deines Tipps habe ich einmal die Syntax der pm-Files überprüft:
itsteps24@h1044575:Kernel> perl -cw Language/*.pm
Language/ar_SA.pm syntax OK
itsteps24@h1044575:Kernel> perl -cw Language/de.pm
Language/de.pm syntax OK
itsteps24@h1044575:Kernel> perl -cw Language.pm
Language.pm syntax OK
itsteps24@h1044575:Kernel> perl -cw Config/Defaults.pm
Config/Defaults.pm syntax OK
itsteps24@h1044575:Kernel> perl -cw Config/GenericAgent.pm
Config/GenericAgent.pm syntax OK
Bzgl. Sprachen haben wir nur die Standardsprache auf de gestellt und
eine neue Language.pm heruntergeladen und eingebunden. Diese scheint
aber ja in Ordnung zu sein.
Aber ich habe etwas gefunden:
itsteps24@h1044575:Kernel> perl -cw Config.pm
Can't locate Kernel/Config/Defaults.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.7/i586-linux-thread-multi /usr/lib/perl5/5.8.7
/usr/lib/perl5/site_perl/5.8.7/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl .) at
Config.pm line 103.
BEGIN failed--compilation aborted at Config.pm line 103.
Die Config.pm ist kaputt gegangen.
Hier die Datei:
-----------------------------------------------------------------
# --
# Kernel/Config.pm - Config file for OTRS kernel
# Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id: Config.pm.dist,v 1.18 2006/09/07 16:15:41 mh Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --
# Note:
#
# -->> OTRS does have a lot of config settings. For more settings
# (Notifications, Ticket::ViewAccelerator, Ticket::NumberGenerator,
# LDAP, PostMaster, Session, Preferences, ...) see
# Kernel/Config/Defaults.pm and copy your wanted lines into "this"
# config file. This file will not be changed on update!
#
# --
package Kernel::Config;
sub Load {
my $Self = shift;
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# #
# Start of your own config options!!! #
# #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# database settings #
# ---------------------------------------------------- #
# DatabaseHost
# (The database host.)
$Self->{'DatabaseHost'} = 'localhost';
# Database
# (The database name.)
$Self->{'Database'} = 'otrs';
# DatabaseUser
# (The database user.)
$Self->{'DatabaseUser'} = '**geheim**';
# DatabasePw
# (The password of database user. You also can use bin/CryptPassword.pl
# for crypted passwords.)
$Self->{'DatabasePw'} = '**geheim**';
# DatabaseDSN
# (The database DSN for MySQL ==> more: "man DBD::mysql")
$Self->{DatabaseDSN} =
"DBI:mysql:database=$Self->{Database};host=$Self->{DatabaseHost};";
# (The database DSN for PostgreSQL ==> more: "man DBD::Pg")
# if you want to use a local socket connection
# $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};";
# if you want to use a tcpip connection
# $Self->{DatabaseDSN} =
"DBI:Pg:dbname=$Self->{Database};host=$Self->{DatabaseHost};";
# ---------------------------------------------------- #
# fs root directory
# ---------------------------------------------------- #
$Self->{Home} =
'/srv/www/vhosts/it-steps24.de/subdomains/ticket/httpdocs/';
# ---------------------------------------------------- #
# insert your own config settings "here" #
# config settings taken from Kernel/Config/Defaults.pm #
# ---------------------------------------------------- #
# $Self->{SessionUseCookie} = 0;
# $Self->{'CheckMXRecord'} = 1;
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# data inserted by installer #
# ---------------------------------------------------- #
# $DIBI$
$Self->{'SystemID'} = 10;
$Self->{'SecureMode'} = 1;
$Self->{'Organization'} = 'IT-Steps24 GmbH';
$Self->{'LogModule::LogFile'} = '/tmp/otrs.log';
$Self->{'LogModule'} = 'Kernel::System::Log::SysLog';
$Self->{'FQDN'} = 'ticket.it-steps24.de';
$Self->{'DefaultLanguage'} = 'de';
$Self->{'AdminEmail'} = 'admin@it-steps24.de';
$Self->{'DefaultCharset'} = 'utf-8';
$Self->{'DefaultUsedLanguages'}->{'de'} = 'deutsch';
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# #
# End of your own config options!!! #
# #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
}
# ---------------------------------------------------- #
# needed system stuff (don't edit this) #
# ---------------------------------------------------- #
use strict;
use vars qw(@ISA $VERSION);
use Kernel::Config::Defaults;
push (@ISA, 'Kernel::Config::Defaults');
$VERSION = '$Revision: 1.18 $';
$VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/;
# -----------------------------------------------------#
1;
-----------------------------------------------------------------
Siehst Du einen Fehler?
Vielen Dank schon einmal!
Gruß
Th.
Zitat von Torsten Thau
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hallo Thorsten,
Auf einmal bekommen wir nach Neustart des Apache eine Fehlermeldung:
--- Software error:
Can't locate object method "new" via package "Kernel::Language" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 81, <PRODUCT> line 4. ---
Nur so ein Gedanke: wurde evtl. irgendeine Uebersetzung hinzugefuegt? Dieser Fehler taucht (auch) auf, wenn eine Uebersetzung hinzugefuegt und dabei ein Syntaxfehler eingebaut wurde.
Ansonsten mal die Berechtigungen pruefen.
viele Gruesse, Torsten Thau
- -- Torsten Thau, Dipl. Inform. c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz phone: +49 371 5347 623 cell: +49 176 66 680 680 personal pgp-key: 0x93E0A174 fax: +49 371 5347 625 http://www.cape-it.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIU6YUvXo8m5PgoXQRAgUAAJ4g1Fwkq6LFl34gPdEhXS62JDU4OgCfY5c/ k+JZpUVWwXLPhDbM5IXObdA=lvkI -----END PGP SIGNATURE----- _______________________________________________ OTRS-de Mailingliste: otrs-de - Webpage: http://otrs.org/ Archiv: http://lists.otrs.org/pipermail/otrs-de/ Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/ Support oder Consulting fuer Ihr OTRS System? => http://www.otrs.com/