[mythtv-users] mythfilldatabase false failure

Bill Meek keemllib at gmail.com
Thu Nov 28 02:30:43 UTC 2019


On 11/27/19 4:39 PM, Asher Schaffer wrote:
> On Wed, Nov 27, 2019 at 1:38 PM Bill Meek <keemllib at gmail.com> wrote:
>> The error fires when the backend housekeeper gets a return code
>> other than GENERIC_EXIT_OK (which is 0.)
>>
>> Some users have make mythfilldatabase a script that calls the real
>> thing (in order to make sure the network is up/dns is working.)
>>
>> locate -b '\mythfilldatabase' should return a single file and
>> it's known to the backend to be in the GetAppBinDir(). That's
>> usually /usr/bin as you had before.
>>
>> Is the output of locate the executable or a shell script?
> 
> It's running /usr/bin/mythfilldatabase and it is a binary, not a script:
> 
> $ file /usr/bin/mythfilldatabase
> /usr/bin/mythfilldatabase: ELF 64-bit LSB shared object, x86-64,
> version 1 (SYSV), dynamically linked, interpreter /lib64/l, for
> GNU/Linux 3.2.0,
> BuildID[sha1]=58cefb7ad2aec3247884b5d3a991b13e26259fe6, stripped
> 
> Data is getting inserted correctly, which is why I didn't detect this
> earlier. Makes it all the more confusing.

mythbackend --setverbose system:debug

That will log ALL system calls by the backend. Including start and end
logs. You should see a line similar to this:

   Managed child (PID: 18730) has exited! command=yourCommandHere, status=256, result=1

Note the above is an example of a failure.

The code where the failed message is printing hasn't been touched since
September of 2018.

[ --setverbose system:alert to turn the extra logging off ]

mythbackend --version|grep 'MythTV Version' too please (although a full log of
a single run of MFDB would be nice to put in a pastebin. With a link to it here.

-- 
Bill


More information about the mythtv-users mailing list