VDR with VNSI runs but not after restart
#1
Hi,
I am faced with a strange effect:
Installed KODIbuntu from scratch. Want to enable Live TV with VDR. Currently my setup works fine as long as I do not reboot. After reboot the VDR crashes with Syslog message in an endless loop:
Code:
Jan 14 20:08:32 [hostname] kernel: [   53.719805] init: vdr main process (29041) terminated with status 127

In kodi.log is this message:
Code:
20:08:33 T:140179864016640   ERROR: AddOnLog: VDR VNSI Client: TransmitMessage - Failed to write packet (Connection refused), bytes written: -1 of total:
39
20:08:33 T:140179864016640   ERROR: AddOnLog: VDR VNSI Client: SignalConnectionLost - connection lost !!!
20:08:33 T:140179864016640   ERROR: AddOnLog: VDR VNSI Client: Login - failed to read greeting from server
20:08:33 T:140179864016640   ERROR: ADDON: Dll VDR VNSI Client - Client returned bad status (1) from Create and is not usable
20:08:33 T:140179864016640 WARNING: UpdateAndInitialiseClients - failed to create add-on VDR VNSI Client, status = 1
20:08:33 T:140180051764992  NOTICE: Thread AddonStatus pvr.vdr.vnsi start, auto delete: true

The only way to stop it is disabling vdr in /etc/default/vdr and disabling Live TV in Kodi.
Then enabling again both and Live TV works fine.

My setup is:
- VDR 2.0.3 from KODIbuntu repository
- VNSI Server compiled from http://www.vdr-portal.de/board60-linux/b...ost1225007. This is vdr-plugin-vnsiserver_1.2.0~git20141226-3b2cf31-1yavdr0~trusty.dsc. Should be newest version
- VNSI client in Kodi is Version: 1.9.22-3trusty

I compiled the KODI addon from https://github.com/opdenkamp/xbmc-pvr-addons, but KODI refused to install the zip because of missing addon dependensies. In the addon.xml section <requires> are "xbmc.pvr", "xbmc.codec" and "xbmc.gui" mentioned. Can't find any of those.

Some ideas how to solve this to be able to have Live TV strait forward after reboot?

Thanks and regards
Fuchs
Reply
#2
set vdr loging level to 3 and pastebin entire logs: syslog and kodi.log
Reply
#3
Hi FernetMeta,
thanks,
I think the log level is already at 3 by default and I don't see any option to change it. Or where to set the log level?

You can find the syslog and kodi.log here.

Fuchs
Reply
#4
please you pastebin. I have to look in so many logs and can't download them all.
Reply
#5
ok, here is:
kodi.log: http://pastebin.com/zxBTaVTZ
syslog: http://pastebin.com/vNUqhkG1 (here I deleted some repeating lines)

Thanks for your help.
Fuchs
Reply
#6
looks like an issue with your startup sequence. where did you get vdr from? standard ubuntu ppa. Personally I consider the outdated system V script which comes with that ppa crap. it does not wait until required dependencies are up and running.

the error "init: vdr main process (29041) terminated with status 127" means:

"command not found" illegal_command Possible problem with $PATH or a typo"

something in the startup script for vdr goes wrong. it does not even come to the point where vdr is launched.

btw: you have even more issues.

- don't use vdr 2.0.3, it is buggy
- your vdr plugins are compiled against 2.0.0 which is wrong

as a first action I would purge this ppa and try yavdr in version 2.1.6. yavdr has also an up to date version of vnsiserver
Reply
#7
Hi FernetMenta,

thank you very much.

To go the save way, i installed KODIbuntu again. Now I used the yavdr-ppa unstable and installed explicit these versions:
Code:
sudo add-apt-repository ppa:yavdr/unstable-vdr
sudo apt-get update
sudo apt-get install vdr=2.1.6-10yavdr0~trusty
sudo apt-get install vdr-plugin-vnsiserver=1.2.0~git20150103-a48edf135f-0yavdr0~trusty
sudo apt-get install vdr-plugin-live=0.3.0+git20130915-6yavdr0~trusty

When starting VDR the syslog shows now:
Code:
Jan 15 22:12:31 revo80 vdr: [4082] VDR version 2.1.6 started
Jan 15 22:12:31 revo80 vdr: [4082] switched to user 'vdr'
Jan 15 22:12:31 revo80 vdr: [4082] codeset is 'UTF-8' - known
Jan 15 22:12:31 revo80 vdr: [4082] found 28 locales in /usr/share/locale
Jan 15 22:12:31 revo80 vdr: [4082] loading plugin: /usr/lib/vdr/plugins/libvdr-live.so.2.1.6
Jan 15 22:12:31 revo80 vdr: [4082] [live] INFO: validating server ip '0.0.0.0'
Jan 15 22:12:31 revo80 vdr: [4082] loading plugin: /usr/lib/vdr/plugins/libvdr-vnsiserver.so.2.1.6
Jan 15 22:12:31 revo80 vdr: [4082] loading /var/lib/vdr/setup.conf
...
As I understand, the installed libs are now compiled against the installed vdr version.

When I start up KODI (not the pc) I see in Syslog this:
Code:
Jan 15 22:14:16 revo80 vdr: [4089] VNSI: Client with ID 0 connected: 127.0.0.1:44494
Jan 15 22:14:16 revo80 vdr: [4312] VNSI: Welcome client 'XBMC Media Center' with protocol version '6'
Jan 15 22:14:17 revo80 vdr: [4091] VNSI: Requesting clients to reload channel list
...

The Version of kodi-pvr-vdr-vnsi is 1.9.22-3trusty from the KODIbuntu repository.

Now rebooting works fine Blush

Final thing I will do (later) is setting vdr, vdr-plugin-vnsiserver and vdr-plugin-live in apt on hold as mentioned in http://www.it-system.info/?p=629 like this
Code:
sudo echo "vdr-plugin-vnsiserver hold"|sudo dpkg --set-selections # apt-get
sudo aptitude hold vdr-plugin-vnsiserver # aptitude

During installation of the vdr-plugins I stopped KODI. After installation I enabled vdr in /etc/default/vdr, started via "sudo /etc/init.d/vdr start", checked syslog. Then I started KODI again and enabled Live-TV in settings.

Now I find all parts in correct status.

Thanks again.

Fuchs
Reply

Logout Mark Read Team Forum Stats Members Help
VDR with VNSI runs but not after restart0