Wolfgang Goeller wrote:
Hello
Sometimes a recording is not done although vdr is running. Since vdr was running - according to ps runvdr did not restart vdr.
I dont't know what's the reason, might be, my vdr sometimes get tired :-) In /var/log/messages I find no explanation. But I think I've got a reasonable and simple solution:
When vdr behaves like this (halfdead) I can't connect to the svdrhost. My proposal thus for testing if vdr is really alive:
a=`svdrpsend.pl -p 2001 "quit" | grep SVDRP` if [ -z $a ] then RESTART fi
Do you have the watchdog timer active (option -w)? If so, it might be interesting to find out why it doesn't kick in.
Klaus