can't stop dvblink_server

DVBLink TV Server for Ubuntu linux is discussed here!

can't stop dvblink_server

Postby michielsoede » Wed Jul 01, 2015 6:39 pm

Hi,

when on linux I want to stop the dvblink server:

sudo service dvblink stop

e.g. when i want to clean up a corrupt database (or probably just shut down linux)

I already debugged the problem: it fails to stop because there is no pidfile /var/run/dvblink_server
(start-stop-deamon fails if it can't find it)

This file should be created when starting the service at do_start()
at /etc/init.d/dvblink, in the do_start() function a pidfile is specified, but NOT created.
adding --make-pidfile does not work, because then the PID it creates is one number lower than the actual PID
(show at top).

to solve it, the pid file has to be created by the dvblink_server application
michielsoede
 
Posts: 3
Joined: Mon May 18, 2015 11:44 am


Re: can't stop dvblink_server

Postby Oberon » Wed Jul 01, 2015 7:59 pm

Please use /usr/local/bin/dvblink/stop.sh to stop the server.
Oberon
 
Posts: 11718
Joined: Thu Sep 06, 2007 5:04 am

Re: can't stop dvblink_server

Postby michielsoede » Thu Jul 02, 2015 10:06 pm

The idea of a service in linux is that at shutdown the server can be terminated correctly. stop.sh works, but the scripts should work as well.

It seems dvblink software (on linux) is not properly tested, the software is quite buggy, when it works it's great, but the bugs cause it to be
a piece of software that is quite annoying to use. So, though initially I was impressed by the software, but now I wouldn't recommend it to anyone.
michielsoede
 
Posts: 3
Joined: Mon May 18, 2015 11:44 am

Re: can't stop dvblink_server

Postby Oberon » Thu Jul 02, 2015 10:08 pm

The server is terminated correctly because it catches signals on system shutdown. If you have any other issues with the software, please describe them here. That's the only way to get them solved.
Oberon
 
Posts: 11718
Joined: Thu Sep 06, 2007 5:04 am

Re: can't stop dvblink_server

Postby darkpenguin » Sat Dec 09, 2017 8:16 am

MIchielsoede,

Reading post I've noted You've mentioned "repair a corrupt DB" maybe You can help me: I've probably erased from HD some file and now they appear on DB but I'cannot delete them from front end. How do You repair DB ? have You got some trick for me ??

In any case thanks and regards
Server: I7-2600S @ 3.4 Ghz , 16 GB RAM, 120 GB SSD, Ubuntu 14.05
Software: DVBLink Server 6.0.0, DVBLink for IPTV 6.0.0
Storage : FreeNas 9.10 i5-2500S CPU @ 2.70GHz 32GB RAM, RAidZ 9TB
Clients: 2 x Macbook Pro, Iphones, Android Tablets
darkpenguin
 
Posts: 1
Joined: Wed Jul 27, 2016 7:11 am
Location: Switzerland


Return to DVBLink TV server for Ubuntu linux

Who is online

Users browsing this forum: No registered users and 2 guests