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