[otrs] SecureMode in Config.pm

Hilfe zu Znuny Problemen aller Art
Locked
Azimi
Znuny newbie
Posts: 15
Joined: 18 Aug 2008, 09:43

[otrs] SecureMode in Config.pm

Post by Azimi »

Ahoi...

bei der Installation via installer.pl erhalte ich folgende Fehler-
meldung:
Fehler: SecureMode active!

Kommentar: If you want to run the Installler, disable SecureMode in Config.pm!
Fehler berichten:
Traceback: ERROR: OTRS-Installer-10 Perl: 5.8.8 OS: linux Time: Thu Sep 11 16:19:21 2008

Message: SecureMode active!

Traceback (31739):
Module: Kernel::Output::HTML::Layout::Error (v1.51.2.5) Line: 1146
Module: /opt/otrs/bin/cgi-bin/installer.pl (v1.23) Line: 78

Leider bin ich des perls nicht mächtig... und bin mir daher unschlüssig
welche Variable(n) in der Config.pm geändert werden müssen. :(

Habt Dank für Eure Antwort... mit schönen Grüßen
Azimi
OTRS 2.3.2 Windows
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:

[otrs] SecureMode in Config.pm

Post by Andre Bauer »

Hast du überhaupt schon mal reingeschaut in die Config.pm?

Das hat nicht viel mit Perl zu tun. Einfach den Wert von 1 auf 0 ändern.
Prod: Ubuntu Server 16.04 / Zammad 1.2

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

OtterHub.org
Azimi
Znuny newbie
Posts: 15
Joined: 18 Aug 2008, 09:43

[otrs] SecureMode in Config.pm

Post by Azimi »

ja habe ich schon da steht aber nix davon!
$Self->{DatabaseHost} = 'localhost';
# Database
# (The database name.)
$Self->{Database} = 'otrs';
# DatabaseUser
# (The database user.)
$Self->{DatabaseUser} = 'otrs';
# DatabasePw
# (The password of database user. You also can use bin/CryptPassword.pl
# for crypted passwords.)
$Self->{DatabasePw} = 'some-pass';
# 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} = 'C:/OTRS/otrs';

# ---------------------------------------------------- #
# insert your own config settings "here" #
# config settings taken from Kernel/Config/Defaults.pm #
# ---------------------------------------------------- #
# $Self->{SessionUseCookie} = 0;
# $Self->{CheckMXRecord} = 0;

# ---------------------------------------------------- #

# ---------------------------------------------------- #
# data inserted by installer #
# ---------------------------------------------------- #
$Self->{LogModule} = 'Kernel::System::Log::File';
$Self->{LogModule::LogFile} = 'C:/OTRS/otrs/var/log/otrs.log';
# $DIBI$


# ---------------------------------------------------- #
# ---------------------------------------------------- #
# #
# End of your own config options!!! #
# #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
}

# ---------------------------------------------------- #
# needed system stuff (don't edit this) #
# ---------------------------------------------------- #
use strict;
use warnings;

use vars qw(@ISA $VERSION);
use Kernel::Config::Defaults;
push (@ISA, 'Kernel::Config::Defaults');

use vars qw(@ISA $VERSION);
$VERSION = qw($Revision: 1.20 $)[1];

# -----------------------------------------------------#

1;
vielen dank für dein Antwort aber ich bin kein Profi,arbeite erst seit 2 wochen mit dem OTRS. :(
OTRS 2.3.2 Windows
Forcid
Znuny newbie
Posts: 71
Joined: 10 Mar 2008, 16:40

[otrs] SecureMode in Config.pm

Post by Forcid »

guck mal unter
/opt/otrs/Kernel/Config/Files/ZZZAAuto.pm
und
/opt/otrs/Kernel/Config/Files/ZZZAuto.pm

Dort muss es auf 0 stehen, damit du die installation durchführen kannst :)
Produktiv OTRS 2.4.4
PHP 5.2.6
Apache 2.2.8
SuSE 11.0
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

[otrs] SecureMode in Config.pm

Post by jojo »

an den beiden Dateien sollte eigentlich nicht von Hand "rumgefummelt" werden. Die Config.pm ist schon der richtige Ort dafür, aber das bereits der Secure Mode eingeschaltet ist, deutet auf eine misslungene Installation hin.
"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
Azimi
Znuny newbie
Posts: 15
Joined: 18 Aug 2008, 09:43

[otrs] SecureMode in Config.pm

Post by Azimi »

Sorry aber so eine File habe ichnet in alte Version hatte ich aber hier nicht, ich habe nur framework und Ticket. Ich will dich echt nicht damit nerven aber ich finde es nicht :(
Weis du ich hatte OTRS 2.2 und wollte das upgraden dann habe ich halt so gemacht wie hier in diesen Link steht
http://faq.otrs.org/otrs/public.pl?Acti ... ItemID=301
aber irgendwie klapt nicht !
aber ich habe in
/opt/otrs/Kernel/Config/Default.pm angeschaut und da ist es 0!
Vielen vielen Dank
Azimi
PS: Frauen und Technik :lol: klappt nicht immer
OTRS 2.3.2 Windows
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

[otrs] SecureMode in Config.pm

Post by jojo »

Erst installieren, dann den alten DB Dump einspielen und konvertieren und die gesicherten Configfiles zurückspielen...
"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
Azimi
Znuny newbie
Posts: 15
Joined: 18 Aug 2008, 09:43

[otrs] SecureMode in Config.pm

Post by Azimi »

Ich habe es nur insatlliert und dann kamm diese fehlermeldung jetzt muss ich trot diese Meldung alten DB Dump einspielen??
Danke für eure Mühe
OTRS 2.3.2 Windows
Azimi
Znuny newbie
Posts: 15
Joined: 18 Aug 2008, 09:43

[otrs] SecureMode in Config.pm

Post by Azimi »

Es geht einfach gar nicht!!! ich bekomme nur 10000 Fehlermeldungen :(
OTRS 2.3.2 Windows
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

[otrs] SecureMode in Config.pm

Post by jojo »

dann lass es einen machen der davon Ahnung hat...
"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
Azimi
Znuny newbie
Posts: 15
Joined: 18 Aug 2008, 09:43

[otrs] SecureMode in Config.pm

Post by Azimi »

da geht leider nicht, ich bin Studentin und Studiere Informatik, jetzt mache ich mein Praktikum und das ist meine aufgabe!
Aber was ich raus gefunden habe, ich glaube diese Fehler meldung kommt weil ich otrs nicht ganz we bekommen habe, ich meine ich habe es ganz normal deinstalliert aber irgendwie sind noch par daten da!
LG Azimi
OTRS 2.3.2 Windows
Azimi
Znuny newbie
Posts: 15
Joined: 18 Aug 2008, 09:43

[otrs] SecureMode in Config.pm

Post by Azimi »

Wow, es geht!!!bin aber froh!
:-)
OTRS 2.3.2 Windows
Ticketfinder
Znuny newbie
Posts: 3
Joined: 02 Sep 2009, 14:08
Znuny Version: 2.4

[otrs] SecureMode in Config.pm

Post by Ticketfinder »

Ich weiß, ist jetzt schon ein Weilchen her.
Aber könnte ich erfahren woran es gelegen hat.
Produktiv: OTRS 2.4, OTRS:ITSM 1.3
OS: Windows Server 2003
DB: MySQL 5
Locked