Gentoo Archives: gentoo-user

From: Michael Schreckenbauer <grimlog@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Mythtv problems
Date: Wed, 26 Oct 2011 22:39:39
Message-Id: 1651461.QWgaVYzuJ8@pc
In Reply to: Re: [gentoo-user] Mythtv problems by Michael Sullivan
1 Am Mittwoch, 26. Oktober 2011, 17:30:16 schrieb Michael Sullivan:
2 > On 10/26/11 17:09, Michael Schreckenbauer wrote:
3 > > Am Mittwoch, 26. Oktober 2011, 16:51:15 schrieb Michael Sullivan:
4 > >> On 10/26/11 16:46, Michael Schreckenbauer wrote:
5 > >>> Am Mittwoch, 26. Oktober 2011, 16:25:37 schrieb Michael Sullivan:
6 > >>>> Here's my output from a mythfrontend run at the terminal:
7 > >>>>
8 > >>>> michael@camille ~ $ mythfrontend
9 > >>>> 2011-10-26 16:16:27.121 mythfrontend version:
10 > >>>> branches/release-0-23-fixes [27077] www.mythtv.org
11 > >>>> 2011-10-26 16:16:27.121 Using runtime prefix = /usr
12 > >>>> 2011-10-26 16:16:27.121 Using configuration directory =
13 > >>>> /home/michael/.mythtv
14 > >>>> 2011-10-26 16:16:27.940 Unable to read configuration file
15 > >>>> mysql.txt
16 > >>>> 2011-10-26 16:16:27.940 Empty LocalHostName.
17 > >>>> 2011-10-26 16:16:27.940 Using localhost value of camille
18 > >>>> 2011-10-26 16:16:28.039 New DB connection, total: 1
19 > >>>> 2011-10-26 16:16:28.090 Connected to database 'mythconverg' at
20 > >>>> host:
21 > >>>> localhost
22 > >>>> 2011-10-26 16:16:28.091 Closing DB connection named 'DBManager0'
23 > >>>> 2011-10-26 16:16:28.181 ScreenSaverX11Private: XScreenSaver
24 > >>>> support
25 > >>>> enabled 2011-10-26 16:16:28.183 DPMS is disabled.
26 > >>>> 2011-10-26 16:16:28.185 Primary screen: 0.
27 > >>>> 2011-10-26 16:16:28.186 Connected to database 'mythconverg' at
28 > >>>> host:
29 > >>>> localhost
30 > >>>> 2011-10-26 16:16:28.189 Using screen 0, 1024x768 at 0,0
31 > >>>> 2011-10-26 16:16:28.242 Desktop video mode: 1024x768 75.0807 Hz
32 > >>>> 2011-10-26 16:16:28.756 MythUI Image Cache size set to 20971520
33 > >>>> bytes
34 > >>>> 2011-10-26 16:16:28.861 Enabled verbose msgs: important general
35 > >>>> 2011-10-26 16:16:28.876 Primary screen: 0.
36 > >>>> 2011-10-26 16:16:28.881 Using screen 0, 1024x768 at 0,0
37 > >>>> 2011-10-26 16:16:28.898 Using theme base resolution of 1280x720
38 > >>>> 2011-10-26 16:16:28.935 LIRC, Error: Failed to connect to Unix
39 > >>>> socket
40 > >>>> '/var/run/lirc/lircd'
41 > >>>>
42 > >>>> eno: No such file or directory (2)
43 > >>>>
44 > >>>> 2011-10-26 16:16:28.935 JoystickMenuThread Error: Joystick
45 > >>>> disabled -
46 > >>>> Failed to read /home/michael/.mythtv/joystickmenurc
47 > >>>> 2011-10-26 16:16:29.061 Using Frameless Window
48 > >>>> 2011-10-26 16:16:29.061 Using Full Screen Window
49 > >>>> 2011-10-26 16:16:29.892 Using the Qt painter
50 > >>>> 2011-10-26 16:16:30.306 XMLParseBase: Loaded base theme from
51 > >>>> '/usr/share/mythtv/themes/metallurgy/base.xml'
52 > >>>> 2011-10-26 16:16:30.525 XMLParseBase: Loaded base theme from
53 > >>>> '/usr/share/mythtv/themes/default-wide/base.xml'
54 > >>>> 2011-10-26 16:16:30.800 XMLParseBase: Loaded base theme from
55 > >>>> '/usr/share/mythtv/themes/default/base.xml'
56 > >>>> 2011-10-26 16:16:30.807 New DB connection, total: 2
57 > >>>> 2011-10-26 16:16:30.820 Current MythTV Schema Version
58 > >>>> (DBSchemaVer):
59 > >>>> 1254 2011-10-26 16:16:30.822 Connected to database 'mythconverg'
60 > >>>> at
61 > >>>> host: localhost
62 > >>>> 2011-10-26 16:16:32.928 Registering Internal as a media playback
63 > >>>> plugin.
64 > >>>> 2011-10-26 16:16:33.145 Current MythMusic Schema Version
65 > >>>> (MusicDBSchemaVer): 1017
66 > >>>> 2011-10-26 16:16:33.338 MMUnix::AddDevice() Error: failed to stat
67 > >>>> /dev/bdi,>>
68 > >>>>
69 > >>>> eno: No such file or directory (2)
70 > >>>>
71 > >>>> 2011-10-26 16:16:33.352 MMUnix::AddDevice() Error: failed to stat
72 > >>>> /dev/power,
73 > >>>>
74 > >>>> eno: No such file or directory (2)
75 > >>>>
76 > >>>> 2011-10-26 16:16:33.371 MMUnix::AddDevice() Error: failed to stat
77 > >>>> /dev/bdi,>>
78 > >>>>
79 > >>>> eno: No such file or directory (2)
80 > >>>>
81 > >>>> 2011-10-26 16:16:33.386 MMUnix::AddDevice() Error: failed to stat
82 > >>>> /dev/power,
83 > >>>>
84 > >>>> eno: No such file or directory (2)
85 > >>>>
86 > >>>> 2011-10-26 16:16:33.403 MonitorRegisterExtensions(0x40,
87 > >>>> mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tt
88 > >>>> a,mk
89 > >>>> a,aiff ,swa,wv) 2011-10-26 16:16:33.421 Cannot load language en_us
90 > >>>> for
91 > >>>> module mythmusic 2011-10-26 16:16:33.425 XMLParseBase: Loading
92 > >>>> window
93 > >>>> theme from /usr/share/mythtv/themes/metallurgy/menu-ui.xml
94 > >>>> mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab
95 > >>>> 2011-10-26 16:16:33.538 Failed to mount /dev/sdd1.
96 > >>>> 2011-10-26 16:16:33.545 CD/DVD '/mnt/cdrom' contained none of
97 > >>>>
98 > >>>> /VIDEO_TS, /.TOC.plist, /vcd or /svcd
99 > >>>>
100 > >>>> 2011-10-26 16:16:33.545 Searching CD statistically - file by file!
101 > >>>> 2011-10-26 16:16:34.035 Loading menu theme from
102 > >>>> /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
103 > >>>> 2011-10-26 16:16:34.046 Found mainmenu.xml for theme 'metallurgy'
104 > >>>> 2011-10-26 16:16:34.225 MythContext: Connecting to backend server:
105 > >>>> 192.168.2.3:6543 (try 1 of 1)
106 > >>>> 2011-10-26 16:16:34.242 Using protocol version 23056
107 > >>>> 2011-10-26 16:16:36.240 Loading menu theme from
108 > >>>> /usr/share/mythtv/themes/defaultmenu//library.xml
109 > >>>> 2011-10-26 16:16:37.723 XMLParseBase: Loading window theme from
110 > >>>> /usr/share/mythtv/themes/metallurgy/recordings-ui.xml
111 > >>>> 2011-10-26 16:16:47.991 MythContext: Connecting to backend server:
112 > >>>> 192.168.2.3:6543 (try 1 of 1)
113 > >>>> 2011-10-26 16:16:47.998 Using protocol version 23056
114 > >>>> 2011-10-26 16:16:55.044 PlaybackBox: UpdateUIListItem called with
115 > >>>> a
116 > >>>> title unknown to us in m_recordingList
117 > >>>>
118 > >>>> Jessie:Zombie Tea Party 5
119 > >>>>
120 > >>>> 2011-10-26 16:16:58.624 MythSocket(92ded58:39): Unable to lookup:
121 > >>>>
122 > >>>> 2011-10-26 16:16:58.625 RemoteFile::openSocket(control socket), Error:
123 > >>>> Could not connect to server :6543
124 > >>>>
125 > >>>> 2011-10-26 16:16:58.654 MythSocket(8de8cf8:39): Unable to lookup:
126 > >>>>
127 > >>>> 2011-10-26 16:16:58.654 RemoteFile::openSocket(file data socket), Error:
128 > >>>> Could not connect to server :6543
129 > >>>>
130 > >>>> 2011-10-26 16:16:58.670 MythSocket(8e8bb28:39): Unable to lookup:
131 > >>>>
132 > >>>> 2011-10-26 16:16:58.670 RemoteFile::openSocket(control socket), Error:
133 > >>>> Could not connect to server :6543
134 > >>>>
135 > >>>> 2011-10-26 16:16:58.672 MythSocket(8e6f520:39): Unable to lookup:
136 > >>>>
137 > >>>> 2011-10-26 16:16:58.672 RemoteFile::openSocket(file data socket), Error:
138 > >>>> Could not connect to server :6543
139 > >>>>
140 > >>>> 2011-10-26 16:17:03.038 Deleting UPnP client...
141 > >>>> Error in my_thread_global_end(): 1 threads didn't exit
142 > >>>>
143 > >>>>
144 > >>>> Is this normal, all these failed conections from MythSocket?
145 > >>>
146 > >>> No :)
147 > >>> http://www.mythtv.org/wiki/Troubleshooting:Unable_to_connect_to_the_
148 > >>> mast er_backend_server
149 > >>>
150 > >>> Best,
151 > >>> Michael
152 > >>
153 > >> camille ~ # mysql -u root mysql -p
154 > >> Enter password:
155 > >> Reading table information for completion of table and column names
156 > >> You can turn off this feature to get a quicker startup with -A
157 > >>
158 > >> Welcome to the MySQL monitor. Commands end with ; or \g.
159 > >> Your MySQL connection id is 3
160 > >> Server version: 5.1.56-log Gentoo Linux mysql-5.1.56
161 > >>
162 > >> Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights
163 > >> reserved. This software comes with ABSOLUTELY NO WARRANTY. This is
164 > >> free software, and you are welcome to modify and redistribute it
165 > >> under the GPL v2 license
166 > >>
167 > >> Type 'help;' or '\h' for help. Type '\c' to clear the current input
168 > >> statement.
169 > >>
170 > >> mysql> UPDATE user SET Password=PASSWORD('mythtv') WHERE
171 > >> user='mythtv';
172 > >> Query OK, 0 rows affected (0.00 sec)
173 > >> Rows matched: 2 Changed: 0 Warnings: 0
174 > >>
175 > >> mysql> FLUSH PRIVILEGES;
176 > >> ERROR 1146 (42S02): Table 'mysql.servers' doesn't exist
177 > >> mysql> quit
178 > >> Bye
179 > >
180 > > Another option could be running mysql_fix_privilege_tables
181 > > (as root)
182 > >
183 > > Best,
184 > > Michael
185 >
186 > camille ~ # mysql_fix_privilege_tables
187 > This script updates all the mysql privilege tables to be usable by
188 > the current version of MySQL
189 >
190 > done
191 >
192 > That's all it said.
193
194 Now back to the wiki. Repeat the steps above, but change the password in the
195 update command to the one you entered in myth-setup.
196 If FLUSH PRIVILEGS; still fails, I'm out of ideas for now.
197
198 Best,
199 Michael