[mythtv-users] Ubuntu Mythbackend issue
Ashu Desai
ashu.desai at gmail.com
Sun May 13 15:47:45 UTC 2018
On Sun, May 13, 2018 at 7:34 AM Mark Perkins <perkins1724 at hotmail.com>
wrote:
>
>
> On 12 May 2018 11:16:27 pm Ashu Desai <ashu.desai at gmail.com> wrote:
>
>>
>>
>> On Sat, May 12, 2018, 6:06 AM Mark Perkins <perkins1724 at hotmail.com>
>> wrote:
>>
>>>
>>>
>>> On 12/05/18 13:27, Ashu Desai wrote:
>>>
>>> having tons of issues with CentOS 7 and it's repository, so spun up an
>>> Ubuntu 16, installed a backend.
>>>
>>> it came up - but had a ton of problem getting the frontend to talk to
>>> it. Found out that the config.xml changes the password so i had to use that
>>> goofy password in the "mysql" install.
>>>
>>> So when it finally talked from frontend, i thought yipee.
>>>
>>> but i am getting these:
>>>
>>> https://pastebin.com/Sq8Bp8yc
>>>
>>>
>>> I checked permissions inside and it gets me this:
>>>
>>> https://pastebin.com/9ySdTtXD
>>>
>>>
>>> Looks to me like the FE is talking to the database (port 3306) but not
>>> the backend (port 6543). Is your BE on the same machine / IP as the
>>> database?
>>>
>>
>> Different machines. x.x.x.54 is my backend, 58 is my FE
>>
>
> Is the database (server) located on the same server as your BE? The FE is
> connecting to the database but not the BE. As it appears to me at least.
>
Yes, the mysql is on the Ubuntu BE, and the FE is trying to access it. The
weird part is, it works on and off - i think it works every time I try to
do a "chmod 775" on the backend but i think with a rescan it gets messed
up.
>
>
>
>> no firewall on either.
>>
>> it's the myth proto error and file permissions that also worry me
>>
>>>
>>>
>>> 1. 2018-05-11 18:28:14.563156 I
>>> MythCoreContext::ConnectCommandSocket(): Connecting to backend server:
>>> 10.0.0.54:6543 (try 1 of 1)
>>> 2. 2018-05-11 18:28:14.592341 I
>>> MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
>>> 3. .....
>>> 4. 2018-05-11 18:29:12.307678 E MythSocket(7ff0c400b050:48):
>>> ReadStringList: Error, timed out after 30000 ms.
>>> 5. 2018-05-11 18:29:12.308138 E MythSocket(7ff0c400b050:-1): No
>>> response.
>>> 6. 2018-05-11 18:29:12.308161 N
>>> MythCoreContext::SendReceiveStringList(): Connection to backend server lost
>>> 7. 2018-05-11 18:29:12.309207 N
>>> MythCoreContext::connectionClosed(): Event socket closed. No connection
>>> to the backend.
>>>
>>>
>>>
>>> What does the BE log for the FE connection attempts? Check firewall
>>> settings (6543 and 6544) on the BE maybe.
>>>
>>>
Here's what the backend logs:
https://pastebin.com/yrAsWNeZ
I see "can't write to" issue and some "AutoExpire: CalcParams(): Max
required Free Space: 1.0 GB w/freq: 15 min" thing which when I search seems
to be some TV Tuner issue
I somehow have this feeling its a file permission thing. Every time I do a
"chown" or "chmod" - it converts my nfs shared folders to the following:
myth at ScorpioOne:~$ ls -ahl /usr/local/media/
total 208K
drwxrwsr-x 9 nobody 4294967294 91 May 7 01:07 .
drwxr-xr-x 11 root root 127 May 11 14:24 ..
drwxrwsr-x 4 root mythtv 35 May 2 08:43 Data
drwxrwsr-x 2 root mythtv 6 May 7 01:07 live-tv
drwxrwsr-x 2 nobody 4294967294 128K May 12 23:11 metadata
drwxrwsr-x 185 nobody 4294967294 20K May 12 23:11 Music
drwxrwsr-x 103 nobody 4294967294 4.0K Jan 1 09:26 Pics
drwxrwsr-x 4 root mythtv 38 May 7 01:34 TV
drwxrwsr-x 8 root mythtv 108 Apr 13 12:47 Videos
ls -ahl /usr/local/media/metadata/
-rwxrwxr-x 1 nobody 4294967294 171K Apr 18 08:34
tmdb3.py_97449_coverart.jpg
-rwxrwxr-x 1 nobody 4294967294 11K Apr 24 12:04
tmdb3.py_97449_coverart.jpg.200x0.jpg
-rwxrwxr-x 1 nobody 4294967294 254K Apr 22 15:05 tmdb3.py_9759_coverart.jpg
-rwxrwxr-x 1 nobody 4294967294 12K Apr 23 15:53
tmdb3.py_9759_coverart.jpg.200x0.jpg
-rwxrwxr-x 1 nobody 4294967294 268K Apr 22 15:05 tmdb3.py_9759_fanart.jpg
-rwxrwxr-x 1 nobody 4294967294 282K Apr 29 17:49 tmdb3.py_9778_coverart.jpg
-rwxrwxr-x 1 nobody 4294967294 11K May 9 17:35
tmdb3.py_9778_coverart.jpg.200x0.jpg
-rwxrwxr-x 1 nobody 4294967294 57K Apr 29 17:49 tmdb3.py_9778_fanart.jpg
-rwxrwxr-x 1 nobody 4294967294 78K Apr 29 19:48 tmdb3.py_97_coverart.jpg
-rwxrwxr-x 1 nobody 4294967294 7.1K May 12 10:59
tmdb3.py_97_coverart.jpg.200x0.jpg
-rwxrwxr-x 1 nobody 4294967294 310K Apr 29 19:48 tmdb3.py_97_fanart.jpg
-rwxrwxr-x 1 nobody 4294967294 346K May 1 13:45 tmdb3.py_9802_coverart.jpg
-rwxrwxr-x 1 nobody 4294967294 564K May 1 13:46 tmdb3.py_9802_fanart.jpg
-rwxrwxr-x 1 nobody 4294967294 137K Apr 28 21:37 tmdb3.py_9820_coverart.jpg
-rwxrwxr-x 1 nobody 4294967294 251K Apr 28 21:37 tmdb3.py_9820_fanart.jpg
-rwxrwxr-x 1 nobody 4294967294 1.5M May 1 14:16 tmdb3.py_9869_coverart.jpg
-rwxrwxr-x 1 nobody 4294967294 568K May 1 14:16 tmdb3.py_9869_fanart.jpg
-rwxrwxr-x 1 nobody 4294967294 279K Apr 27 17:43 tmdb3.py_9880_coverart.jpg
-rwxrwxr-x 1 nobody 4294967294 248K Apr 27 17:43 tmdb3.py_9880_fanart.jpg
-rwxrwxr-x 1 nobody 4294967294 244K Apr 29 17:58 tmdb3.py_9913_coverart.jpg
-rwxrwxr-x 1 nobody 4294967294 371K Apr 29 17:58 tmdb3.py_9913_fanart.jpg
-rwxrwxr-x 1 nobody 4294967294 114K Apr 18 10:18 tmdb3.py_9919_coverart.jpg
-rwxrwxr-x 1 nobody 4294967294 8.6K Apr 23 15:53
tmdb3.py_9919_coverart.jpg.200x0.jpg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180513/4fb7530b/attachment.html>
More information about the mythtv-users
mailing list