[mythtv-users] Bug in MythFE (MythCoreContext) re server connection address ?

linux guy linuxguy123 at gmail.com
Sat Oct 8 04:01:55 UTC 2011


I think the following output illustrates a bug, or at least something I
don't understand.

The server ip is 192.168.1.13 (server)
The host ip is 192.168.1.122 (dragon)
Both of these addresses are assigned statically.
Both machines are running Fedora 15.
(more details at the bottom of this post)


/etc/mythtv/mysql.txt
=================================================
DBHostName=192.168.1.13  # or server

# By default, Myth tries to ping the DB host to see if it exists.
# If your DB host or network doesn't accept pings, set this to no:
#
#DBHostPing=no

DBUserName=mythtv
DBPassword=mythtv
DBName=mythconverg
DBType=QMYSQL3
<snip>
================================================


/etc/hosts
===============================================
127.0.0.1       dragon.localdomain      dragon
::1             dragon6.localdomain6    dragon6
192.168.1.13    server.localdomain      server
===============================================

When I run mythfrontend -> Setup -> General, I have tried setting Hostname
to both 'server' and to 192.168.1.13.

I've also set DBHostName to 192.168.1.3 and to server in
/etc/mythtv/mysql.txt.


# mythfrontend
2011-10-07 21:46:31.744 mythfrontend version:  [0.24.1-2.fc15 (3657f313ac)]
www.mythtv.org
2011-10-07 21:46:31.744 Using runtime prefix = /usr
2011-10-07 21:46:31.744 Using configuration directory = /root/.mythtv
2011-10-07 21:46:31.745 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2011-10-07 21:46:32.468 Empty LocalHostName.   <---------------------- WHERE
IS IT GETTING THIS FROM ?
2011-10-07 21:46:32.468 Using localhost value of dragon.localdomain
<-------------- THIS IS CORRECT.
2011-10-07 21:46:32.582 New DB connection, total: 1
2011-10-07 21:46:32.592 Connected to database 'mythconverg' at host: server
2011-10-07 21:46:32.597 Closing DB connection named 'DBManager0'
2011-10-07 21:46:32.600 Connected to database 'mythconverg' at host:
server   <--------------- EXCELLENT !
2011-10-07 21:46:32.604 Current locale en_US
2011-10-07 21:46:32.605 Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
2011-10-07 21:46:32.876 ScreenSaverX11Private: Gnome screen saver support
enabled
2011-10-07 21:46:32.879 DPMS is disabled.
2011-10-07 21:46:32.919 Desktop video mode: 1680x1050 59.994 Hz
2011-10-07 21:46:33.381 Enabled verbose msgs:  important general
2011-10-07 21:46:33.389 Loading en_us translation for module mythfrontend
2011-10-07 21:46:33.421 LIRC, Error: Failed to connect to Unix socket
'/var/run/lirc/lircd'
                        eno: No such file or directory (2)
2011-10-07 21:46:33.421 JoystickMenuThread: Joystick disabled - Failed to
read /root/.mythtv/joystickmenurc
2011-10-07 21:46:33.537 Using Frameless Window
2011-10-07 21:46:33.538 Using Full Screen Window
2011-10-07 21:46:33.790 Using the Qt painter

<snip>2011-10-07 21:46:34.180 New DB connection, total: 2
2011-10-07 21:46:34.182 Connected to database 'mythconverg' at host: server
<------------- EXCELLENT !
2011-10-07 21:46:34.184 Current MythTV Schema Version (DBSchemaVer): 1264
2011-10-07 21:46:34.848 Pulse: PulseAudio suspend OK
2011-10-07 21:46:35.040 Pulse: PulseAudio resume OK
2011-10-07 21:46:35.467 Registering Internal as a media playback plugin.
2011-10-07 21:46:35.469 No libraries in plugins directory
/usr/lib/mythtv/plugins
2011-10-07 21:46:35.488 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
                        eno: No such file or directory (2)
2011-10-07 21:46:35.492 MMUnix::AddDevice() Error: failed to stat
/dev/power,
                        eno: No such file or directory (2)
2011-10-07 21:46:35.497 MMUnix::AddDevice() Error: failed to stat
/dev/trace,
                        eno: No such file or directory (2)

<snip... doesn't like some fonts>

2011-10-07 21:46:36.120 Found mainmenu.xml for theme 'MythCenter-wide'
2011-10-07 21:46:36.151 MythCoreContext: Connecting to backend server:
127.0.0.1:6543 (try 1 of 1)  <----------------- WHAT ?  Why isn't this
server ?

2011-10-07 21:46:36.151 Connection to master server timed out.
                        Either the server is down or the master server
settings
                        in mythtv-settings does not contain the proper IP
address

<snip... happens many more times.>

2011-10-07 21:47:15.538 Pulse: Cleaning up PulseHandler
2011-10-07 21:47:15.539 Deleting UPnP client...
Error in my_thread_global_end(): 1 threads didn't exit


Additional Information

# ps aux | grep myth
root     10401  0.0  1.1 204184 34092 pts/4    Sl   21:07   0:00 mythbackend
root     10497  0.0  0.0   4440   756 pts/4    S+   21:55   0:00 grep
--color=auto myth

[root at dragon etc]# uname -a
Linux dragon.localdomain 2.6.40.6-0.fc15.i686 #1 SMP Tue Oct 4 00:51:19 UTC
2011 i686 i686 i386 GNU/Linux

[root at server me]# uname -a
Linux server.localdomain 2.6.40.4-5.fc15.i686 #1 SMP Tue Aug 30 14:54:41 UTC
2011 i686 i686 i386 GNU/Linux

[root at dragon etc]# yum list mythtv-frontend
Installed Packages
mythtv-frontend.i686                                 0.24.1-2.fc15

[root at server me]# yum list mythtv-backend
Installed Packages
mythtv-backend.i686                                 0.24.1-2.fc15

Let me know what else you need to see.

How can I get my frontend to work properly ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20111007/e78156e6/attachment-0001.html 


More information about the mythtv-users mailing list