Antw: Re: Antw: Re: Antw: Re: An tw: Re: Weiterhin keine Anmeldung möglich

"Josef Penzkofer" <[email protected]>
Newsgroups gmane.comp.otsr.user.german
Message-ID <[email protected]>
Hallo Renée,

vielen Dank - das wars.

Ich hatte - warum auch immer ;-)  - im Verzeichnis
/Custom/Kernel/System/AuthSession
noch eine modifizierte Datei DB.pm und die wurde geladen.

OTRS Error-Log
[Mon Jul  3 13:43:33
2017][Error][Kernel::System::AuthSession::GetActiveSessions][413]
/opt/otrs/Custom/Kernel/System/AuthSession/DB.pm

Nachdem ich die Datei so umbenannt habe, dass sie nicht mehr geladen wurde,
war die Anmeldung möglich.

Gruß

Sepp



>>> Renee B <[email protected]> 03.07.2017 13:23 >>>
Hallo Sepp,

Am 03.07.2017 um 11:58 schrieb Josef Penzkofer:
> Hallo martin,
>
> otrs@rrzvm066:~> bin/otrs.Console.pl Admin::Package::FileSearch
> Kernel/System/AuthSession/DB.pm
> Searching in installed OTRS packages...
> Error: File Kernel/System/AuthSession/DB.pm was not found in an installed
OTRS
> package.
> otrs@rrzvm066:~>
>
> Aber auch diese Datei existiert natürlich:
>   Kernel/System/AuthSession/DB.pm
> Größe: 21.382; Rechte: rw-rw----; Besitzer: otrs; Gruppe: www; Geändert:
> 01.06.2017
>   
> Rechte des Verzeichnisses:
> Kernel/System/AuthSession
> Rechte: rwxrwsr-x; Besitzer: otrs; Gruppe: www
>
> Und die Meldung
> Error: File Kernel/System/AuthSession/DB.pm was not found in an installed
OTRS
> package.
> erhalte ich auch auf einem weiteren, neu installiertem Testsystem (OTRS
> 5.0.15)

Das Kommando zeigt, dass die Kernel/System/AuthSession/DB.pm *nicht* mit 
einem Addon auf das System kam, sondern die Originaldatei von OTRS ist. 
Damit musst Du keine Addons deinstallieren.

Die .../DB.pm hat auch die GetActiveSessions-Methode?

Kannst Du mal in die GetActiveSessions-Methode in der 
Kernel/System/AuthSession.pm (*nicht* die DB.pm) folgendes einbauen?

$Kernel::OM->Get('Kernel::System::Log')->Log( Priority => error => 
Message => $INC{"Kernel/System/AuthSession/DB.pm"} );

Dann versuchen einzuloggen. Anschließend sollte im Apache errorlog 
ersichtlich sein, von welchem Pfad die DB.pm geladen wird.

Viele Grüße,
Renée

-- 
Perl / OTRS development: http://perl-services.de 
OTRS AddOn repository: http://opar.perl-services.de 

---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/ 
Archive: http://lists.otrs.org/pipermail/otrs-de 
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.