(gelöst) Neustart in Selbstgebauten VDR einbauen.

  • Also ich habe mir meinen vdr selbstkompiliert und starte ihn manuell über die Shell da ich nicht möchte dass dieser Sofort beim start läuft. Ok nun habe ich ein Problem wenn ich im VDR menü auf neustarten gehe macht er ihn einfach aus. wo und wie kann ich meinen VDR so einstellen damit er tatsächlich einen Neustart macht?


    meine runvdr


    ./vdr -Pdvd -P'mp3 -m /daten/Orginale/vdr/Programm/systemdaten/mount.sh -n /daten/Orginale/vdr/Programm/systemdaten/network.sh' -P'mplayer -m /daten/Orginale/vdr/Programm/systemdaten/mount.sh -M /daten/Orginale/vdr/Programm/systemdaten/mplayer.sh' -Pchannelscan -Posdteletext -c /daten/Orginale/vdr/Programm/vdr -s /daten/Orginale/vdr/Programm/systemdaten/vdrshutdown &
    tvtime &

  • indem du den watchdo setzt ?


    ohne nachzuschauen: -w 60 für eine Minute


    Christian

    CKone: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G540, 2x 2GB Kingston DDR3, Zotac GT630 1GB, S2-1600, Ocz Agility 3 60GB, LG GH24NS DVD, 15.6" Selbstbau TFT, Harmony 665, CIR Selbstbau - das Ganze im Silverstone SST-SG03B
    CKtwo: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G1610, 2x 2GB Corsair DDR3, Zotac GT630 1GB, TT S2-1600, Ocz Vertex 2 50 GB, 92 Kanal Seduatmo, Harmony 665, atric USB
    CKthree: yavdr-ansible/22.04 LTS/2.6.1/kodi19.3 auf Intel NUC, Celeron J4005, UHD Graphics 600, 4GB Crucial DDR4, Ocz Vertex2 50 GB, Harmony 350

    PowerEdge: Ubuntu Server 16.04 LTS / VDR 2.4.1 auf Dell PowerEdge T20, Xeon E3-1225 v3, 16GB ECC DDR3, 2x Cine S2 V6 mit Duoflex, Samsung 840 EVO 120GB, 3x WD White WD80EZAZ 8TB in SW Raid5



  • Es sollte reichen nach dem Start des VDR ein reboot in dein Startskript zu packen. Dieses wird dann nach Beenden des VDR ausgeführt.


    arghgra

  • mit dem -w 60 startet er ja anscheinend alle 60 sec neu dass wollte ich ja nciht.
    Ich will ja nur dass er neustartet wenn ich auf neustart gehe.



    Deswegen wie binde ich ein startscript ein??


    und wie kann ich z.B. folgenden Befehl killen ohne die Prozessnumer da die sich ja ändert.


    ./vdr -Pdvd & // wie könnte ich diesen befehl killen

  • -w 60 startet nur im Fall des nichtreagierne von vdr neu, nicht alle 60 sekunden.


    Schau dir halt mal z.B. die runvdr von linvdr an.


    Da sollte sich schon was herauslesen lassen hoff ich.

  • Ausschnitt aus meiner runvdr:

    Code
    $VDRCMD &
    VDRPID=$!
    wait $VDRPID
    EXITCODE=$?

    In vdrstandby (ist bei mir minimal anders) steht dann:

    Code
    # NVRAM-Wakeup einstellen ... etc.
    /sbin/reboot

    (( Kein VDR im Augenblick ))
    Desktop: OS X 10.4 - PowerBook G4
    Misc. HW: XBox 1.0 w/ XBMC & Sanyo Z3S & Onkyo TX-SR503E

  • Hi,

    Code
    Also ich habe mir meinen vdr selbstkompiliert und starte ihn manuell über die Shell da ich nicht möchte dass dieser Sofort beim start läuft.


    installiere den Kram ueber die ebuilds,
    wenn vdr nicht automatisch gestartet werden soll,
    rc-update del 'Name vom gewuenschten Dienst'
    mfg

  • Ja ich habe jetzt nun auch die ebuilds installiert doch hab ich dass problem sobald ich entweder dass mp3 Plugin oder dass mplayer plugin installiere dann startet mein VDR nicht mehr!!!


    Venice christian # /etc/init.d/vdr start
    * Preparing start of vdr:
    * config files ... [ ok ]
    * vdr: You use a NPTL only system, using nptl and hoping the best.
    * Prerequisits (devices nodes etc.) ... [ ok ]
    * Starting vdr-1.3.45 ... [ ok ]
    * Waiting for working vdr ...
    * aborted, please check logfile


    Wo finde ich denn dass logfile


    ist es etwa das????


    Venice init.d # cat /var/vdr/vdr-start-log
    Startlog for VDR
    Venice init.d #


    da steht aber eigentlich nichts brauchbares drin




    Wie gesagt wenn ich aus /etc/conf.d/vdr mp3 und mplayer lösche funtzt der VDR steht einer von beiden oder sogar beide drin kommt die obere meldung.


    Info: Ich verwende Gentoo 64

  • hab ich beides nicht



    Venice log # pwd
    /var/log
    Venice log # ls
    cups faillog news turboprint_cups.log wtmp
    dmesg kdm.log sandbox turboprint.log Xorg.0.log
    emerge.log lastlog scrollkeeper.log turboprint_lpr.log Xorg.0.log.old
    Venice log #

  • Also im Logfile steht folgendes und ich bekomme es auch nicht raus hab jetzt auch nur mp3ng installiert und es läuft nicht damit. Ohne mp3ng läufts einwandfrei


    Log


    May 7 23:21:14 Venice su(pam_unix)[20881]: session opened for user root by (uid=1000)
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: BootForSwitchTimer = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: ConfirmSwitchTimers = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: ConfirmSwitchTimersTimeout = 30
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: DisableVPS = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: DoubleEpgAction = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: DoubleEpgTimeDelta = 15
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: JumpPlay = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: LoadMarksInterval = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: LocalChannelProvide = 1
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: MenuCmdPosition = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: MixEpgAction = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: noEPG =
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: PlayJump = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: PreferredChannel = 1
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: RecordDolbyDigital = 1
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: ShowProgressBar = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: ShowRecDate = 1
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: ShowRecLength = 1
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: ShowRecPathLength = 25
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: ShowRecTime = 1
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: ShowRecType = 1
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: SortRecords = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: SortSwitchTimersSep = 1
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: SortTimers = 1
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: StartupVolume = 0
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: TrayOpenOnBegin = 1
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: TrayOpenOnEnd = 1
    May 7 23:23:47 Venice vdr: [22880] ERROR: unknown config parameter: WarEagleIcons = 1
    May 7 23:23:49 Venice vdr: [22880] ERROR: you should have defined at least one source in mp3ngsources
    May 7 23:23:51 Venice rc-scripts: aborted, please check logfile

  • May 7 23:23:49 Venice vdr: [22880] ERROR: you should have defined at least one source in mp3ngsources


    denk mal.


    leg ne datei mp3ngsources.conf an in /etc/vdr/plugins (oder wo auch immer bei gentoo)

  • hab ich


    Venice plugins # cat /etc/vdr/plugins/mp3ngsources.conf
    /daten/Mp3;Locale Mp3;0;*.mp3/*.ogg/*.wav"
    Venice plugins #


    läuft immernoch nicht


    Venice plugins # /etc/init.d/vdr start
    * Preparing start of vdr:
    * config files ... [ ok ]
    * vdr: You use a NPTL only system, using nptl and hoping the best.
    * Prerequisits (devices nodes etc.) ... [ ok ]
    * Starting vdr-1.3.45 ... [ ok ]
    * Waiting for working vdr ...
    * aborted, please check logfile [ !! ]
    Venice plugins #

  • Venice plugins # cp mp3ngsources.conf mp3ngsources
    Venice plugins # /etc/init.d/vdr start
    * Preparing start of vdr:
    * config files ... [ ok ]
    * vdr: You use a NPTL only system, using nptl and hoping the best.
    * Prerequisits (devices nodes etc.) ... [ ok ]
    * Starting vdr-1.3.45 ... [ ok ]
    * Waiting for working vdr ...
    * aborted, please check logfile [ !! ]
    Venice plugins #


    log


    May 7 23:41:46 Venice rc-scripts: aborted, please check logfile
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: BootForSwitchTimer = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: ConfirmSwitchTimers = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: ConfirmSwitchTimersTimeout = 30
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: DisableVPS = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: DoubleEpgAction = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: DoubleEpgTimeDelta = 15
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: JumpPlay = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: LoadMarksInterval = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: LocalChannelProvide = 1
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: MenuCmdPosition = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: MixEpgAction = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: noEPG =
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: PlayJump = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: PreferredChannel = 1
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: RecordDolbyDigital = 1
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: ShowProgressBar = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: ShowRecDate = 1
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: ShowRecLength = 1
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: ShowRecPathLength = 25
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: ShowRecTime = 1
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: ShowRecType = 1
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: SortRecords = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: SortSwitchTimersSep = 1
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: SortTimers = 1
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: StartupVolume = 0
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: TrayOpenOnBegin = 1
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: TrayOpenOnEnd = 1
    May 7 23:43:01 Venice vdr: [23316] ERROR: unknown config parameter: WarEagleIcons = 1
    May 7 23:43:03 Venice vdr: [23316] ERROR: you should have defined at least one source in mp3ngsources
    May 7 23:43:04 Venice rc-scripts: aborted, please check logfile


    Wie findet man denn bei einem emergtem VDR raus wo die Datei gesucht wird???

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!