View previous topic :: View next topic |
Author |
Message |
davidbryant Apprentice


Joined: 11 Jun 2020 Posts: 173 Location: Canyon Lake, Texas
|
Posted: Wed Mar 26, 2025 8:51 pm Post subject: KMail will not start |
|
|
I had a problem with KMail today: when I started it, I got an error message "A required background service is not available". I tried starting the akonadi server with a terminal command. That got me a slew of errors.
Code: | david@localhost ~ $ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld"
org.kde.pim.akonadiserver: arguments: QList("--defaults-file=/home/david/.local/share/akonadi/mysql.conf", "--datadir=/home/david/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: ""
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: See "/home/david/.local/share/akonadi/db_data/mysql.err" for more details
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally... |
I found this in /home/david/.local/share/akonadi/db_data/mysql.err:
Code: | 2025-03-26 15:17:26 0 [Note] Starting MariaDB 10.11.11-MariaDB source revision e69f8cae1a15e15b9e4f5e0f8497e1f17bdc81a4 server_uid UAJrBtr89p/iUtpH5eK7f3XuEAs= as process 3653
2025-03-26 15:17:27 0 [Warning] option 'innodb-log-buffer-size': unsigned value 1048576 adjusted to 2097152
2025-03-26 15:17:27 0 [Note] InnoDB: Compressed tables use zlib 1.3.1
2025-03-26 15:17:27 0 [Note] InnoDB: Number of transaction pools: 1
2025-03-26 15:17:27 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2025-03-26 15:17:27 0 [Note] InnoDB: Using liburing
2025-03-26 15:17:27 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
2025-03-26 15:17:27 0 [Note] InnoDB: Completed initialization of buffer pool
2025-03-26 15:17:27 0 [Note] InnoDB: Buffered log writes (block size=4096 bytes)
2025-03-26 15:17:27 0 [ERROR] InnoDB: Upgrade after a crash is not supported. The redo log was created with MariaDB 10.5.13. You must start up and shut down MariaDB 10.7 or earlier.
2025-03-26 15:17:27 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2025-03-26 15:17:27 0 [Note] InnoDB: Starting shutdown...
2025-03-26 15:17:27 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2025-03-26 15:17:27 0 [Note] Plugin 'FEEDBACK' is disabled.
2025-03-26 15:17:27 0 [ERROR] Unknown/unsupported storage engine: innodb
2025-03-26 15:17:27 0 [ERROR] Aborting |
So I installed =dev-db/mariadb-10.6.21, and now K-Mail is working again. I checked my build logs. Mariadb-10.11.11 was installed on March 22, about 5:00 pm. So the new version worked OK for about 4 days before it failed. I'm thinking the latest version of Mariadb isn't ready for prime time. Should I file a bug report? _________________ David Bryant
Canyon Lake, Texas |
|
Back to top |
|
 |
davidbryant Apprentice


Joined: 11 Jun 2020 Posts: 173 Location: Canyon Lake, Texas
|
Posted: Fri Mar 28, 2025 4:14 pm Post subject: I hope it's fixed |
|
|
So today I said "akonadictl stop", then "akonadictl start". I then upgraded mariadb to version 10.11.11. So far it's working OK. _________________ David Bryant
Canyon Lake, Texas |
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2132
|
Posted: Fri Mar 28, 2025 4:23 pm Post subject: |
|
|
davidbryant wrote: | So today I said "akonadictl stop", then "akonadictl start". I then upgraded mariadb to version 10.11.11. So far it's working OK. |
You should do the same after upgrading (or preferably put the upgrade between those). The error is saying you cannot upgrade versions when shutdown abnormally.
Additionally, mariadb-admin --defaults-file=/home/david/.local/share/akonadi/mysql.conf --socket=/run/user/1000/akonadi/mysql.socket shutdown might also be used to shutdown cleanly if akonadictl does not do it properly. |
|
Back to top |
|
 |
davidbryant Apprentice


Joined: 11 Jun 2020 Posts: 173 Location: Canyon Lake, Texas
|
Posted: Wed Apr 02, 2025 2:39 pm Post subject: Still acting up |
|
|
After reinstalling mariadb-10.11.11, it ran OK for four days, 28 March through 1 April. Then it died with the same error message. So I went back to version 10.6.21, got kmail running, then shut kmail down and said
Code: | david@localhost ~ $ akonadictl stop |
I then upgraded to mariadb-10.11.11 before saying
Code: | david@localhost ~ $ akonadictl start |
This hung up in the middle of the operation. I kicked it in the pants with
Code: | david@localhost ~ $ akonadictl status |
which got the akonadi server running successfully.
Keep your fingers crossed. _________________ David Bryant
Canyon Lake, Texas |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|