LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2007, 01:36 PM   #1
jwstric2
Member
 
Registered: Jan 2004
Posts: 105

Rep: Reputation: 15
MythTv: Frontend can not properly open recordings: File path error to the master


Hi,

I've been using mythtv for a while now. I have been running the frontend/backend on the same server for a while. Well I wanted to run another server upstairs and use it as a standalone front end.

I have configured the backend such that it is no longer using a local loopback (127.0.0.1) as its address and configured the standalone front to point to the master back end. I can sucessfully see upcoming showing, see what is recorded, ect fron the standalone frontend.

However, on playback of a recording I get the following.

2007-05-31 14:18:41.225 RingBuffer::RingBuffer(): Failed to open remote file (myth://:/2040_20070531140000.mpg)

The closest thread I could google and find with the same problem was as follows:
http://www.avsforum.com/avs-vb/archi.../t-711243.html. The person at the end however did not indicate where the missing port/dir information is being pulled from and what the configuration should look like.

Has anyone else seen this problem or would know where to look for the missing information as shown where it tries to open the file.

Thanks in advance.
 
Old 05-31-2007, 02:44 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You may need to run mythtv-setup again on your frontend. The fact that you can see upcoming episodes indicates that you have successful access to the database, but doesn't necessarily imply you have successful access to the backend (which may or may not be on the same machine). Because these two "applications" can be physically separated, they are separate entries in the database and on the frontend machine. Try running mythtv-setup again on the frontend and redefining the backend location.

Good luck!

Cool
 
Old 06-03-2007, 10:49 AM   #3
jwstric2
Member
 
Registered: Jan 2004
Posts: 105

Original Poster
Rep: Reputation: 15
I ended up discovering that there were settings related to the masterbackend server not being populated in the database on the frontend side (Ran mythfront end in debug mode to see what database queries were being executed for tv playback 'mythfrontend -v all'). 'eagle' is the masterbackend not residing on the same box. After adding the below SQL statements, everything works (until I probaly find something else).

Code:
INSERT INTO settings (value, data, hostname) VALUES ('BackendServerIP', '192.168.1.129', 'eagle' );

INSERT INTO settings (value, data, hostname) VALUES ('BackendServerPort', '6543', 'eagle');

INSERT INTO settings (value, data, hostname) VALUES ('RecordFilePrefix', '/mythtv', 'eagle');
Thanks
J
 
Old 06-03-2007, 03:18 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
That's very odd. One would think that rerunning mythtv-setup from both/either machine should update those tables to the correct (above) settings.

Nice job on figuring it out though.

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote mythtv frontend can't connect to backend raytheyounger Linux - Software 2 05-27-2006 09:09 PM
mythtv frontend can't play recorded shows from main computer LiquidSlumber Linux - Software 2 02-11-2006 11:25 PM
Cannot schedule recordings in MythTv eikeland Linux - Software 2 01-07-2006 08:22 PM
Geting error loop QFike:getch: File not open QFile:atEnd: this file is not open badgerbox76 Linux - Newbie 6 01-07-2006 05:30 PM
my apache server try to open the conf file from previous path m_a Linux - Networking 4 08-05-2003 05:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration