Project

General

Profile

Tvheadend doesn't start with OSMC

Added by Andy B. almost 8 years ago

Hi,

I have a Raspberry Pi 3 running OSMC, but I wanted to try Pi-Hole, so I used a new SD card, installed Rasbian and Pi-Hole (which worked perfectly). Then I wanted to try Tvheadend (although my DVB-C device hasn't arrived yet) and installed it on the same SD card next to Pi-Hole. Of course I couldn't do anything meaningful without a TV stick, but my intention was to check whether Tvheadend would work with Pi-Hole on the same Pi. And it did.

So I switched SD cards to run my OSMC again and installed Pi-Hole and Tvheadend on the OSMC SD card. Pi-Hole works, but Tvheadend doesn't start. First I tried to access the web interface like I did when Tvheadend ran on the other SD card, but the browser couldn't connect. I used netstat to check whether there was something listening at port 9981, but there wasn't. There wasn't even a Tvheadend process running. When I start it manually with

/etc/init.d/tvheadend start

the output is

[ ok ] Starting tvheadend (via systemctl): tvheadend.service.

but there is still nothing running. Unfortunately, my deeper Linux knowledge is pretty old and I forgot half of it. Can anyone help me with this issue or at least point me to the log files? I couldn't find anything.

Thanks in advance
Andy


Replies (1)

RE: Tvheadend doesn't start with OSMC - Added by Andy B. almost 8 years ago

OK, I fixed it.

After I found out that I have to use "journalctl" to review Tvheadend's log, I saw this message:

tvheadend[932]: spawn: tar (child): bzip2: Cannot exec: No such file or directory

Apparently, bzip2 wasn't installed on the OSMC SD card, but Tvheadend tries to use it to backup its configuration. After having installed bzip2, Tvheadend does start.

Sorry for bothering you guys, but maybe, this post will help someone someday. :)

    (1-1/1)