<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I am building a new mythtv backend on a Mint 19 system using MariaDB.<div><br></div><div>When the backend starts I get a connection refused error:</div><div><br></div><div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: C thread_unknown mythcommandlineparser.cpp:2619 (ConfigureLogging) mythbackend version: fixes/29 [v29.1-41-gd8a2db7] <a href="http://www.mythtv.org">www.mythtv.org</a></div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: C thread_unknown mythcommandlineparser.cpp:2621 (ConfigureLogging) Qt version: compile: 5.9.5, runtime: 5.9.5</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: N thread_unknown mythcommandlineparser.cpp:2623 (ConfigureLogging) Enabled verbose msgs:  general</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: N thread_unknown logging.cpp:927 (logStart) Setting Log Level to LOG_INFO</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I Logger logging.cpp:313 (run) Added logging to the console</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Segmentation fault handler</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted handler</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating point exception handler</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal instruction handler</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Real-time signal 0 handler</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Hangup handler</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: N thread_unknown mythdirs.cpp:195 (InitializeMythDirs) Using runtime prefix = /usr</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: N thread_unknown mythdirs.cpp:197 (InitializeMythDirs) Using configuration directory = /home/mythtv/.mythtv</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I CoreContext mythcorecontext.cpp:271 (Init) Assumed character encoding: en_GB.UTF-8</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: N CoreContext mythcontext.cpp:599 (LoadDatabaseSettings) Empty LocalHostName.</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I CoreContext mythcontext.cpp:607 (LoadDatabaseSettings) Using localhost value of antec300</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I CoreContext mythcontext.cpp:852 (TestDBconnection) Start up testing connections. DB localhost, BE , attempt 0, status dbAwake</div><div>Nov  7 06:11:43 antec300 mythbackend: mythbackend[1573]: I LogForward loggingserver.cpp:302 (SyslogLogger) Added syslogging</div><div>Nov  7 06:11:44 antec300 mythbackend: mythbackend[1573]: N CoreContext mythcorecontext.cpp:1768 (InitLocale) Setting QT default locale to en_GB</div><div>Nov  7 06:11:44 antec300 mythbackend: mythbackend[1573]: I CoreContext mythcorecontext.cpp:1801 (SaveLocaleDefaults) Current locale en_GB</div><div>Nov  7 06:11:44 antec300 mythbackend: mythbackend[1573]: N CoreContext mythlocale.cpp:123 (LoadDefaultsFromXML) Reading locale defaults from /usr/share/mythtv//locales/en_gb.xml</div><div>Nov  7 06:11:44 antec300 mythbackend: mythbackend[1573]: I CoreContext mythtranslation.cpp:73 (load) Loading en_gb translation for module mythfrontend</div><div>Nov  7 06:11:44 antec300 mythbackend: mythbackend[1573]: I CoreContext schemawizard.cpp:120 (Compare) Current MythTV Schema Version (DBSchemaVer): 1348</div><div>Nov  7 06:11:44 antec300 mythbackend: mythbackend[1573]: I CoreContext mythtranslation.cpp:73 (load) Loading en_gb translation for module mythfrontend</div><div>Nov  7 06:11:44 antec300 mythbackend: mythbackend[1573]: E MythSocketThread(-1) mythsocket.cpp:698 (ConnectToHostReal) MythSocket(55a92e1135d0:-1): Failed to connect to (<a href="http://127.0.0.1:6543">127.0.0.1:6543</a>) Connection refused</div></div><div>===============================</div><div><div>config.xml is:</div><div><br></div><div>paul@antec300:~$ sudo cat /home/mythtv/.mythtv/config.xml </div><div><Configuration></div><div>  <Database></div><div>    <PingHost>1</PingHost></div><div>    <Host>localhost</Host></div><div>    <UserName>mythtv</UserName></div><div>    <Password>fNrQdxxx</Password></div><div>    <DatabaseName>mythconverg</DatabaseName></div><div>    <Port>3306</Port></div><div>  </Database></div><div>  <WakeOnLAN></div><div>    <Enabled>0</Enabled></div><div>    <SQLReconnectWaitTime>0</SQLReconnectWaitTime></div><div>    <SQLConnectRetry>5</SQLConnectRetry></div><div>    <Command>echo 'WOLsqlServerCommand not set'</Command></div><div>  </WakeOnLAN></div><div></Configuration></div><div><br></div><div>paul@antec300:~$ </div></div><div><br></div><div>===============================</div><div>Based on some other posts I checked mythconverg db:</div><div><br></div><div><div>paul@antec300:~$ mysql --host=localhost --user=mythtv --password=fNrQdxxx mythconverg</div><div>Reading table information for completion of table and column names</div><div>You can turn off this feature to get a quicker startup with -A</div><div><br></div><div>Welcome to the MariaDB monitor.  Commands end with ; or \g.</div><div>Your MariaDB connection id is 41</div><div>Server version: 10.1.34-MariaDB-0ubuntu0.18.04.1 Ubuntu 18.04</div><div><br></div><div>Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.</div><div><br></div><div>Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.MariaDB [mythconverg]> select * from settings where value like '%serverip%'</div><div>    -> ;</div><div>+------------------+--------------+-------------------+</div><div>| value            | data         | hostname          |</div><div>+------------------+--------------+-------------------+</div><div>| BackendServerIP  | 192.168.1.11 | <a href="http://antec300.home.org">antec300.home.org</a> |</div><div>| MasterServerIP   | 127.0.0.1    | NULL              |</div><div>| BackendServerIP6 | ::1          | <a href="http://antec300.home.org">antec300.home.org</a> |</div><div>+------------------+--------------+-------------------+</div><div>3 rows in set (0.00 sec)</div><div><br></div><div>====================================</div></div><div>Also:</div><div><br></div><div><div>paul@antec300:~$ hostnamectl</div><div>   Static hostname: antec300</div><div>         Icon name: computer-desktop</div><div>           Chassis: desktop</div><div>        Machine ID: 0be4b885ddb347e5bc70559303dca99f</div><div>           Boot ID: d2ae9489464b4c1b9c861aa1dd1482be</div><div>  Operating System: Linux Mint 19</div><div>            Kernel: Linux 4.15.0-20-generic</div><div>      Architecture: x86-64</div><div><br></div><div>paul@antec300:~$ sudo cat /etc/hosts</div><div>127.0.0.1 localhost</div><div>127.0.1.1 <a href="http://antec300.home.org">antec300.home.org</a></div><div><br></div><div># The following lines are desirable for IPv6 capable hosts</div><div>::1 ip6-localhost ip6-loopback</div><div>fe00::0 ip6-localnet</div><div>ff00::0 ip6-mcastprefix</div><div>ff02::1 ip6-allnodes</div><div>ff02::2 ip6-allrouters</div><div><br></div><div>paul@antec300:~$ wget localhost:6543</div><div>--2018-11-07 06:20:15--  <a href="http://localhost:6543/">http://localhost:6543/</a></div><div>Resolving localhost (localhost)... 127.0.0.1</div><div>Connecting to localhost (localhost)|127.0.0.1|:6543... failed: Connection refused.</div></div><div>=============================================================</div><div><br></div><div>So what am I doing wrong? </div><div><br></div><div>regards, paul</div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div>