[mythtv-users] Help: Failed to connect to (127.0.0.1:6543) Connection refused

Craig Huff huffcslists at gmail.com
Sat Sep 7 01:04:19 UTC 2019


On Fri, Sep 6, 2019 at 7:47 PM Bill Meek <keemllib at gmail.com> wrote:

> On 9/6/19 7:36 PM, Craig Huff wrote:
> >     Hmmm...
> >
> >     So, if the settings in config.xml are for mysql, and the settings in
> mythtv-backend point to the IP address 192.168.1.149, why is
> >     mythwelcome trying to connect to 127.0.0.1:6543 <
> http://127.0.0.1:6543>?
> >
> >     --
> >     Craig.
> >
> >
> > Could it be that the local loopback hardware on my several year old mobo
> is acting up (failing) even though the network connection is fine?
> >
> > --
> > Craig.
>
> Are both IPs in mythtv-setup the same? master and server. And, mention your
> version as v30 had changes that my be in  play, e.g. Master Server Name.
> Then
> see what IP that name resolves to.
>
> I'd pastebin the latest backend and welcome logs and add a link here. Maybe
> someone can spot something.
>
> --
> Bill
>

Except for one time today, which took a long time to connect, I can't get
into mythtv-setup now either -- the logs have the same error symptom.
IIRC, both IPs are the same in the backend setup.

I don't have pastebin set up right now, but the logs are pretty short.

Here's the log of the latest run of mythbackend:
Sep  6 19:57:06 penguin mythbackend: mythbackend[18674]: C thread_unknown
mythcommandlineparser.cpp:2595 (ConfigureLogging) mythbackend version:
fixes/0.27 [v0.27.6-28-g6fb800d] www.mythtv.org
Sep  6 19:57:06 penguin mythbackend: mythbackend[18674]: C thread_unknown
mythcommandlineparser.cpp:2597 (ConfigureLogging) Qt version: compile:
4.8.6, runtime: 4.8.6
Sep  6 19:57:06 penguin mythbackend: mythbackend[18674]: N thread_unknown
mythcommandlineparser.cpp:2599 (ConfigureLogging) Enabled verbose msgs:
 general
Sep  6 19:57:06 penguin mythbackend: mythbackend[18674]: N thread_unknown
logging.cpp:907 (logStart) Setting Log Level to LOG_INFO
Sep  6 19:57:06 penguin mythbackend: mythbackend[18674]: N thread_unknown
mythdirs.cpp:55 (InitializeMythDirs) Using runtime prefix = /usr
Sep  6 19:57:06 penguin mythbackend: mythbackend[18674]: N thread_unknown
mythdirs.cpp:68 (InitializeMythDirs) Using configuration directory =
/home/mythtv/.mythtv
Sep  6 19:57:06 penguin mythbackend: mythbackend[18674]: N CoreContext
mythcontext.cpp:504 (LoadDatabaseSettings) Empty LocalHostName.
Sep  6 19:57:06 penguin mythbackend: mythbackend[18674]: N CoreContext
mythcorecontext.cpp:1634 (InitLocale) Setting QT default locale to EN_US
Sep  6 19:57:06 penguin mythbackend: mythbackend[18674]: N CoreContext
mythlocale.cpp:121 (LoadDefaultsFromXML) Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
Sep  6 19:57:06 penguin mythbackend: mythbackend[18674]: N CoreContext
main_helpers.cpp:582 (run_backend) MythBackend: Starting up as the master
server.

And here's what invoking mythwelcome logged:
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: C thread_unknown
mythcommandlineparser.cpp:2595 (ConfigureLogging) mythwelcome version:
fixes/0.27 [v0.27.6-28-g6fb800d] www.mythtv.org
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: C thread_unknown
mythcommandlineparser.cpp:2597 (ConfigureLogging) Qt version: compile:
4.8.6, runtime: 4.8.6
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: N thread_unknown
mythcommandlineparser.cpp:2599 (ConfigureLogging) Enabled verbose msgs:
 general
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: N thread_unknown
logging.cpp:907 (logStart) Setting Log Level to LOG_INFO
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: N thread_unknown
mythdirs.cpp:55 (InitializeMythDirs) Using runtime prefix = /usr
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: N thread_unknown
mythdirs.cpp:68 (InitializeMythDirs) Using configuration directory =
/home/huff/.mythtv
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: N CoreContext
mythcontext.cpp:504 (LoadDatabaseSettings) Empty LocalHostName.
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: N CoreContext
mythcorecontext.cpp:1634 (InitLocale) Setting QT default locale to EN_US
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: N CoreContext
mythlocale.cpp:121 (LoadDefaultsFromXML) Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: N CoreContext
DisplayRes.cpp:64 (Initialize) Desktop video mode: 1920x1080 60.000 Hz
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: E CoreContext
lirc.cpp:208 (Init) LIRC: Failed to connect to Unix socket
'/dev/lircd'#012#011#011#011eno: No such file or directory (2)
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: E CoreContext
jsmenu.cpp:91 (Init) JoystickMenuThread: Joystick disabled - Failed to read
/home/huff/.mythtv/joystickmenurc
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: W CoreContext
mythrender_opengl.cpp:66 (Create) OpenGL: Could not determine whether Sync
to VBlank is enabled.
Sep  6 19:57:26 penguin mythwelcome: mythwelcome[18683]: E
MythSocketThread(-1) mythsocket.cpp:721 (ConnectToHostReal)
MythSocket(2ae4f00:-1): Failed to connect to (127.0.0.1:6543) Connection
refused
Sep  6 19:58:26 penguin mythwelcome: mythwelcome[18683]: E
MythSocketThread(-1) mythsocket.cpp:721 (ConnectToHostReal)
MythSocket(29b67d0:-1): Failed to connect to (127.0.0.1:6543) Connection
refused
Sep  6 19:59:27 penguin mythwelcome: mythwelcome[18683]: E
MythSocketThread(-1) mythsocket.cpp:721 (ConnectToHostReal)
MythSocket(29b67d0:-1): Failed to connect to (127.0.0.1:6543) Connection
refused

It worked when I last started the system up, but today's been a bust.  I
have no clue what changed.

--
Craig.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20190906/8bc0c63c/attachment.htm>


More information about the mythtv-users mailing list