<p dir="ltr"><br>
On 25/11/2012 6:50 AM, "Ross Boylan" <<a href="mailto:RossBoylan@stanfordalumni.org">RossBoylan@stanfordalumni.org</a>> wrote:<br>
><br>
> When my FE tries to play a recording from a remote BE (both 0.26.0) it<br>
> fails. However, if I NFS mount the directory with the files from the<br>
> BE, it woks.<br>
><br>
> On failure, visibly, the screen just flashes for a moment.<br>
> FE .xsession-errors shows<br>
> 012-11-24 11:25:23.720969 I TV: Creating TV object<br>
> 2012-11-24 11:25:23.761299 N Suspending idle timer<br>
> 2012-11-24 11:25:23.764957 I TV: Created TvPlayWindow.<br>
> 2012-11-24 11:25:23.851612 I TV: Attempting to change from None to WatchingPreRecorded<br>
> 2012-11-24 11:25:23.932581 I Using protocol version 75<br>
> 2012-11-24 11:25:23.934215 I Using protocol version 75<br>
> 2012-11-24 11:25:23.934805 E RemoteFile::openSocket(file data socket): Failed to open socket, error was malformed_ann_query<br>
> 2012-11-24 11:25:23.935503 E FileRingBuf(myth://<a href="http://192.168.40.2:6543/2091_20120916170000.mpg">192.168.40.2:6543/2091_20120916170000.mpg</a>): RingBuffer::RingBuffer(): Failed to open \<br>
> remote file (myth://<a href="http://192.168.40.2:6543/2091_20120916170000.mpg">192.168.40.2:6543/2091_20120916170000.mpg</a>)<br>
> 2012-11-24 11:25:23.936200 I TV: Main UI disabled.<br>
> 2012-11-24 11:25:23.936218 I TV: Entering main playback loop.<br>
> 2012-11-24 11:25:23.936529 I ScreenSaverX11Private: DPMS Deactivated 1<br>
> 2012-11-24 11:25:23.938423 I TV: Exiting main playback loop.<br>
><br>
> This happens every time the FE starts, and repeated attempts in the same session do not fix it.<br>
><br>
> However, if I execute<br>
> mount /usr/local/var/media, given these entries in fstab,<br>
> /dev/nfs / nfs defaults 0 0<br>
> none /tmp tmpfs defaults 0 0<br>
> none /var/run tmpfs defaults 0 0<br>
> none /var/lock tmpfs defaults 0 0<br>
> none /var/tmp tmpfs defaults 0 0<br>
> none /media tmpfs defaults 0 0<br>
> 192.168.40.2:/usr/local /mnt/usr/local nfs defaults 0 0<br>
> 192.168.40.2:/usr/local/var/media /usr/local/var/media nfs defaults 0 0<br>
><br>
> then myth FE can access the same file. If I do the mount before the<br>
> first time I run the FE, the FE can access the file the first time.<br>
> I.e., the success if from the NFS mount, not from simply retrying.<br>
><br>
> The mount is not exactly unrelated to myth; the BE files are<br>
> in /usr/local/var/media (actually a subdirectory underneath that). Note<br>
> also the FE is diskless, mounting root from the same machine that the BE<br>
> runs on.<br>
><br>
> It may be relevant that /usr/local and /usr/local/var/media are not<br>
> mounted automatically at system startup, though it seems to me they<br>
> should be.<br>
><br>
> Can anyone explain what is going on, or a more elegant solution than a<br>
> post-startup script that automatically performs the mount?<br>
><br>
> My understanding is that the FE should require no direct access to the<br>
> BE filesystem, since the BE server sends files or streams as needed<br>
> through a myth-specific protocol. Consistent with that understanding,<br>
> the log shows the FE attempting to open a socket. So mounting the<br>
> server's directory with the files should be unnecessary. But it is<br>
> necessary.<br>
><br>
><br>
Your backend needs to have 192.168.40.2 set as ip and not 127.0.0.1. Run the backend setup and set it properly. _______________________________________________<br>
> mythtv-users mailing list<br>
> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
> <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</p>