Page 1 of 1

can't stop dvblink_server

PostPosted: Wed Jul 01, 2015 6:39 pm
by michielsoede
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

Re: can't stop dvblink_server

PostPosted: Wed Jul 01, 2015 7:59 pm
by Oberon
Please use /usr/local/bin/dvblink/stop.sh to stop the server.

Re: can't stop dvblink_server

PostPosted: Thu Jul 02, 2015 10:06 pm
by michielsoede
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.

Re: can't stop dvblink_server

PostPosted: Thu Jul 02, 2015 10:08 pm
by Oberon
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.

Re: can't stop dvblink_server

PostPosted: Sat Dec 09, 2017 8:16 am
by darkpenguin
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