[mythtv-users] Backend complains about: Empty LocalHostName.

Michael T. Dean mtdean at thirdcontact.com
Mon Jan 30 15:45:39 UTC 2012


On 01/30/2012 09:19 AM, Greg Grotsky wrote:
> I've been trying to debug an issue and while trying to do so I've 
> noticed that my mythbackend logs show: "Empty LocalHostName." as a 
> message right at the top.  In fact, I just ran mythmetadatalookup with 
> debug messages enabled and it reports each entry in the settings 
> file.  It shows:
> 2012-01-30 07:13:13.790597 C  mythmetadatalookup version: master 
> [v0.25pre-4212-g094c2d0] www.mythtv.org <http://www.mythtv.org>
> 2012-01-30 07:13:13.790681 N  Enabled verbose msgs: all
> 2012-01-30 07:13:13.790769 N  Setting Log Level to LOG_DEBUG
> 2012-01-30 07:13:13.790940 I  Added logging to the console
> 2012-01-30 07:13:13.790961 I  Added database logging to table logging
> 2012-01-30 07:13:13.791318 N  Setting up SIGHUP handler
> 2012-01-30 07:13:13.791916 N  Using runtime prefix = /mythtv/local64
> 2012-01-30 07:13:13.792019 N  Using configuration directory = 
> /home/spikeygg/.mythtv
> 2012-01-30 07:13:13.792328 E  
> (old)Settings::ReadSettings(settings.txt) - No such file settings.txt
> 2012-01-30 07:13:13.794604 E  
> (old)Settings::ReadSettings(settings.txt) - No such file settings.txt
> 2012-01-30 07:13:13.794668 E  
> (old)Settings::ReadSettings(/mythtv/local64/share/mythtv/mysql.txt) - 
> No such file /mythtv/local64/share/mythtv/mysql.txt
> 2012-01-30 07:13:13.794706 E  
> (old)Settings::ReadSettings(/mythtv/local64/etc/mythtv/mysql.txt) - No 
> such file /mythtv/local64/etc/mythtv/mysql.txt
> 2012-01-30 07:13:13.794945 D  
> (old)Settings::ReadSettings(/home/spikeygg/.mythtv/mysql.txt) - 
> 'DBHostName' = 'mythbox.mynet'.
> 2012-01-30 07:13:13.795000 D  
> (old)Settings::ReadSettings(/home/spikeygg/.mythtv/mysql.txt) - 
> 'DBPort' = '3306'.
> 2012-01-30 07:13:13.795020 D  
> (old)Settings::ReadSettings(/home/spikeygg/.mythtv/mysql.txt) - 
> 'DBUserName' = 'mythtv'.
> 2012-01-30 07:13:13.795056 D  
> (old)Settings::ReadSettings(/home/spikeygg/.mythtv/mysql.txt) - 
> 'DBPassword' = 'mythtv'.
> 2012-01-30 07:13:13.795075 D  
> (old)Settings::ReadSettings(/home/spikeygg/.mythtv/mysql.txt) - 
> 'DBName' = 'mythconverg'.
> 2012-01-30 07:13:13.795093 D  
> (old)Settings::ReadSettings(/home/spikeygg/.mythtv/mysql.txt) - 
> 'DBType' = 'QMYSQL'.
> 2012-01-30 07:13:13.795222 E  (old)Settings::ReadSettings(./mysql.txt) 
> - No such file ./mysql.txt
> 2012-01-30 07:13:13.795334 N  Empty LocalHostName.
> 2012-01-30 07:13:13.795357 I  Using localhost value of mythbox
> 2012-01-30 07:13:13.795391 I  Clearing Settings Cache.
> 2012-01-30 07:13:13.795794 I  DefaultUPnP() - No default UPnP backend
> Why would it report that it found DBHostName, and then claim that the 
> LocalHostName is empty?  Am I missing something or is this broken?

It's not complaining.  That's a "N" log message, meaning "Notice," as 
in, "If you think there should be a LocalHostName override, there is a 
problem because there is no override.  But, I'll continue on under the 
assumption that you want to use the 'default' LocalHostName, which will 
be your system's hostname."  :)

In other words, your system is set up the way most are--such that it 
uses the hostname as the LocalHostName.

Mike


More information about the mythtv-users mailing list