[HowTo] Aktivieren des Debuglog in unterschiedlichen Images

  • (english below)
    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

    Code
    1. dmesg > /tmp/dmesg.txt

    zusätzlich als Anhang zubekommen.




    (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

    Code
    1. dmesg > /tmp/dmesg.txt

    Dateien

    Grüßle
    Ralf
    ---------------------------------------------
    Gigablue Quad4K-mixed, UE4K, Trio4K, Quad_Plus-SSC, UE_Plus-SC, X2/X3-SC, UltraUE-SC, ...
    Astra 19.2E UniCable & KabelBW, oATV/teamBlue
    (u.a.: DM900uhd,Vu+Duo,AXTriplx, E4HD), PC-DVB-S/C/T, Xtreamer, BDP5200, LG 42R51, Philips 24PFS4022/12, 65OLED855/12 Samsung 933BW,UE32C5700, RPi3+
    ---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----

    Einmal editiert, zuletzt von Papi2000 () aus folgendem Grund: 2016/01 - kleinere Anpassungen