Gentoo Archives: gentoo-user

From: Michael Sullivan <msulli1355@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Mythtv problems
Date: Wed, 26 Oct 2011 19:47:25
Message-Id: 4EA86363.1060605@gmail.com
In Reply to: Re: [gentoo-user] Mythtv problems by Michael Sullivan
1 On 10/26/11 14:05, Michael Sullivan wrote:
2 > On 10/26/11 14:03, Michael Sullivan wrote:
3 >> On 10/26/11 13:31, Michael Sullivan wrote:
4 >>> On 10/26/11 11:36, Mark Knecht wrote:
5 >>>> On Wed, Oct 26, 2011 at 9:29 AM, Michael Sullivan <msulli1355@×××××.com> wrote:
6 >>>>> On 10/26/11 11:07, Neil Bothwick wrote:
7 >>>>>> On Wed, 26 Oct 2011 09:23:30 -0500, Michael Sullivan wrote:
8 >>>>>>
9 >>>>>>> At first I thought that sometime that installed since Oct 12 was causing
10 >>>>>>> the segfault, so I tried unmerging the 350+ packages that had installed
11 >>>>>>> since then and listing them in package.mask, but that blew up in my face
12 >>>>>>> because I don't know a command that forces portage to ignore masked
13 >>>>>>> packages and install next-highest stable versions.
14 >>>>>>
15 >>>>>> Mask higher versions in package mask
16 >>>>>>
17 >>>>>>> cat/pkg-version.you.want
18 >>>>>>
19 >>>>>>
20 >>>>>
21 >>>>> I did, but as I said there where 350+ of them. And every time I tried
22 >>>>> to emerge anything else, I couldn't because some package I needed was
23 >>>>> listed in package mask. I got the package list that I added to
24 >>>>> package.mask from /var/log/portage-logs for files dated from October 12
25 >>>>> till 24. It was an epic fail. I couldn't even emerge -e world because
26 >>>>> of those stupid masked package versions...
27 >>>>
28 >>>> OK, I haven't used Myth now in over a year so take this with a grain
29 >>>> of salt. From the log file it appears that your client isn't
30 >>>> connecting to the server which likely explains why you don't see the
31 >>>> programs. I wonder if you've tested connecting to mythconverg manually
32 >>>> via a terminal? Maybe something like /etc/my.cnf or one of the Myth
33 >>>> config files got messed up in the update.
34 >>>>
35 >>>> Good luck,
36 >>>> Mark
37 >>>>
38 >>>
39 >>> Mysql on camille is broken:
40 >>>
41 >>> camille ~ # mysql -u root -p
42 >>> mysql: unknown variable 'expire_logs_days=10'
43 >>>
44 >>> I'll do some googling, but I thinmichael@camille ~ $ sudo mythbackend
45 >> 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
46 >> [27077] www.mythtv.org
47 >> 2011-10-26 13:48:02.094 Using runtime prefix = /usr
48 >> 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
49 >> 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
50 >> 2011-10-26 13:48:02.124 Empty LocalHostName.
51 >> 2011-10-26 13:48:02.124 Using localhost value of camille
52 >> 2011-10-26 13:48:02.176 New DB connection, total: 1
53 >> 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
54 >> localhost
55 >> 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
56 >> 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
57 >> localhost
58 >> 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
59 >> 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
60 >> 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
61 >> 2011-10-26 13:48:02.390 New DB connection, total: 2
62 >> 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host:
63 >> localhost
64 >> 2011-10-26 13:48:02.426 New DB connection, total: 3
65 >> 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host:
66 >> localhost
67 >> 2011-10-26 13:48:02.728 MediaServer:: Loopback address specified -
68 >> 127.0.0.1. Disabling UPnP
69 >> 2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension
70 >> 2011-10-26 13:48:02.728 Enabled verbose msgs: important general
71 >> 2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543
72 >> 2011-10-26 13:48:03.773 Connected successfully
73 >> 2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread
74 >> 2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error,
75 >> timed out after 30000 ms.
76 >> QMutex::unlock: mutex lock failure: Invalid argument
77 >> k that sounds like a config file
78 >>
79 >> It's been up for about 20 minutes and it hasn't crashed. None of the
80 >> things I mentioned before work, but at least it's not crashing, right?
81 >> This is a good step forward...
82 >>> directive. I'll probably do a rebuild of mysql as well...
83 >>
84 >>
85 >> I googled the expire_logs thing and what I found said to comment it out
86 >> and restart mysql. I did that, and now the output of mythbackend says:
87 >>
88 >>
89 >>
90 > I forgot that I was going to post the output of mythbackend to see if
91 > any of the changes provide hints to solving any of my other myth problems:
92 >
93 > michael@camille ~ $ sudo mythbackend
94 > 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
95 > [27077] www.mythtv.org
96 > 2011-10-26 13:48:02.094 Using runtime prefix = /usr
97 > 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
98 > 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
99 > 2011-10-26 13:48:02.124 Empty LocalHostName.
100 > 2011-10-26 13:48:02.124 Using localhost value of camille
101 > 2011-10-26 13:48:02.176 New DB connection, total: 1
102 > 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
103 > localhost
104 > 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
105 > 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
106 > localhost
107 > 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
108 > 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
109 > 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
110 > 2011-10-26 13:48:02.390 New DB connection, total: 2
111 > 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host:
112 > localhost
113 > 2011-10-26 13:48:02.426 New DB connection, total: 3
114 > 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host:
115 > localhost
116 > 2011-10-26 13:48:02.728 MediaServer:: Loopback address specified -
117 > 127.0.0.1. Disabling UPnP
118 > 2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension
119 > 2011-10-26 13:48:02.728 Enabled verbose msgs: important general
120 > 2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543
121 > 2011-10-26 13:48:03.773 Connected successfully
122 > 2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread
123 > 2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error,
124 > timed out after 30000 ms.
125 > QMutex::unlock: mutex lock failure: Invalid argument
126 >
127
128 I just ran mythfilldatabase to see if everything looked like it usually
129 did. At the end of the run I saw this:
130
131 2011-10-26 14:41:39.486 MythContext: Connecting to backend server:
132 192.168.2.3:6543 (try 1 of 1)
133 2011-10-26 14:41:39.486 Connection to master server timed out.
134 Either the server is down or the master server settings
135 in mythtv-settings does not contain the proper IP address
136
137 2011-10-26 14:41:39.486 Error rescheduling id -1 in
138 ScheduledRecording::signalChange
139 2011-10-26 14:41:39.487 MythContext: Connecting to backend server:
140 192.168.2.3:6543 (try 1 of 1)
141 2011-10-26 14:41:39.487 Connection to master server timed out.
142 Either the server is down or the master server settings
143 in mythtv-settings does not contain the proper IP address
144
145 2011-10-26 14:41:39.487 MythContext: Connecting to backend server:
146 192.168.2.3:6543 (try 1 of 1)
147 2011-10-26 14:41:39.487 Connection to master server timed out.
148 Either the server is down or the master server settings
149 in mythtv-settings does not contain the proper IP address
150
151 In mythtv-setup I have:
152
153 Local Backend (camille) section IP Address 127.0.0.1
154
155 Master Backend section IP Address 192.168.2.3
156
157 Is that not correct?

Replies

Subject Author
Re: [gentoo-user] Mythtv problems Michael Sullivan <msulli1355@×××××.com>
Re: [gentoo-user] Mythtv problems Michael Sullivan <msulli1355@×××××.com>