[mythtv-users] Mythfrontend will not start
Jack McGee
jack at greendesk.net
Thu Sep 1 02:00:31 UTC 2016
> On 08/31/2016 08:35 PM, Joseph Fry wrote:
>>
>> You have no password set for the MythTV MySQL acct. You need to
>> update your config.xml accordingly.
>>
>>
>> On Wed, Aug 31, 2016, 8:43 PM Jack McGee <jack at greendesk.net
>> <mailto:jack at greendesk.net>> wrote:
>>
>>
>> I do not see that. I see:
>>
>>
>> mysql> SHOW GRANTS FOR mythtv;
>> +---------------------------------------------------------+
>> | Grants for mythtv@% |
>> +---------------------------------------------------------+
>> | GRANT USAGE ON *.* TO 'mythtv'@'%' |
>> | GRANT ALL PRIVILEGES ON `mythconverg`.* TO 'mythtv'@'%' |
>> +---------------------------------------------------------+
>> 2 rows in set (0.00 sec)
>>
>> _______________________________________________
>>
>
>
> Here is revised config.xml
>
> mythuser at mythuser-ZBOX-ID84:~/.mythtv$ cat config.xml
> <Configuration>
> <Database>
> <PingHost>1</PingHost>
> <Host>192.168.0.105</Host>
> <UserName>mythtv</UserName>
> <Password></Password>
> <DatabaseName>mythconverg</DatabaseName>
> <Port>3306</Port>
> </Database>
> <WakeOnLAN>
> <Enabled>0</Enabled>
> <SQLReconnectWaitTime>0</SQLReconnectWaitTime>
> <SQLConnectRetry>5</SQLConnectRetry>
> <Command>echo 'WOLsqlServerCommand not set'</Command>
> </WakeOnLAN>
> </Configuration>
>
> mythfrontend log after that change:
> Aug 31 20:47:51 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: I thread_unknown signalhandling.cpp:194
> (SetHandlerPrivate) Setup Interrupt handler
> (snip)
> Aug 31 20:47:51 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: N thread_unknown mythdirs.cpp:194
> (InitializeMythDirs) Using configuration directory =
> /home/mythuser/.mythtv
> Aug 31 20:47:51 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: I Logger logging.cpp:313 (run) Added logging to
> the console
> Aug 31 20:47:51 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: I CoreContext mythcorecontext.cpp:266 (Init)
> Assumed character encoding: en_US.UTF-8
> Aug 31 20:47:51 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: E CoreContext mythdbparams.cpp:49 (IsValid)
> DBPassword is not set in config.xml
> Aug 31 20:47:51 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: E CoreContext mythdbparams.cpp:39 (IsValid)
> DBHostName is not set in config.xml
> Aug 31 20:47:51 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: N CoreContext mythcontext.cpp:505
> (LoadDatabaseSettings) Empty LocalHostName.
> Aug 31 20:47:51 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: I CoreContext mythcontext.cpp:513
> (LoadDatabaseSettings) Using localhost value of mythuser-ZBOX-ID84
> Aug 31 20:47:51 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: E CoreContext mythdbcon.cpp:229 (OpenDatabase)
> [DBManager0] Unable to connect to database!
> Aug 31 20:47:51 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: E CoreContext mythdbcon.cpp:230 (OpenDatabase)
> Driver error was [1/2002]:#012QMYSQL: Unable to connect#012Database
> error was:#012Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
> (snip)
> Aug 31 20:47:55 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: I SendMessage mythcorecontext.cpp:436
> (ConnectCommandSocket) MythCoreContext::ConnectCommandSocket():
> Connecting to backend server: localhost:6543 (try 1 of 1)
> Aug 31 20:47:55 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: E SendMessage mythcorecontext.cpp:979
> (GetBackendServerIP) MythCoreContext::GetBackendServerIP(): No address
> defined for host: localhost
> Aug 31 20:47:55 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: E MythSocketThread(-1) mythsocket.cpp:729
> (ConnectToHostReal) MythSocket(7f2ea4004a60:-1): Failed to connect to
> (127.0.0.1:6543) Connection refused
> Aug 31 20:47:55 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: E SendMessage mythcorecontext.cpp:506
> (ConnectCommandSocket) Connection to master server timed
> out.#012#011#011#011Either the server is down or the master server
> settings#012#011#011#011in mythtv-settings does not contain the proper
> IP address
> (snip)
> Aug 31 20:47:59 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: I CoreContext mythtranslation.cpp:73 (load)
> Loading en_us translation for module mythfrontend
> Aug 31 20:47:59 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: I SendMessage mythcorecontext.cpp:436
> (ConnectCommandSocket) MythCoreContext::ConnectCommandSocket():
> Connecting to backend server: localhost:6543 (try 1 of 1)
> Aug 31 20:47:59 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: E SendMessage mythcorecontext.cpp:979
> (GetBackendServerIP) MythCoreContext::GetBackendServerIP(): No address
> defined for host: localhost
> Aug 31 20:47:59 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: E MythSocketThread(-1) mythsocket.cpp:729
> (ConnectToHostReal) MythSocket(7f2e3000aad0:-1): Failed to connect to
> (127.0.0.1:6543) Connection refused
> Aug 31 20:47:59 mythuser-ZBOX-ID84 mythfrontend.real:
> mythfrontend[3444]: E SendMessage mythcorecontext.cpp:506
> (ConnectCommandSocket) Connection to master server timed
> out.#012#011#011#011Either the server is down or the master server
> settings#012#011#011#011in mythtv-settings does not contain the proper
> IP address
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160831/00e584f6/attachment-0001.html>
More information about the mythtv-users
mailing list