SOLVED [0.5 alpha] Nach Umstellung auf Headless-Betrieb startet der VDR nicht

  • Habe heut meinen VDR auf den Headless-Betrieb umgestellt. Leider startet der VDR nicht mehr automatisch. Mit einem start vdr in der Konsole läufts dann.
    Das Upstart-Frontend-Log meckert das er X-display nicht öffnen kann. Das brauch er doch gar nicht für Headless??? Ist ja auch kein Screen mehr angeschlossen.

    cat /var/log/upstart/vdr-frontend.log
    wait-for-job-state stop/waiting
    wait-for-job-state stop/waiting
    wait-for-job-state stop/waiting
    Traceback (most recent call last):
    File "<stdin>", line 356, in <module>
    File "<stdin>", line 91, in status
    IndexError: list index out of range
    feh ERROR: Can't open X display. It *is* running, yeah?
    wait-for-job-state stop/waiting
    wait-for-job-state stop/waiting
    wait-for-job-state stop/waiting
    wait-for-job-state stop/waiting
    wait-for-job-state stop/waiting
    wait-for-job-state stop/waiting
    edit
    Das hier ist dazu gekommen. Weiß nicht auf was die Kiste wartet..
    /proc/self/fd/9: line 9: 999 Terminated start wait-for-job-state WAIT_FOR=vdr TARGET_GOAL=start WAIT_STATE=running WAITER=vdr-frontend WAIT_FOREVER=1


    YaVDR 0.5
    M3N78-VM Satelco Easywatch DVB-C

    Edited 3 times, last by omek (November 30, 2012 at 10:47 AM).

  • Wie sieht denn deine /etc/init/vdr-frontend.conf momentan aus? Eigentlich sollte da nichts existieren, das den Start des VDR verhindert oder verzögert.
    Ansonsten kannst du mal einfach den Upstart-Job ausknipsen:

    Code
    echo "manual" | sudo tee /etc/init/vdr-frontend.override
    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • # yavdr-frontend - Starts vdr frontend
    #

    description "yavdr-frontend"
    author "Steffen Barszus <steffenbpunkt@gmail.com>"

    env HOME=/var/lib/vdr
    export HOME

    respawn


    start on started vdr or stopped openbox-tools or started sound-device \
    or vdr-frontend-restart
    stop on stopping vdr or stopping openbox


    pre-start script
    # dont start if some other application is running
    if [ -e /tmp/.standalone ]; then
    vdr-dbus-send /Remote remote.Disable ||:
    exit 1
    fi

    # wait for vdr, Xorg (after wm is running) and the sound devices to be loaded
    start wait-for-job-state WAIT_FOR=vdr TARGET_GOAL=start WAIT_STATE=running WAITER=vdr-frontend WAIT_FOREVER=1 ||:


    YaVDR 0.5
    M3N78-VM Satelco Easywatch DVB-C

  • Zeig doch mal ein Syslog das mehr beinhaltet - bei dem oben sieht man ja praktisch nichts vom Start des VDR...

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Vermutlich die Soundkarte.

    Nehme an du bist hoffentlich nicht mehr auf der 0.5 alpha sondern hast auf das stable-ppa umgestellt und hast ein dist-update gemacht.

    Ich musste dann in der Soundcard
    sound-device.conf die "0" anfügen damit auf die richtige Soundkarte gewartet wird.
    Siehe hier:
    [solved] [yavdr0.5-beta] SoftHDDevice kommt nicht hoch

    &lt;ShowmySystems...&gt;

    [color=#666666]HTPC1: Ubuntu 10.04 / XBMC / VDR2.0.1 (yavdr-testing) /HW: P5N7A-VM/ E5200/ DVB-S-FF 2.1 / DVB-T T-1500
    HTPC2: Yavdr 0.5 oder SteamOS @ 960GC-GS FX / Sempron 140 / GF8400GS / Tevii 470

  • Ahh, Fehler gefunden!
    In der /etc/init/vdr.conf hatte ich noch ein OSCAM Eintrag drin der das starten verhindert hat.

    start on ( (started dbus and started udev and stopped networking and started oscam) or \

    Trotzdem danke


    YaVDR 0.5
    M3N78-VM Satelco Easywatch DVB-C

  • Eigentlich sollte das aber nur den vdr-frontend Upstart Job betreffen, der VDR selbst wartet da nicht: https://github.com/yavdr/yavdr-ba…nit/vdr.conf#L6
    omek:
    Klar, ein manueller Start des VDR sollte zeigen wenn da irgendwo ein prinzipielles Problem besteht.
    Ansonsten wäre die Ausgabe nach dem Booten ganz interessant:

    Code
    initctl list

    Edit: :whatever

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!