I have heavily edited this post to make it easier to read and stay on the topic. Thanks in advance for any help.
Running as other users it does not crash. Credentials all look good.
Settings look correct in config.xml. I can login to mythconverg database as user mythtv in mariadb.
Behavior repeats on fresh database and also on restored from backup database.
Any suggestions on how to proceed?
I am attempting to run mythtv server on Mageia 8. The mythbackend program is crashing when started. Here is the mythbackend log:
- Code: Select all
2021-06-02 14:44:31.267683 C [5681/5681] thread_unknown mythcommandlineparser.cpp:2608 (ConfigureLogging) - mythbackend version: fixes/31.0 [31.0-20210323.1.1.mga8.tainted (aka v31.0-143-gdbac81)] www.mythtv.org
2021-06-02 14:44:31.267693 C [5681/5681] thread_unknown mythcommandlineparser.cpp:2612 (ConfigureLogging) - Qt version: compile: 5.15.2, runtime: 5.15.2
2021-06-02 14:44:31.267710 I [5681/5681] thread_unknown mythcommandlineparser.cpp:2614 (ConfigureLogging) - Mageia 8 (x86_64)
2021-06-02 14:44:31.267713 N [5681/5681] thread_unknown mythcommandlineparser.cpp:2616 (ConfigureLogging) - Enabled verbose msgs: general
2021-06-02 14:44:31.267771 N [5681/5681] thread_unknown logging.cpp:724 (logStart) - Setting Log Level to LOG_INFO
2021-06-02 14:44:31.278089 I [5681/5687] Logger logging.cpp:280 (run) - Added logging to the console
2021-06-02 14:44:31.278264 I [5681/5681] thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) - Setup Interrupt handler
2021-06-02 14:44:31.278269 I [5681/5681] thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) - Setup Terminated handler
2021-06-02 14:44:31.278271 I [5681/5681] thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) - Setup Segmentation fault handler
2021-06-02 14:44:31.278274 I [5681/5681] thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) - Setup Aborted handler
2021-06-02 14:44:31.278279 I [5681/5681] thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) - Setup Bus error handler
2021-06-02 14:44:31.278281 I [5681/5681] thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) - Setup Floating point exception handler
2021-06-02 14:44:31.278284 I [5681/5681] thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) - Setup Illegal instruction handler
2021-06-02 14:44:31.278287 I [5681/5681] thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) - Setup Real-time signal 0 handler
2021-06-02 14:44:31.278291 I [5681/5681] thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) - Setup Hangup handler
2021-06-02 14:44:31.278321 N [5681/5681] thread_unknown mythdirs.cpp:37 (InitializeMythDirs) - Read conf dir = /var/lib/mythtv
2021-06-02 14:44:31.278369 N [5681/5681] thread_unknown mythdirs.cpp:203 (InitializeMythDirs) - Using runtime prefix = /usr
2021-06-02 14:44:31.278370 N [5681/5681] thread_unknown mythdirs.cpp:204 (InitializeMythDirs) - Using configuration directory = /var/lib/mythtv
2021-06-02 14:44:31.278394 I [5681/5681] CoreContext mythcorecontext.cpp:284 (Init) - Assumed character encoding: en_US.UTF-8
2021-06-02 14:44:31.278467 E [5681/5681] CoreContext mythdbparams.cpp:43 (IsValid) - DBHostName is not set in config.xml
2021-06-02 14:44:31.278473 E [5681/5681] CoreContext mythdbparams.cpp:43 (IsValid) - DBHostName is not set in config.xml
2021-06-02 14:44:31.278482 I [5681/5681] CoreContext mythcontext.cpp:629 (LoadDatabaseSettings) - Empty LocalHostName. This is typical.
2021-06-02 14:44:31.278485 I [5681/5681] CoreContext mythcontext.cpp:636 (LoadDatabaseSettings) - Using a profile name of: 'localhost' (Usually the same as this host's name.)
2021-06-02 14:44:31.278514 I [5681/5681] CoreContext mythcontext.cpp:885 (TestDBconnection) - Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000
2021-06-02 14:44:31.279252 I [5681/5686] LogForward loggingserver.cpp:128 (FileLogger) - Added logging to /var/log/mythtv/mythbackend.20210602184431.5681.log
2021-06-02 14:44:32.282919 E [5681/5681] CoreContext mythdbcon.cpp:235 (OpenDatabase) - [DBManager0] Unable to connect to database!
2021-06-02 14:44:32.282940 E [5681/5681] CoreContext mythdbcon.cpp:236 (OpenDatabase) - Driver error was [1/1045]:
QMYSQL: Unable to connect
Database error was:
Access denied for user 'mythtv'@'localhost' (using password: YES)
2021-06-02 14:44:33.283234 I [5681/5681] CoreContext mythcontext.cpp:1008 (TestDBconnection) - Start up failure. host localhost, status dbStartedFail
2021-06-02 14:44:33.283265 I [5681/5681] CoreContext mythcontext.cpp:1172 (UPnPautoconf) - UPNP Search 2 secs
2021-06-02 14:44:33.687044 I [5681/5681] CoreContext mythcontext.cpp:1187 (UPnPautoconf) - UPNP Search 1 secs
2021-06-02 14:44:33.992206 I [5681/5681] CoreContext mythcontext.cpp:1187 (UPnPautoconf) - UPNP Search 1 secs
2021-06-02 14:44:35.457619 I [5681/5681] CoreContext mythcontext.cpp:1198 (UPnPautoconf) - No UPnP backends found
2021-06-02 14:44:36.457906 C [5681/5681] CoreContext main.cpp:139 (main) - Failed to init MythContext.
2021-06-02 14:44:37.261229 I [5681/5681] CoreContext mythcontext.cpp:1665 (~MythContext) - Exiting