Gentoo Archives: gentoo-user

From: Michael Sullivan <msulli1355@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Re: Mythtv problems
Date: Wed, 26 Oct 2011 14:46:51
Message-Id: 4EA81D11.2030605@gmail.com
In Reply to: [gentoo-user] Mythtv problems by Michael Sullivan
1 On 10/26/11 09:23, Michael Sullivan wrote:
2 > I've been having Mythtv problems for the last two or three days, and
3 > everything I've tried to fix it has only made things worse. To start, a
4 > little info:
5 >
6 > camille ~ # emerge -pv mythtv
7 >
8 > These are the packages that would be merged, in order:
9 >
10 > Calculating dependencies... done!
11 > [ebuild R ] media-tv/mythtv-0.23.1_p27077 USE="alsa css dbus dvb
12 > jack lirc mmx perl python tiff (-altivec) -autostart -debug -directv
13 > -faad -fftw -ieee1394 -lcd -pulseaudio -vdpau -xvmc"
14 > VIDEO_CARDS="-nvidia -via" 0 kB
15 >
16 > Total: 1 package (1 reinstall), Size of downloads: 0 kB
17 >
18 > Mythtv has worked on camille since I first installed it in 2005. Mythtv
19 > worked the last time I started it (Oct 12), but I restarted it on the
20 > 24th and it didn't. When I start mythfrontend, the list of Upcoming
21 > Recordings is empty, when I go to Programme Finder it's empty, as is
22 > Program Guide. Previously Recorded works fine, as are Current
23 > recordings but Watch TV doesn't - it says Please wait... for a long time
24 > and then drops me back at the menu screen. Of course by this time
25 > mythfrontend is usually griping about not being connected to the
26 > backend. I ran mythbackend at the terminal prompt to find out why.
27 > Here's what it said:
28 >
29 > camille ~ # mythbackend
30 > 2011-10-26 09:15:05.625 mythbackend version: branches/release-0-23-fixes
31 > [27077] www.mythtv.org
32 > 2011-10-26 09:15:05.626 Using runtime prefix = /usr
33 > 2011-10-26 09:15:05.626 Using configuration directory = /root/.mythtv
34 > 2011-10-26 09:15:05.626 Unable to read configuration file mysql.txt
35 > 2011-10-26 09:15:05.626 Empty LocalHostName.
36 > 2011-10-26 09:15:05.626 Using localhost value of camille
37 > 2011-10-26 09:15:05.636 New DB connection, total: 1
38 > 2011-10-26 09:15:05.641 Connected to database 'mythconverg' at host:
39 > localhost
40 > 2011-10-26 09:15:05.641 Closing DB connection named 'DBManager0'
41 > 2011-10-26 09:15:05.642 Connected to database 'mythconverg' at host:
42 > localhost
43 > 2011-10-26 09:15:05.654 Current MythTV Schema Version (DBSchemaVer): 1254
44 > 2011-10-26 09:15:05.658 MythBackend: Running as a slave backend.
45 > 2011-10-26 09:15:05.673 mythbackend: MythBackend started as a slave backend
46 > 2011-10-26 09:15:05.674 New DB connection, total: 2
47 > 2011-10-26 09:15:05.675 Connected to database 'mythconverg' at host:
48 > localhost
49 > 2011-10-26 09:15:05.684 New DB connection, total: 3
50 > 2011-10-26 09:15:05.688 Connected to database 'mythconverg' at host:
51 > localhost
52 > 2011-10-26 09:15:05.796 MediaServer:: Loopback address specified -
53 > 127.0.0.1. Disabling UPnP
54 > 2011-10-26 09:15:05.796 Main::Registering HttpStatus Extension
55 > 2011-10-26 09:15:05.796 Enabled verbose msgs: important general
56 > 2011-10-26 09:15:06.812 Connecting to master server: 192.168.2.3:6543
57 > 2011-10-26 09:15:06.813 Connected successfully
58 > 2011-10-26 09:15:15.805 mythbackend: Running housekeeping thread
59 > 2011-10-26 09:15:36.830 MythSocket(8224ca0:23): readStringList: Error,
60 > timed out after 30000 ms.
61 > 2011-10-26 09:15:36.831 MainServer, Error: Failed to open master server
62 > socket, timeout
63 > 2011-10-26 09:15:36.848 adding: camille as a slave backend server
64 > 2011-10-26 09:15:36.855 MainServer, Warning: Unknown socket closing
65 > MythSocket(0x82000f8)
66 > 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing
67 > MythSocket(0x82000f8)
68 > 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing
69 > MythSocket(0x8225ed0)
70 > 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing
71 > MythSocket(0x82253a0)
72 > 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing
73 > MythSocket(0x82253a0)
74 > 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing
75 > MythSocket(0x8224ca0)
76 > 2011-10-26 09:15:36.857 MainServer, Warning: Unknown socket closing
77 > MythSocket(0x8224ca0)
78 > 2011-10-26 09:15:36.871 MythSocket(82000f8:-1): writeStringList: Error,
79 > socket went unconnected.
80 > We wrote 0 of 24 bytes with 1 errors
81 > 2011-10-26 09:15:36.871 MythSocket(8225ed0:-1): writeStringList: Error,
82 > socket went unconnected.
83 > We wrote 0 of 10 bytes with 1 errors
84 > 2011-10-26 09:15:36.871 MythSocket(82253a0:-1): writeStringList: Error,
85 > socket went unconnected.
86 > We wrote 0 of 24 bytes with 1 errors
87 > 2011-10-26 09:15:36.871 MythSocket(8224ca0:-1): writeStringList: Error,
88 > socket went unconnected.
89 > We wrote 0 of 24 bytes with 1 errors
90 > 2011-10-26 09:15:37.840 Connecting to master server: 192.168.2.3:6543
91 > 2011-10-26 09:15:37.841 Connected successfully
92 > 2011-10-26 09:16:07.841 MythSocket(82031d8:23): readStringList: Error,
93 > timed out after 30000 ms.
94 > 2011-10-26 09:16:07.841 MainServer, Error: Failed to open master server
95 > socket, timeout
96 > 2011-10-26 09:16:07.842 adding: camille as a slave backend server
97 > 2011-10-26 09:16:07.842 MainServer, Warning: Unknown socket closing
98 > MythSocket(0x8203998)
99 > 2011-10-26 09:16:07.842 MainServer, Warning: Unknown socket closing
100 > MythSocket(0x82029d0)
101 > 2011-10-26 09:16:07.842 MainServer, Warning: Unknown socket closing
102 > MythSocket(0x82029d0)
103 > 2011-10-26 09:16:07.843 MainServer, Warning: Unknown socket closing
104 > MythSocket(0x82033f0)
105 > 2011-10-26 09:16:07.843 MainServer, Warning: Unknown socket closing
106 > MythSocket(0x82033f0)
107 > 2011-10-26 09:16:07.843 MainServer, Warning: Unknown socket closing
108 > MythSocket(0x8203798)
109 > 2011-10-26 09:16:07.843 MainServer, Warning: Unknown socket closing
110 > MythSocket(0x8203798)
111 > 2011-10-26 09:16:07.844 MainServer::ANN Monitor
112 > 2011-10-26 09:16:07.844 adding: camille as a client (events: 0)
113 > 2011-10-26 09:16:07.845 MainServer::ANN Monitor
114 > 2011-10-26 09:16:07.845 adding: camille as a client (events: 1)
115 > 2011-10-26 09:16:07.851 MythSocket(8203998:-1): writeStringList: Error,
116 > socket went unconnected.
117 > We wrote 0 of 10 bytes with 1 errors
118 > 2011-10-26 09:16:07.851 MythSocket(82029d0:-1): writeStringList: Error,
119 > socket went unconnected.
120 > We wrote 0 of 24 bytes with 1 errors
121 > 2011-10-26 09:16:07.851 MythSocket(82033f0:-1): writeStringList: Error,
122 > socket went unconnected.
123 > We wrote 0 of 24 bytes with 1 errors
124 > 2011-10-26 09:16:07.851 MythSocket(8203798:-1): writeStringList: Error,
125 > socket went unconnected.
126 > We wrote 0 of 24 bytes with 1 errors
127 > 2011-10-26 09:16:08.851 Connecting to master server: 192.168.2.3:6543
128 > 2011-10-26 09:16:08.851 Connected successfully
129 > 2011-10-26 09:16:38.861 MythSocket(8203c90:28): readStringList: Error,
130 > timed out after 30000 ms.
131 > 2011-10-26 09:16:38.861 MainServer, Error: Failed to open master server
132 > socket, timeout
133 > 2011-10-26 09:16:38.862 adding: camille as a slave backend server
134 > 2011-10-26 09:16:38.862 MainServer, Warning: Unknown socket closing
135 > MythSocket(0x8203c90)
136 > 2011-10-26 09:16:38.871 MythSocket(8203c90:-1): writeStringList: Error,
137 > socket went unconnected.
138 > We wrote 0 of 10 bytes with 1 errors
139 > 2011-10-26 09:16:39.871 Connecting to master server: 192.168.2.3:6543
140 > 2011-10-26 09:16:39.871 Connected successfully
141 > 2011-10-26 09:16:58.347 Reloading backend settings
142 > 2011-10-26 09:17:09.872 MythSocket(822d050:28): readStringList: Error,
143 > timed out after 30000 ms.
144 > Segmentation fault
145 >
146 >
147 > At first I thought that sometime that installed since Oct 12 was causing
148 > the segfault, so I tried unmerging the 350+ packages that had installed
149 > since then and listing them in package.mask, but that blew up in my face
150 > because I don't know a command that forces portage to ignore masked
151 > packages and install next-highest stable versions. Please help me!
152 > -Michael Sullivan-
153
154 I need to make a correction: Recorded programs do not work. As for
155 mysql.txt not loading, I did some checking on my system and here's what
156 I found:
157
158 camille ~ # locate mysql.txt
159 /.mythtv/mysql.txt
160 /etc/mythtv/.mythtv/mysql.txt
161 camille ~ # ls -l /.mythtv/mysql.txt /etc/mythtv/.mythtv/mysql.txt
162 -rw-r--r-- 1 mythtv users 962 Nov 19 2006 /.mythtv/mysql.txt
163 -rw-r--r-- 1 mythtv users 1120 Sep 21 2008 /etc/mythtv/.mythtv/mysql.txt

Replies

Subject Author
Re: [gentoo-user] Re: Mythtv problems Raffaele BELARDI <raffaele.belardi@××.com>