[mythtv] [mythtv-commits] mythtv branch master updated by pbennett. v29-pre-305-gef7e594

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Fri Feb 10 16:54:45 UTC 2017


> Wiadomość napisana przez Piotr Oniszczuk <piotr.oniszczuk at gmail.com> w dniu 10.02.2017, o godz. 17:41:
> 
> Peter,
> FYI
> I just upgraded MiniMyth2 to pre-307 and can’t connect to database.
> Pressing „Setup” on „MythTV Startup Status” not helps.
> My DB is at 192.168.1.254.
> FE is at 192.168.1.129
> I have no IPv6 on FE
> 
> FE log says:
> 2017-02-10 17:28:57.689169 I Setup Interrupt handler
> 2017-02-10 17:28:57.689402 I Setup Terminated handler
> 2017-02-10 17:28:57.689438 I Setup Segmentation fault handler
> 2017-02-10 17:28:57.689476 I Setup Aborted handler
> 2017-02-10 17:28:57.689511 I Setup Bus error handler
> 2017-02-10 17:28:57.689546 I Setup Floating point exception handler
> 2017-02-10 17:28:57.689582 I Setup Illegal instruction handler
> 2017-02-10 17:28:57.689621 I Setup Real-time signal 0 handler
> 2017-02-10 17:28:57.689671 I Setup User defined signal 1 handler
> 2017-02-10 17:28:57.689707 I Setup User defined signal 2 handler
> 2017-02-10 17:28:57.689742 I Setup Hangup handler
> 2017-02-10 17:28:57.690325 C mythfrontend version: master [v29-pre-307-g0a46103] www.mythtv.org
> 2017-02-10 17:28:57.690386 C Qt version: compile: 5.4.1, runtime: 5.4.1
> 2017-02-10 17:28:57.690405 N Enabled verbose msgs: general
> 2017-02-10 17:28:57.690515 N Setting Log Level to LOG_INFO
> 2017-02-10 17:28:57.726256 I Added logging to the console
> 2017-02-10 17:28:57.726677 N Using runtime prefix = /usr
> 2017-02-10 17:28:57.726704 N Using configuration directory = /home/minimyth/.mythtv
> 2017-02-10 17:28:57.745076 I Assumed character encoding: en_US.UTF-8
> 2017-02-10 17:28:57.816245 E DBHostName is not set in config.xml
> 2017-02-10 17:28:57.816561 N Empty LocalHostName.
> 2017-02-10 17:28:57.816611 I Using localhost value of FE-Livingroom
> 2017-02-10 17:28:57.816893 I Start up testing connections. host 192.168.1.254, attempt 0, status dbAwake
> 2017-02-10 17:28:58.875604 I Start up testing connections. host 192.168.1.254, attempt 1, status dbAwake
> 2017-02-10 17:28:58.881867 I Loading en_us translation for module mythfrontend
> 2017-02-10 17:28:58.933927 I Starting process manager
> 2017-02-10 17:28:58.934327 I Starting process signal handler
> 2017-02-10 17:28:58.934359 I Starting IO manager (write)
> 2017-02-10 17:28:58.937412 I Starting IO manager (read)
> 2017-02-10 17:28:58.985017 I ScreenSaverX11Private: XScreenSaver support enabled
> 2017-02-10 17:28:58.986313 I ScreenSaverX11Private: DPMS is disabled.
> 2017-02-10 17:28:59.088689 N Desktop video mode: 1920x1080 50.000 Hz
> 2017-02-10 17:28:59.196016 E SG() Error: Could not create builtinStorage Group directory \'/home/minimyth/.mythtv/tmp/hls\' for \'Streaming\'
> 2017-02-10 17:28:59.292107 I LIRC: Successfully initialized \'/dev/lircd\' using \'/home/minimyth/.mythtv/lircrc\' config
> 2017-02-10 17:28:59.292418 I UDPListener: Enabling
> 2017-02-10 17:28:59.294080 I Binding to UDP 127.0.0.1:0
> 2017-02-10 17:28:59.294229 I Binding to UDP 192.168.1.129:0
> 2017-02-10 17:28:59.294337 I Binding to UDP 192.168.1.255:0
> 2017-02-10 17:28:59.307991 I Using Frameless Window
> 2017-02-10 17:28:59.308006 I Using Full Screen Window
> 2017-02-10 17:28:59.338989 I UI Screen Resolution: 1920 x 1080
> 2017-02-10 17:28:59.901102 I Using the Qt painter
> 2017-02-10 17:29:08.423921 W MythCookieJar::load() failed to open file for reading: /home/minimyth/.mythtv/MythBrowser/cookiejar.txt
> 2017-02-10 17:29:08.670490 I MythUIWebBrowser: Loading css from - file:///usr/share/mythtv/themes/default/htmls/mythbrowser.css
> 2017-02-10 17:29:08.688583 I MythUIWebBrowser: enabling plugins
> 2017-02-10 17:29:12.313883 I Start up testing connections. host 192.168.1.254, attempt 2, status dbAwake
> 2017-02-10 17:29:15.333925 I Start up testing connections. host 192.168.1.254, attempt 3, status dbAwake
> 2017-02-10 17:29:18.355888 I Start up testing connections. host 192.168.1.254, attempt 4, status dbAwake
> 2017-02-10 17:29:21.377909 I Start up testing connections. host 192.168.1.254, attempt 5, status dbAwake
> 2017-02-10 17:29:24.398343 I Start up testing connections. host 192.168.1.254, attempt 6, status dbAwake
> 2017-02-10 17:29:27.422009 I Start up testing connections. host 192.168.1.254, attempt 7, status dbAwake
> 2017-02-10 17:29:30.442099 I Start up testing connections. host 192.168.1.254, attempt 8, status dbAwake
> 2017-02-10 17:29:33.464530 I Start up testing connections. host 192.168.1.254, attempt 9, status dbAwake
> 2017-02-10 17:29:36.488436 I Start up testing connections. host 192.168.1.254, attempt 10, status dbAwake
> 2017-02-10 17:29:39.511595 I Start up failure. host 192.168.1.254, status dbAwakeFail  
> 
> 
> here is my config.xml
> 
> root at FE-Livingroom:~ # cat /home/minimyth/.mythtv/config.xml 
> <Configuration>
>  <UPnP>
>    <MythFrontend>
>      <DefaultBackend>
>        <LocalHostName>FE-Livingroom</LocalHostName>
>      </DefaultBackend>
>    </MythFrontend>
>  </UPnP>
>  <LocalHostName>my-unique-identifier-goes-here</LocalHostName>
>  <Database>
>    <PingHost>1</PingHost>
>    <Host>192.168.1.254</Host>
>    <UserName>mythtv</UserName>
>    <Password>mythtv</Password>
>    <DatabaseName>mythconverg</DatabaseName>
>    <Port>0</Port>
>  </Database>
>  <WakeOnLAN>
>    <Enabled>0</Enabled>
>    <SQLReconnectWaitTime>0</SQLReconnectWaitTime>
>    <SQLConnectRetry>5</SQLConnectRetry>
>    <Command>echo 'WOLsqlServerCommand not set'</Command>
>  </WakeOnLAN>
> </Configuration>
> 
> root at FE-Livingroom:~ # ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:01:2E:33:0C:1F  
>          inet addr:192.168.1.129  Bcast:192.168.1.255  Mask:255.255.255.0
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:183208 errors:0 dropped:1 overruns:0 frame:0
>          TX packets:36264 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000 
>          RX bytes:274696461 (261.9 MiB)  TX bytes:2756193 (2.6 MiB)
> 
> lo        Link encap:Local Loopback  
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          UP LOOPBACK RUNNING  MTU:65536  Metric:1
>          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1 
>          RX bytes:1412 (1.3 KiB)  TX bytes:1412 (1.3 KiB)

FYI: it looks like going across setup added Database statement to my config.xml - but port is set to 0 (<Port>0</Port>).
I changed this manually to 3306.
This seem to like bug as on setup screen I have port file empty (so default 3306 should be assumed).
After fixing port, now I have looped country/language screen. Selecting proper country/language resulting in showing country/language screen again. 
So still something is wrong.
   



More information about the mythtv-dev mailing list