Mailing List Archive

New install - CentOS, Connectivity issues
New install, had help from our wonderful community to get the BE and FE
working. But I have couple issues and someone suggested to open separate
threads to not confuse one from the other so here I go.

Here's the config for the FE:

[root@mythfe7 mythtv]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU 230 @ 1.60GHz
stepping : 2
microcode : 0x218
cpu MHz : 1599.965
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts nopl aperfmperf pni dtes64 monitor
ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
bogomips : 3199.93
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU 230 @ 1.60GHz
stepping : 2
microcode : 0x218
cpu MHz : 1599.965
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts nopl aperfmperf pni dtes64 monitor
ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
bogomips : 3199.93
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 48 bits virtual
power management:


On the backend (brand new VM) - i have added videos via NFS (created video
folder and shared my existing 0.27 myth backend video folder)

I changed the permission of this new backend Video folder by:

* chmod g+w /usr/local/media/videos/*

Issue:

When i have videos directly on my drive - plays fine.

Add videos via NFS, and it seems FE can't talk to BE half the time.

Here's the output from FE

https://pastebin.com/VVa4QWtE

I have a feeling that it may be permission issues but not sure how that can
be after I tried "chmod 755" to the dir...
Re: New install - CentOS, Connectivity issues [ In reply to ]
On Mon, Aug 7, 2017 at 2:31 PM, Ashu Desai <ashu.desai@gmail.com> wrote:

> On the backend (brand new VM) - i have added videos via NFS (created video
> folder and shared my existing 0.27 myth backend video folder)
>
> I changed the permission of this new backend Video folder by:
>
> * chmod g+w /usr/local/media/videos/*
>
> Issue:
>
> When i have videos directly on my drive - plays fine.
>
> Add videos via NFS, and it seems FE can't talk to BE half the time
>

I think you're overthinking it... mythtv can stream videos just like
recordings... Just put the files in /var/lib/mythvideo on the backend and
any frontend can see them after you do a refresh from the videos menu (menu
button, scan for changes or something like that). No NFS needed.

Thanks,
Richard
Re: New install - CentOS, Connectivity issues [ In reply to ]
On Mon, Aug 7, 2017 at 3:08 PM, Richard Shaw <hobbes1069@gmail.com> wrote:

> On Mon, Aug 7, 2017 at 2:31 PM, Ashu Desai <ashu.desai@gmail.com> wrote:
>
>> On the backend (brand new VM) - i have added videos via NFS (created
>> video folder and shared my existing 0.27 myth backend video folder)
>>
>> I changed the permission of this new backend Video folder by:
>>
>> * chmod g+w /usr/local/media/videos/*
>>
>> Issue:
>>
>> When i have videos directly on my drive - plays fine.
>>
>> Add videos via NFS, and it seems FE can't talk to BE half the time
>>
>
> I think you're overthinking it... mythtv can stream videos just like
> recordings... Just put the files in /var/lib/mythvideo on the backend and
> any frontend can see them after you do a refresh from the videos menu (menu
> button, scan for changes or something like that). No NFS needed.
>
> Thanks,
> Richard
>


Hi Richard
When you say put the videos under /var/lib/mythvideo - how do you mean?

0.28 BE - 172.16.10.54
0.27 BE - 172.168.10.55
0.28 FE - 172.16.10.58

Currently, there is nothing under /var/lib/mythvideo on the new BE.

Videos currently are on the 0.27 BE - without NFS, how do I put files on
the new BE (short of detaching the disks from the old BE and adding them on
the new system)?

Apologize if it's too obvious...
Re: New install - CentOS, Connectivity issues [ In reply to ]
On Mon, Aug 7, 2017 at 3:36 PM, Ashu Desai <ashu.desai@gmail.com> wrote:

> On Mon, Aug 7, 2017 at 3:08 PM, Richard Shaw <hobbes1069@gmail.com> wrote:
>
>> On Mon, Aug 7, 2017 at 2:31 PM, Ashu Desai <ashu.desai@gmail.com> wrote:
>>
>>> On the backend (brand new VM) - i have added videos via NFS (created
>>> video folder and shared my existing 0.27 myth backend video folder)
>>>
>>> I changed the permission of this new backend Video folder by:
>>>
>>> * chmod g+w /usr/local/media/videos/*
>>>
>>> Issue:
>>>
>>> When i have videos directly on my drive - plays fine.
>>>
>>> Add videos via NFS, and it seems FE can't talk to BE half the time
>>>
>>
>> I think you're overthinking it... mythtv can stream videos just like
>> recordings... Just put the files in /var/lib/mythvideo on the backend and
>> any frontend can see them after you do a refresh from the videos menu (menu
>> button, scan for changes or something like that). No NFS needed.
>>
>> Thanks,
>> Richard
>>
>
>
> Hi Richard
> When you say put the videos under /var/lib/mythvideo - how do you mean?
>
> 0.28 BE - 172.16.10.54
> 0.27 BE - 172.168.10.55
> 0.28 FE - 172.16.10.58
>
> Currently, there is nothing under /var/lib/mythvideo on the new BE.
>
> Videos currently are on the 0.27 BE - without NFS, how do I put files on
> the new BE (short of detaching the disks from the old BE and adding them on
> the new system)?
>

I thought you were trying to play videos on the FE via NFS, sorry if I got
that confused. If you just need to transfer them I would use scp or rsync...

Richard
Re: New install - CentOS, Connectivity issues [ In reply to ]
On Mon, Aug 7, 2017 at 3:42 PM, Richard Shaw <hobbes1069@gmail.com> wrote:

> On Mon, Aug 7, 2017 at 3:36 PM, Ashu Desai <ashu.desai@gmail.com> wrote:
>
>> On Mon, Aug 7, 2017 at 3:08 PM, Richard Shaw <hobbes1069@gmail.com>
>> wrote:
>>
>>> On Mon, Aug 7, 2017 at 2:31 PM, Ashu Desai <ashu.desai@gmail.com> wrote:
>>>
>>>> On the backend (brand new VM) - i have added videos via NFS (created
>>>> video folder and shared my existing 0.27 myth backend video folder)
>>>>
>>>> I changed the permission of this new backend Video folder by:
>>>>
>>>> * chmod g+w /usr/local/media/videos/*
>>>>
>>>> Issue:
>>>>
>>>> When i have videos directly on my drive - plays fine.
>>>>
>>>> Add videos via NFS, and it seems FE can't talk to BE half the time
>>>>
>>>
>>> I think you're overthinking it... mythtv can stream videos just like
>>> recordings... Just put the files in /var/lib/mythvideo on the backend and
>>> any frontend can see them after you do a refresh from the videos menu (menu
>>> button, scan for changes or something like that). No NFS needed.
>>>
>>> Thanks,
>>> Richard
>>>
>>
>>
>> Hi Richard
>> When you say put the videos under /var/lib/mythvideo - how do you mean?
>>
>> 0.28 BE - 172.16.10.54
>> 0.27 BE - 172.168.10.55
>> 0.28 FE - 172.16.10.58
>>
>> Currently, there is nothing under /var/lib/mythvideo on the new BE.
>>
>> Videos currently are on the 0.27 BE - without NFS, how do I put files on
>> the new BE (short of detaching the disks from the old BE and adding them on
>> the new system)?
>>
>
> I thought you were trying to play videos on the FE via NFS, sorry if I got
> that confused. If you just need to transfer them I would use scp or rsync...
>
> Richard
>
>
>
Yeah but i think there are inherent issues and i want to get it fixed
before i do that.

My mariadb log shows this:
Re: New install - CentOS, Connectivity issues [ In reply to ]
On Mon, Aug 7, 2017 at 3:53 PM, Ashu Desai <ashu.desai@gmail.com> wrote:

>
>
> On Mon, Aug 7, 2017 at 3:42 PM, Richard Shaw <hobbes1069@gmail.com> wrote:
>
>> On Mon, Aug 7, 2017 at 3:36 PM, Ashu Desai <ashu.desai@gmail.com> wrote:
>>
>>> On Mon, Aug 7, 2017 at 3:08 PM, Richard Shaw <hobbes1069@gmail.com>
>>> wrote:
>>>
>>>> On Mon, Aug 7, 2017 at 2:31 PM, Ashu Desai <ashu.desai@gmail.com>
>>>> wrote:
>>>>
>>>>> On the backend (brand new VM) - i have added videos via NFS (created
>>>>> video folder and shared my existing 0.27 myth backend video folder)
>>>>>
>>>>> I changed the permission of this new backend Video folder by:
>>>>>
>>>>> * chmod g+w /usr/local/media/videos/*
>>>>>
>>>>> Issue:
>>>>>
>>>>> When i have videos directly on my drive - plays fine.
>>>>>
>>>>> Add videos via NFS, and it seems FE can't talk to BE half the time
>>>>>
>>>>
>>>> I think you're overthinking it... mythtv can stream videos just like
>>>> recordings... Just put the files in /var/lib/mythvideo on the backend and
>>>> any frontend can see them after you do a refresh from the videos menu (menu
>>>> button, scan for changes or something like that). No NFS needed.
>>>>
>>>> Thanks,
>>>> Richard
>>>>
>>>
>>>
>>> Hi Richard
>>> When you say put the videos under /var/lib/mythvideo - how do you mean?
>>>
>>> 0.28 BE - 172.16.10.54
>>> 0.27 BE - 172.168.10.55
>>> 0.28 FE - 172.16.10.58
>>>
>>> Currently, there is nothing under /var/lib/mythvideo on the new BE.
>>>
>>> Videos currently are on the 0.27 BE - without NFS, how do I put files on
>>> the new BE (short of detaching the disks from the old BE and adding them on
>>> the new system)?
>>>
>>
>> I thought you were trying to play videos on the FE via NFS, sorry if I
>> got that confused. If you just need to transfer them I would use scp or
>> rsync...
>>
>> Richard
>>
>>
>>
> Yeah but i think there are inherent issues and i want to get it fixed
> before i do that.
>
> My mariadb log shows this:
>
>


170807 01:45:32 mysqld_safe Starting mysqld daemon with databases from
/var/lib/mysql
170807 1:45:34 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB) starting
as process 2184 ...
170807 1:45:34 InnoDB: The InnoDB memory heap is disabled
170807 1:45:34 InnoDB: Mutexes and rw_locks use GCC atomic builtins
170807 1:45:34 InnoDB: Compressed tables use zlib 1.2.7
170807 1:45:34 InnoDB: Using Linux native AIO
170807 1:45:34 InnoDB: Initializing buffer pool, size = 128.0M
170807 1:45:34 InnoDB: Completed initialization of buffer pool
170807 1:45:34 InnoDB: highest supported file format is Barracuda.
170807 1:45:35 InnoDB: Waiting for the background threads to start
170807 1:45:36https://pastebin.com/jjdXH9Nz Percona XtraDB (
http://www.percona.com) 5.5.49-MariaDB-38.0 started; log sequence number
3052489
170807 1:45:36 [Note] Plugin 'FEEDBACK' is disabled.
170807 1:45:36 [Note] Server socket created on IP: '0.0.0.0'.
170807 1:45:36 [Note] Event Scheduler: Loaded 0 events
170807 1:45:36 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.52-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306
MariaDB Server
170807 11:33:09 [Warning] IP address '172.16.10.58' could not be resolved:
Name or service not known

And my backend /var/log/messages show:

https://pastebin.com/jjdXH9Nz

I know I am not much of a debugger but i am trying and what it seems is
that somehow something is making the FE/BE connection break.

I wanted to fix this before i migrate my working 0.27 videos to the 0.28
Re: New install - CentOS, Connectivity issues [ In reply to ]
On Mon, Aug 7, 2017 at 3:59 PM, Ashu Desai <ashu.desai@gmail.com> wrote:
>
>
> 170807 01:45:32 mysqld_safe Starting mysqld daemon with databases from
> /var/lib/mysql
> 170807 1:45:34 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB)
> starting as process 2184 ...
> 170807 1:45:34 InnoDB: The InnoDB memory heap is disabled
> 170807 1:45:34 InnoDB: Mutexes and rw_locks use GCC atomic builtins
> 170807 1:45:34 InnoDB: Compressed tables use zlib 1.2.7
> 170807 1:45:34 InnoDB: Using Linux native AIO
> 170807 1:45:34 InnoDB: Initializing buffer pool, size = 128.0M
> 170807 1:45:34 InnoDB: Completed initialization of buffer pool
> 170807 1:45:34 InnoDB: highest supported file format is Barracuda.
> 170807 1:45:35 InnoDB: Waiting for the background threads to start
> 170807 1:45:36https://pastebin.com/jjdXH9Nz Percona XtraDB (
> http://www.percona.com) 5.5.49-MariaDB-38.0 started; log sequence number
> 3052489
> 170807 1:45:36 [Note] Plugin 'FEEDBACK' is disabled.
> 170807 1:45:36 [Note] Server socket created on IP: '0.0.0.0'.
> 170807 1:45:36 [Note] Event Scheduler: Loaded 0 events
> 170807 1:45:36 [Note] /usr/libexec/mysqld: ready for connections.
> Version: '5.5.52-MariaDB' socket: '/var/lib/mysql/mysql.sock' port:
> 3306 MariaDB Server
> 170807 11:33:09 [Warning] IP address '172.16.10.58' could not be resolved:
> Name or service not known
>

I don't think either of those are problems. The first one is the same as
mine and I don't see the second one because I have local DNS setup so my
hostnames do resolve.



> And my backend /var/log/messages show:
>
> https://pastebin.com/jjdXH9Nz
>

Ok, I'm not sure if it's THE problem, but a problem is that you've setup
volume groups outside of what the RPM package sets up for you and the
permissions make it unwriteable for the backend...

Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229231 E
SG(Default): Group 'Default' wants to use directory '/usr/local/media/',
but this directory is not writeable.
Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229248 E
SG(Videos): Group 'Videos' wants to use directory
'/usr/local/media/videos/', but this directory is not writeable.
Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229260 E
SG(Fanart): Group 'Fanart' wants to use directory '/usr/local/media/img/',
but this directory is not writeable.
Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229271 E
SG(Coverart): Group 'Coverart' wants to use directory
'/usr/local/media/img/', but this directory is not writeable.
Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229281 E
SG(Banners): Group 'Banners' wants to use directory
'/usr/local/media/img/', but this directory is not writeable.
Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229292 E
SG(Screenshots): Group 'Screenshots' wants to use directory
'/usr/local/media/img/', but this directory is not writeable.
Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229302 E
SG(LiveTV): Group 'LiveTV' wants to use directory '/usr/local/media/', but
this directory is not writeable.
Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229313 E SG(DB
Backups): Group 'DB Backups' wants to use directory '/usr/local/media/db/',
but this directory is not writeable.
Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229323 E
SG(Photographs): Group 'Photographs' wants to use directory
'/usr/local/media/img/', but this directory is not writeable.
Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229333 E
SG(Trailers): Group 'Trailers' wants to use directory '/usr/local/media/',
but this directory is not writeable.
Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229344 E
SG(Music): Group 'Music' wants to use directory '/usr/local/media/music/',
but this directory is not writeable.
Aug 7 15:31:33 mythmaster mythbackend: 2017-08-07 15:31:33.229354 E
SG(MusicArt): Group 'MusicArt' wants to use directory
'/usr/local/media/img/', but this directory is not writeable.

you need to fix that first...

Thanks,
Richard
Re: New install - CentOS, Connectivity issues [ In reply to ]
Hoi Ashu,

Monday, August 7, 2017, 10:59:37 PM, you wrote:





> On Mon, Aug 7, 2017 at 3:53 PM, Ashu Desai <ashu.desai@gmail.com> wrote:





> On Mon, Aug 7, 2017 at 3:42 PM, Richard Shaw <hobbes1069@gmail.com> wrote:

> On Mon, Aug 7, 2017 at 3:36 PM, Ashu Desai <ashu.desai@gmail.com> wrote:

> On Mon, Aug 7, 2017 at 3:08 PM, Richard Shaw <hobbes1069@gmail.com> wrote:

> On Mon, Aug 7, 2017 at 2:31 PM, Ashu Desai <ashu.desai@gmail.com> wrote:

> On the backend (brand new VM) - i have added videos via NFS
> (created video folder and shared my existing 0.27 myth backend video folder)


> I changed the permission of this new backend Video folder by:


> * chmod g+w /usr/local/media/videos/*


> Issue:


> When i have videos directly on my drive - plays fine.


> Add videos via NFS, and it seems FE can't talk to BE half the time



> I think you're overthinking it... mythtv can stream videos just
> like recordings... Just put the files in /var/lib/mythvideo on the
> backend and any frontend can see them after you do a refresh from
> the videos menu (menu button, scan for changes or something like that). No NFS needed.


> Thanks,
> Richard

>


> Hi Richard
> When you say put the videos under /var/lib/mythvideo - how do you mean? 


> 0.28 BE - 172.16.10.54
> 0.27 BE - 172.168.10.55
> 0.28 FE - 172.16.10.58


> Currently, there is nothing under /var/lib/mythvideo on the new BE.


> Videos currently are on the 0.27 BE - without NFS, how do I put
> files on the new BE (short of detaching the disks from the old BE
> and adding them on the new system)? 



> I thought you were trying to play videos on the FE via NFS, sorry
> if I got that confused. If you just need to transfer them I would use scp or rsync...


> Richard



>



> Yeah but i think there are inherent issues and i want to get it fixed before i do that.


> My mariadb log shows this:

>




> 170807 01:45:32 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
> 170807  1:45:34 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB) starting as process 2184 ...
> 170807  1:45:34 InnoDB: The InnoDB memory heap is disabled
> 170807  1:45:34 InnoDB: Mutexes and rw_locks use GCC atomic builtins
> 170807  1:45:34 InnoDB: Compressed tables use zlib 1.2.7
> 170807  1:45:34 InnoDB: Using Linux native AIO
> 170807  1:45:34 InnoDB: Initializing buffer pool, size = 128.0M
> 170807  1:45:34 InnoDB: Completed initialization of buffer pool
> 170807  1:45:34 InnoDB: highest supported file format is Barracuda.
> 170807  1:45:35  InnoDB: Waiting for the background threads to start
> 170807  1:45:36https://pastebin.com/jjdXH9Nz Percona XtraDB
> (http://www.percona.com) 5.5.49-MariaDB-38.0 started; log sequence number 3052489
> 170807  1:45:36 [Note] Plugin 'FEEDBACK' is disabled.
> 170807  1:45:36 [Note] Server socket created on IP: '0.0.0.0'.
> 170807  1:45:36 [Note] Event Scheduler: Loaded 0 events
> 170807  1:45:36 [Note] /usr/libexec/mysqld: ready for connections.
> Version: '5.5.52-MariaDB'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MariaDB Server
> 170807 11:33:09 [Warning] IP address '172.16.10.58' could not be
> resolved: Name or service not known


> And my backend /var/log/messages show:


> https://pastebin.com/jjdXH9Nz



> I know I am not much of a debugger but i am trying and what it
> seems is that somehow something is making the FE/BE connection break. 


> I wanted to fix this before i migrate my working 0.27 videos to the 0.28

Group rights other then through the primary group of the user do not
propagate through nfs. So if the files are not owned by your backend
user or your backend users primary group...

Just adding the backend user to the group owning the files won't work.
You have to make the group owning the files the primary group of your
backend user or (inadvisable) make them world accessible.

Tot mails,
Hika mailto:hikavdh@gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: New install - CentOS, Connectivity issues [ In reply to ]
On 8 August 2017 5:02:33 am Ashu Desai <ashu.desai@gmail.com> wrote:

> New install, had help from our wonderful community to get the BE and FE
> working. But I have couple issues and someone suggested to open separate
> threads to not confuse one from the other so here I go.
>
> Here's the config for the FE:
>
> [root@mythfe7 mythtv]# cat /proc/cpuinfo
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 6
> model : 28
> model name : Intel(R) Atom(TM) CPU 230 @ 1.60GHz
> stepping : 2
> microcode : 0x218
> cpu MHz : 1599.965
> cache size : 512 KB
> physical id : 0
> siblings : 2
> core id : 0
> cpu cores : 1
> apicid : 0
> initial apicid : 0
> fpu : yes
> fpu_exception : yes
> cpuid level : 10
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
> constant_tsc arch_perfmon pebs bts nopl aperfmperf pni dtes64 monitor
> ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
> bogomips : 3199.93
> clflush size : 64
> cache_alignment : 64
> address sizes : 32 bits physical, 48 bits virtual
> power management:
>
> processor : 1
> vendor_id : GenuineIntel
> cpu family : 6
> model : 28
> model name : Intel(R) Atom(TM) CPU 230 @ 1.60GHz
> stepping : 2
> microcode : 0x218
> cpu MHz : 1599.965
> cache size : 512 KB
> physical id : 0
> siblings : 2
> core id : 0
> cpu cores : 1
> apicid : 1
> initial apicid : 1
> fpu : yes
> fpu_exception : yes
> cpuid level : 10
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
> constant_tsc arch_perfmon pebs bts nopl aperfmperf pni dtes64 monitor
> ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
> bogomips : 3199.93
> clflush size : 64
> cache_alignment : 64
> address sizes : 32 bits physical, 48 bits virtual
> power management:
>
>
> On the backend (brand new VM) - i have added videos via NFS (created video
> folder and shared my existing 0.27 myth backend video folder)
>
> I changed the permission of this new backend Video folder by:
>
> * chmod g+w /usr/local/media/videos/*
>
> Issue:
>
> When i have videos directly on my drive - plays fine.
>
> Add videos via NFS, and it seems FE can't talk to BE half the time.
>
> Here's the output from FE
>
> https://pastebin.com/VVa4QWtE
>
> I have a feeling that it may be permission issues but not sure how that can
> be after I tried "chmod 755" to the dir...
>
>
>
> ----------
> _______________________________________________

On the backend what are your folder paths in your video storage group? And what is your NFS mount point / path?
On the frontend, is the NFS share also mounted and if yes what is its mount point / path?

Mythfrontend will check the storage group folders directly before asking the BE to stream at which point the BE will check the storage group folders. It is possible that mythfrontend can find the file directly if the identical mount points exist on both the BE and the FE, but perhaps the user running mythfrontend does not have permission to read it.

You are also getting these which may or may not be related but probably need to be sorted out. Does your BE recording drive also contain your OS and / or database?

2017-08-07 13:32:52.239231 I [3454/4143] SendMessage mythcorecontext.cpp:436 (ConnectCommandSocket) - MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 172.16.10.54:6543 (try 1 of 1)

2017-08-07 13:32:59.254191 E [3454/4149] MythSocketThread(-1) mythsocket.cpp:858 (ReadStringListReal) - MythSocket(7f92b40088b0:53): ReadStringList: Error, timed out after 7000 ms.

2017-08-07 13:32:59.254443 C [3454/4143] SendMessage mythcorecontext.cpp:1549 (CheckProtoVersion) - Protocol version check failure.

The response to MYTH_PROTO_VERSION was empty.

This happens when the backend is too busy to respond,

or has deadlocked due to bugs or hardware failure.

2017-08-07 13:32:59.254878 I [3454/3568] MetadataDownload mythcorecontext.cpp:436 (ConnectCommandSocket) - MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 172.16.10.54:6543 (try 1 of 1)
Re: New install - CentOS, Connectivity issues [ In reply to ]
On 07/08/17 20:31, Ashu Desai wrote:
> I changed the permission of this new backend Video folder by:
>
> * chmod g+w /usr/local/media/videos/*
>

That just changes permissions of the contents of the folder.
The whole folder hierarchy needs read/execute permissions as well.

https://unix.stackexchange.com/questions/13858/do-the-parent-directorys-permissions-matter-when-accessing-a-subdirectory

Post the result of:

namei -lxo /usr/local/media/videos/

and others will advise. I'm going offline.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: New install - CentOS, Connectivity issues [ In reply to ]
On Mon, Aug 7, 2017 at 4:59 PM, Roger Siddons <dizygotheca@ntlworld.com>
wrote:

> On 07/08/17 20:31, Ashu Desai wrote:
>
>> I changed the permission of this new backend Video folder by:
>>
>> * chmod g+w /usr/local/media/videos/*
>>
>>
> That just changes permissions of the contents of the folder.
> The whole folder hierarchy needs read/execute permissions as well.
>
> https://unix.stackexchange.com/questions/13858/do-the-parent
> -directorys-permissions-matter-when-accessing-a-subdirectory
>
> Post the result of:
>
> namei -lxo /usr/local/media/videos/
>
> and others will advise. I'm going offline.
>
>
>
[root@mythmaster ~]# namei -lxo /usr/local/media/videos/
f: /usr/local/media/videos/
Dr-xr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root local
drwxrwxr-x root root media
drwxrwxr-x root root videos
Re: New install - CentOS, Connectivity issues [ In reply to ]
On Mon, Aug 7, 2017 at 6:37 PM, Mark Perkins <perkins1724@hotmail.com>
wrote:

> _______________________________________________
> >>
> >> On the backend what are your folder paths in your video storage group?
> >>
> > /usr/local/media/videos
> >
> >
> >> And what is your NFS mount point / path?
> >>
> > /usr/local/media/videos/English
> >
> >
>
> IIRC I have previously had issues with mythtv recursion through subfolders
> for movie files and ended up removing the subfolders. Try replacing the
> storage group folder path with /usr/local/media/videos/English
>
> Is the NFS share up before the BE starts?
>
I mean if I do: ls /usr/local/media/videos/English/ - it shows all the
movies (before I start the frontend)

> Also do:
> namei -lxo /usr/local/media/videos/English
>
[root@mythmaster ~]# namei -lxo /usr/local/media/videos/English/

f: /usr/local/media/videos/English/
Dr-xr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root local
drwxrwxr-x root root media
drwxrwxr-x root root videos
Drwxrwxr-x root root English



> ls -alh /usr/local/media/videos/English
>
https://pastebin.com/WUWRD6Nk

[root@mythmaster ~]# ls -alh /usr/local/media/videos/
total 12G
drwxrwxr-x. 4 root root 4.0K Aug 7 16:44 .
drwxrwxr-x. 6 root root 4.0K Aug 7 16:44 ..
-rwxrwxr-x. 1 root root 2.2G Jan 17 2014 Alien 4.mkv (Local)
drwxrwxr-x 2 root root 24K Jul 24 22:00 English
-rwxrwxr-x. 1 root root 4.4G Dec 25 2016 Storks.mkv (Local)
-rwxrwxr-x. 1 root root 4.6G Jun 10 2016 Zootopia.mkv (Local)



> I understand your permissions are 755, but is your BE running as root or
> mythtv?
>
root


> Are you mounting the share through fstab? What are your mount options /
> command line.
>

No. For testing purpose i am just doing a command line - on my 0.27 BE
where this resides --> /etc/exports
On my newer BE (target) i am doing:

mount 172.16.10.55:/usr/local/media/4T/Videos/English
/usr/local/media/videos/English



> When it works for local storage what are the permissions on the files (ls
> -alh)?
>

[root@mythmaster ~]# ls -ahl /usr/local/media/videos/English/Alien\ 4.mkv
-rwxr-xr-x 1 root mythtv 2.2G Jan 17 2014
/usr/local/media/videos/English/Alien 4.mkv


> Are you rescanning for videos after adding / removing the NFS share? The
> BE may just be flat out processing all the changes if there are a lot of
> files.
>

Yes - i do the rescan.

When I add the NFS - the error starts happening when the scan starts. As I
stated earlier, the error happens when I start the FE on the same box as BE
- so for now I am fixing this on the box and once it starts working I will
try with my remote FE.





--
http://about.me/adesai
Re: New install - CentOS, Connectivity issues [ In reply to ]
On Mon, Aug 7, 2017 at 7:41 PM, Ashu Desai <ashu.desai@gmail.com> wrote:

>
>
> On Mon, Aug 7, 2017 at 6:37 PM, Mark Perkins <perkins1724@hotmail.com>
> wrote:
>
>> _______________________________________________
>> >>
>> >> On the backend what are your folder paths in your video storage group?
>> >>
>> > /usr/local/media/videos
>> >
>> >
>> >> And what is your NFS mount point / path?
>> >>
>> > /usr/local/media/videos/English
>> >
>> >
>>
>> IIRC I have previously had issues with mythtv recursion through
>> subfolders for movie files and ended up removing the subfolders. Try
>> replacing the storage group folder path with /usr/local/media/videos/Englis
>> h
>>
>> Is the NFS share up before the BE starts?
>>
> I mean if I do: ls /usr/local/media/videos/English/ - it shows all the
> movies (before I start the frontend)
>
>> Also do:
>> namei -lxo /usr/local/media/videos/English
>>
> [root@mythmaster ~]# namei -lxo /usr/local/media/videos/English/
>
> f: /usr/local/media/videos/English/
> Dr-xr-xr-x root root /
> drwxr-xr-x root root usr
> drwxr-xr-x root root local
> drwxrwxr-x root root media
> drwxrwxr-x root root videos
> Drwxrwxr-x root root English
>
>
>
>> ls -alh /usr/local/media/videos/English
>>
> https://pastebin.com/WUWRD6Nk
>
> [root@mythmaster ~]# ls -alh /usr/local/media/videos/
> total 12G
> drwxrwxr-x. 4 root root 4.0K Aug 7 16:44 .
> drwxrwxr-x. 6 root root 4.0K Aug 7 16:44 ..
> -rwxrwxr-x. 1 root root 2.2G Jan 17 2014 Alien 4.mkv (Local)
> drwxrwxr-x 2 root root 24K Jul 24 22:00 English
> -rwxrwxr-x. 1 root root 4.4G Dec 25 2016 Storks.mkv (Local)
> -rwxrwxr-x. 1 root root 4.6G Jun 10 2016 Zootopia.mkv (Local)
>
>
>
>> I understand your permissions are 755, but is your BE running as root or
>> mythtv?
>>
> root
>
>
>> Are you mounting the share through fstab? What are your mount options /
>> command line.
>>
>
> No. For testing purpose i am just doing a command line - on my 0.27 BE
> where this resides --> /etc/exports
> On my newer BE (target) i am doing:
>
> mount 172.16.10.55:/usr/local/media/4T/Videos/English
> /usr/local/media/videos/English
>
>
>
>> When it works for local storage what are the permissions on the files (ls
>> -alh)?
>>
>
> [root@mythmaster ~]# ls -ahl /usr/local/media/videos/English/Alien\ 4.mkv
> -rwxr-xr-x 1 root mythtv 2.2G Jan 17 2014 /usr/local/media/videos/English/Alien
> 4.mkv
>
>
>> Are you rescanning for videos after adding / removing the NFS share? The
>> BE may just be flat out processing all the changes if there are a lot of
>> files.
>>
>
> Yes - i do the rescan.
>
> When I add the NFS - the error starts happening when the scan starts. As I
> stated earlier, the error happens when I start the FE on the same box as BE
> - so for now I am fixing this on the box and once it starts working I will
> try with my remote FE.
>
>
>
> '
I am running this frontend from my BE machine. I am seeing this - pretty
sure this will go away if I take the NFS off.

I sent my file/dir permissions earlier - not sure if I need to change that.
But I have a feeling it's the NFS that's causing this...
Re: New install - CentOS, Connectivity issues [ In reply to ]
On Tue, Aug 8, 2017 at 8:41 AM, Ashu Desai <ashu.desai@gmail.com> wrote:

>
>
> On Mon, Aug 7, 2017 at 7:41 PM, Ashu Desai <ashu.desai@gmail.com> wrote:
>
>>
>>
>> On Mon, Aug 7, 2017 at 6:37 PM, Mark Perkins <perkins1724@hotmail.com>
>> wrote:
>>
>>> _______________________________________________
>>> >>
>>> >> On the backend what are your folder paths in your video storage group?
>>> >>
>>> > /usr/local/media/videos
>>> >
>>> >
>>> >> And what is your NFS mount point / path?
>>> >>
>>> > /usr/local/media/videos/English
>>> >
>>> >
>>>
>>> IIRC I have previously had issues with mythtv recursion through
>>> subfolders for movie files and ended up removing the subfolders. Try
>>> replacing the storage group folder path with /usr/local/media/videos/Englis
>>> h
>>>
>>> Is the NFS share up before the BE starts?
>>>
>> I mean if I do: ls /usr/local/media/videos/English/ - it shows all the
>> movies (before I start the frontend)
>>
>>> Also do:
>>> namei -lxo /usr/local/media/videos/English
>>>
>> [root@mythmaster ~]# namei -lxo /usr/local/media/videos/English/
>>
>> f: /usr/local/media/videos/English/
>> Dr-xr-xr-x root root /
>> drwxr-xr-x root root usr
>> drwxr-xr-x root root local
>> drwxrwxr-x root root media
>> drwxrwxr-x root root videos
>> Drwxrwxr-x root root English
>>
>>
>>
>>> ls -alh /usr/local/media/videos/English
>>>
>> https://pastebin.com/WUWRD6Nk
>>
>> [root@mythmaster ~]# ls -alh /usr/local/media/videos/
>> total 12G
>> drwxrwxr-x. 4 root root 4.0K Aug 7 16:44 .
>> drwxrwxr-x. 6 root root 4.0K Aug 7 16:44 ..
>> -rwxrwxr-x. 1 root root 2.2G Jan 17 2014 Alien 4.mkv (Local)
>> drwxrwxr-x 2 root root 24K Jul 24 22:00 English
>> -rwxrwxr-x. 1 root root 4.4G Dec 25 2016 Storks.mkv (Local)
>> -rwxrwxr-x. 1 root root 4.6G Jun 10 2016 Zootopia.mkv (Local)
>>
>>
>>
>>> I understand your permissions are 755, but is your BE running as root or
>>> mythtv?
>>>
>> root
>>
>>
>>> Are you mounting the share through fstab? What are your mount options /
>>> command line.
>>>
>>
>> No. For testing purpose i am just doing a command line - on my 0.27 BE
>> where this resides --> /etc/exports
>> On my newer BE (target) i am doing:
>>
>> mount 172.16.10.55:/usr/local/media/4T/Videos/English
>> /usr/local/media/videos/English
>>
>>
>>
>>> When it works for local storage what are the permissions on the files
>>> (ls -alh)?
>>>
>>
>> [root@mythmaster ~]# ls -ahl /usr/local/media/videos/English/Alien\ 4.mkv
>> -rwxr-xr-x 1 root mythtv 2.2G Jan 17 2014 /usr/local/media/videos/English/Alien
>> 4.mkv
>>
>>
>>> Are you rescanning for videos after adding / removing the NFS share? The
>>> BE may just be flat out processing all the changes if there are a lot of
>>> files.
>>>
>>
>> Yes - i do the rescan.
>>
>> When I add the NFS - the error starts happening when the scan starts. As
>> I stated earlier, the error happens when I start the FE on the same box as
>> BE - so for now I am fixing this on the box and once it starts working I
>> will try with my remote FE.
>>
>>
>>
>> '
> I am running this frontend from my BE machine. I am seeing this - pretty
> sure this will go away if I take the NFS off.
>

Ughh. forgot to put the logs.


Here it is: https://pastebin.com/Dn7c3HFy



>
> I sent my file/dir permissions earlier - not sure if I need to change
> that. But I have a feeling it's the NFS that's causing this...
>