HowTo - Aktivieren des Debuglog in unterschiedlichen Images
Aktivieren des Debuglog, je nach Imagetyp und -alter etwas unterschiedlich:
Menü --> Einstellungen --> System --> Erweiterte Einstellungen --> Einstellungen Crashlog --> Debug Log aktivieren "Ja".
Menü --> Einstellung --> System --> Grundeinstellung --> Debuglog --> Debug Log aktivieren "Ja"
Das Log findet man dann unter /home/root oder /home/root/logs. Wenn das Problem auftritt, das neueste Log im passenden Bereich an einen Post anhängen.
Das erste Log wird nach dem Aktivieren ab dem nächten Reboot/Neustart der Box angelegt.
EDIT: Damit das Datum im Dateinamen immer korrekt gesetzt wird, habe ich bei mir eine Startverzögerung im System:
Die angehängte Datei auspacken, und per FTP (FileZilla oder WinSCP) auf die Box nach
/usr/bin als enigma2_pre_start.sh
kopieren, Rechte auf 0755 setzen.
Wenn die Verzögerungsdauer zu gering ist, und die Dateinamen noch nicht zuverlässig passen, den Zahlenwert nach "sleep" erhöhen (immer einen Unix-tauglichen Editor wie z.B. Notepad++ nehmen).
Für Quad und Quad_Plus sollten 3-5s reichen. Bei SE_Plus und UE_plus kann schonmal 12-15s nötig sein.
EDIT2:
Manchmal kann es auch vorteilhaft sein, die Ausgaben von /var/log/messages und
zusätzlich als Anhang zubekommen.Code:dmesg > /tmp/dmesg.txt
--------------------------------------------------------------
(english version)
Activating of Debuglog depending on Image-type and-age:
Menue-->Setting-->System-->Advanced Settings-->Settings Crashlog-->Activating Debuglog "Yes"
Menü --> Einstellung --> System --> Grundeinstellung --> Debuglog --> Debug Log aktivieren "Ja"
The Log can be found in /home/root or /home/root/logs. When Problems occur, apply the latest Log in the right Section of the board as attachment to a Post with the description, how we can reproduce the situation.
The first log after activation will be written after the next reboot/restart of the box.
EDIT: To allways get the correct time in the Filenames of the Logs, i have installed a small delay in the system-start:
Copy the attached file unpacked via FTP (FileZilla or WinSCP) to the Box into
/usr/bin as enigma2_pre_start.sh
set the rights to 0755.
If the time is too short and the names still do not fit, increase the value after "sleep" (allways use an Unix-compatible Editor like Notepad++).
For Quad and Quad_Plus, i need typical 3-5s, for SE_Plus and UE_Plus there might be 12-15s necessary.
EDIT2:
Sometimes, it can be usefull, to get additional attachment of /var/log/messages and the output of
Link nur für registrierte und freigeschaltete Mitglieder sichtbar.Code:dmesg > /tmp/dmesg.txt
thx @ Papi2000
Lesezeichen