Author |
Message |
martyboeckman
|
Posted: Fri Oct 19, 2007 4:10 pm |
|
Joined: Fri Jul 07, 2006 3:57 pm
Posts: 5
|
First let me say that I've been running various versions of myth on this hardware for 4.5 years without issue. I just installed R5F27 and everything is working great except that for the problem described in the subject line.
I see the following error in the frontend log:
2007-10-18 22:30:32.022 MythSocket(b15c8610:18): readStringList: Error, timeout.
2007-10-18 22:30:32.048 Connection to backend server lost
2007-10-18 22:30:32.049 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-10-18 22:30:32.052 Using protocol version 31
2007-10-18 22:30:32.064 MythSocket(b15e8640:18): writeStringList: Error, invalid string list.
A search reveals many users having this problem, but no real solution has been suggested. I am not thrilled with running a cron job everyday to restart the processes.
Has anyone found a way to correct this problem?
|
|
Top |
|
 |
mac
|
Posted: Fri Oct 19, 2007 4:47 pm |
|
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location:
Dushanbe, Tajikistan
|
does it not work at all, does it work for while then stop, was R5F27 a fresh install or an upgrade..
does "netstat -n | grep 6543" show anything.. do you have any iptables rules setup..
|
|
Top |
|
 |
martyboeckman
|
Posted: Fri Oct 19, 2007 5:25 pm |
|
Joined: Fri Jul 07, 2006 3:57 pm
Posts: 5
|
R5F27 was a fresh install.
Everything works greats for about 24 hours - web access, samba, recordings, frontend viewing, the works. Then the frontend loses connection.
I didn't touch iptables.
netstat looks fine
root@myth:/home/marty# netstat -n | grep 6543
tcp 0 0 127.0.0.1:6543 127.0.0.1:51451 ESTABLISHED
tcp 0 0 127.0.0.1:6543 127.0.0.1:51450 ESTABLISHED
tcp 0 0 127.0.0.1:51450 127.0.0.1:6543 ESTABLISHED
tcp 0 0 127.0.0.1:51451 127.0.0.1:6543 ESTABLISHED
tcp 0 0 127.0.0.1:38885 127.0.0.1:6543 ESTABLISHED
tcp 0 0 127.0.0.1:38884 127.0.0.1:6543 ESTABLISHED
tcp 0 0 127.0.0.1:6543 127.0.0.1:38885 ESTABLISHED
tcp 0 0 127.0.0.1:6543 127.0.0.1:38884 ESTABLISHED
|
|
Top |
|
 |
mac
|
Posted: Fri Oct 19, 2007 6:04 pm |
|
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location:
Dushanbe, Tajikistan
|
This sounds strange, i know, but you could just do another fresh install to see if the problem is still there.. I did 4 fresh installs of R5F27 and every install had a different issue. After the last install everything worked great.
|
|
Top |
|
 |
martyboeckman
|
Posted: Wed Oct 24, 2007 9:35 am |
|
Joined: Fri Jul 07, 2006 3:57 pm
Posts: 5
|
I did a reinstall. I still get the same problem. Everything still works perfectly except for the frontend losing connection to the backend on a daily basis.
For now, I'm working around it by programming a button on the remote to execute a script that restarts the frontend.
Anyone else have any ideas?
|
|
Top |
|
 |
kmkittre
|
Posted: Wed Oct 24, 2007 2:57 pm |
|
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location:
Salem, MA
|
Is your frontend and backend one machine or two?
_________________ LinHES 8.3, 1 BE, 3 FE
|
|
Top |
|
 |
martyboeckman
|
Posted: Tue Oct 30, 2007 11:39 am |
|
Joined: Fri Jul 07, 2006 3:57 pm
Posts: 5
|
|
Top |
|
 |
loco_hombre
|
Posted: Sun Nov 11, 2007 2:23 am |
|
Joined: Wed Feb 01, 2006 12:49 pm
Posts: 42
|
I have been having this exact same issue for months. I reinstalled today and the same thing seems to be happening.
Code: 2007-11-11 01:10:21.854 MythSocket(831acb8:22): readStringList: Error, timeout. 2007-11-11 01:10:22.178 Connection to backend server lost 2007-11-11 01:10:22.181 Connecting to backend server: 192.168.1.103:6543 (try 1 of 15) 2007-11-11 01:10:22.183 Using protocol version 31 2007-11-11 01:10:22.437 MythSocket(aa7c368:22): writeStringList: Error, invalid string list. 2007-11-11 01:10:52.440 MythSocket(aa7c368:22): readStringList: Error, timeout. 2007-11-11 01:10:52.475 Reconnection to backend server failed
This only happens when I leave a machine on the watch recordings screen. As you can see from above, for some reason it does not try to connect to the backend again. The backend is solid as a rock- gets all of my recordings and has never crasshed.
Heh, I almost wonder if there is a way to just kick out of this screen if I forget to exit to the menus....
My workaround is alos mapping a remote button to a frontend restart script- but it annoys me!
I found this link, but I hate to delete my whole database and start over:
http://www.gossamer-threads.com/lists/mythtv/users/291134?search_string=invalid%20string%20list;#291134
-Loco
|
|
Top |
|
 |
loco_hombre
|
Posted: Thu Nov 22, 2007 9:05 pm |
|
Joined: Wed Feb 01, 2006 12:49 pm
Posts: 42
|
For me, I believe that I solved my issues with losing connection. I got my information from this link:
http://knoppmythwiki.org/index.php?page=PerformanceOptimizeHowTo
I checked my database and optimized it. Then I reduced its size by limiting program data to 9 days instead of 14 as it recommended, by (just quoting the wiki here, I suggest checking out that link):
Quote: On R5D1,R5F27: utilities/setup->setup->general->"mythfilldatabase" (screen 7), modify the field "mythfilldatabase arguments" to read "--quiet --max-days 9", without the quotes.
Maybe this will work for someone else with the problem?
-Loco
|
|
Top |
|
 |