[mythtv-users] Problem with new frontend

Harry Devine lifter89 at comcast.net
Sun Apr 19 12:26:57 UTC 2009


John Drescher wrote:
>> I just installed a spare PC I put together as a new frontend and I'm having
>> some trouble.  I installed Mythbuntu 8.10 (x64) on it, and when the package
>> manager ran, I had it install all of the latest packages.  Not sure what
>> they all were, but thought I'd mention it.  However, now I've noticed that
>> the frontend process never starts automatically.  If I try to run it
>> manually, I see on the terminal window that it trys to connect to the
>> database a few times (and I know that works), then I see the following
>> errors:
>>
>> No theme dir: /home/hdevine/.mythtv/themes/Mythbuntu-8.04
>> Switching to square mode (Mythbuntu-8.04)
>> Using the QT painter
>> mythtv: could not connect to socket
>> mythtv: No such file or directory
>>     
>
> Looks like it thinks the local machine is the master backend.
>
> What is in your /etc/mythtv/mysql.txt ?
>
> John
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>   
Here is my mysql.txt file:

DBHostName=192.168.1.200

# 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=s60IOd3B
DBName=mythconverg
DBType=QMYSQL3

# Set the following if you want to use something other than this
# machine's real hostname for identifying settings in the database.
# This is useful if your hostname changes often, as otherwise you
# will need to reconfigure mythtv (or futz with the DB) every time.
# TWO HOSTS MUST NOT USE THE SAME VALUE
#
#LocalHostName=my-unique-identifier-goes-here

# If you want your frontend to be able to wake your MySQL server
# using WakeOnLan, have a look at the following settings:
#
#
# The time the frontend waits (in seconds) between reconnect tries.
# This should be the rough time your MySQL server needs for startup
#
#WOLsqlReconnectWaitTime=0
#
#
# This is the number of retries to wake the MySQL server
# until the frontend gives up
#
#WOLsqlConnectRetry=5
#
#
# This is the command executed to wake your MySQL server.
#
#WOLsqlCommand=echo 'WOLsqlServerCommand not set'

As you can see, the DBHostName is set to the IP of my master backend and 
not the localhost.

Thanks,
Harry



More information about the mythtv-users mailing list