[mythtv-users] Protocol version problem

R. G. Newbury newbury at mandamus.org
Tue Jan 3 14:55:29 UTC 2012


On 01/02/2012 12:50 PM, Yianni Vidalis wrote:
>
> Date: Mon, 2 Jan 2012 18:24:21 +0100
> From: raptorjr08 at gmail.com
> To: mythtv-users at mythtv.org
> Subject: Re: [mythtv-users] Protocol version problem
>
>
> After some similar problems in the past I now delete everything under /usr/share/mythtv, /usr/include/mythtv and /usr/lib/mythtv before every reinstallation of trunk (my prefix is /usr).

>
> I found the problem. Somehow, never happend before, the upstart script didn't stop the backend. So the old version was already running. Did some killing of processes and now everything works again.
>

> Glad you did!
>
> In my previous previous I had added "make sure you are not still running the previous version of the backend", but then I saw the identical versions of backend/frontend and I deleted it!
>
> I shouldn't have doubted me!
>

Upgrading to Fedora 16 I found that the new mysqld.service pre-start 
script did not do all of the checks which the old /etc/init.d/mysql 
script performed. I had to add:

# An 'is-running' check used to be performed by the old sysinit script
# Instead we will kill any running process.
if [ -e /var/run/mysqld/mysqld.pid ]; then
     killall mysqld;
fi


to the /usr/libexec/mysqld-prepare-db-dir script (the ExecStartPre script).

Sounds like upstart might need the same sort of test/action when 
starting mythbackend.

I have just added it to my /usr/local/bin/pre-start.sh script.

Geoff


More information about the mythtv-users mailing list