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

Replies

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