Software error .. Defaults.pm line 2138

Hilfe zu Znuny Problemen aller Art
Locked
hardoverflow
Znuny newbie
Posts: 5
Joined: 27 Oct 2007, 15:33
Znuny Version: 2.3.4

Software error .. Defaults.pm line 2138

Post by hardoverflow »

Hi,

nachdem ich recht gut durch die Installation des Systemes gekommen bin, und ich den Rest (MySQL Datenbank) per Web-Installation durchführen wollte, kommt mir folgende Fehlermeldung in die Quere.

  • Software error:
    Died at /opt/otrs-2.2.3/bin/cgi-bin/../../Kernel/Config/Defaults.pm line 2138.

Ich weiss wirklich nicht woran das liegen könnte. Das installer.pl Skript führt er aber aus.. Berechtigungsproblem würde ich auch ausschliessen.

Kennt jemand oder weiss jemand damit umzugehen ?

Liebe Grüße
Daniel
Last edited by hardoverflow on 28 Oct 2007, 10:53, edited 1 time in total.
Ubuntu LTS 10.04 - 64bit | Apache 2.2.14 | MySQL 5.1.41 | OTRS 3.1.1
Andre Bauer
Znuny guru
Posts: 2189
Joined: 08 Dec 2005, 17:01
Znuny Version: 5.0.x
Real Name: André Bauer
Company: Magix Software GmbH
Location: Dresden
Contact:

Software error .. Defaults.pm line 2138

Post by Andre Bauer »

Hast du in der Defaults.pm etwas geändert?
Prod: Ubuntu Server 16.04 / Zammad 1.2

DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!

OtterHub.org
hardoverflow
Znuny newbie
Posts: 5
Joined: 27 Oct 2007, 15:33
Znuny Version: 2.3.4

Software error .. Defaults.pm line 2138

Post by hardoverflow »

In der Defaults.pm habe ich nichts geändert. Habe zur Sicherheit nocheinmal die orig. Default.pm von OTRS ersetzt. Nichts.. es bleibt bei der gleichen Fehlermeldung. Ich habe mal nachgeschaut in dieser Zeile. Aber für mich sind das böhmische Dörfer.

Hat jemand eine Idee ?

Liebe Grüße
Daniel
Ubuntu LTS 10.04 - 64bit | Apache 2.2.14 | MySQL 5.1.41 | OTRS 3.1.1
aL004
Znuny newbie
Posts: 2
Joined: 11 Dec 2007, 15:06

Software error .. Defaults.pm line 2138

Post by aL004 »

Hi hardoverflow,

habe genau die selbe Fehlermeldung, hast du schon eine Lösung gefunden oder kennt jemand das Problem.
Die Zeile 2138 der Defaults.pm ist das Ende der folgender if Schleife:

# load RELEASE file
if (-e "$Self->{Home}/RELEASE") {
if (open (PRODUCT, "< $Self-> {Home}/RELEASE")) {
while (<PRODUCT>) {
# filtering of comment lines
if ($_ !~ /^#/) {
if ($_ =~ /^PRODUCT\s{0,2}=\s{0,2}(.*)\s{0,2}$/i) {
$Self->{Product} = $1;
}
elsif ($_ =~ /^VERSION\s{0,2}=\s{0,2}(.*)\s{0,2}$/i) {
$Self->{Version} = $1;
}
}
}
}
else {
print STDERR "ERROR: Can't read $Self->{Home}/Release: $! This file is needed by central system parts of OTRS, the system will not work without this file.\n";
die;
}
}
else {
print STDERR "ERROR: $Self->{Home}/RELEASE does not exist! This file is needed by central system parts of OTRS, the system will not work without this file.\n";
die;
}


Ich habe auch keine Veränderungen an der Defaults.pm vorgenommen.
Kann mir hier jemand weiter helfen wäre echt super.
hardoverflow
Znuny newbie
Posts: 5
Joined: 27 Oct 2007, 15:33
Znuny Version: 2.3.4

Software error .. Defaults.pm line 2138

Post by hardoverflow »

Hi,

habe den Fehler gefunden und behoben. Bei mir lag es an dem Directorynamen vom OTRS-Ordner.

Vorher :
  • /otrs/otrs-2.2.3
Nachher :
  • /otrs/otrs
Anscheinend kommt er mit Sonderzeichen nicht so recht klar..

Liebe Grüße
Daniel
aL004
Znuny newbie
Posts: 2
Joined: 11 Dec 2007, 15:06

Software error .. Defaults.pm line 2138

Post by aL004 »

Super!!! Danke für deine schnelle Hilfe.

Genau das war das Problem.
Locked