Bug 455329 - Akonadi failed to start
Summary: Akonadi failed to start
Status: RESOLVED DUPLICATE of bug 454948
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: 5.20.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-15 13:44 UTC by 2724167997
Modified: 2022-06-15 13:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 2724167997 2022-06-15 13:44:10 UTC
SUMMARY
akonadi fail to start with `akonadictl start`


STEPS TO REPRODUCE
akonadictl start


OBSERVED RESULT
in console output:
org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadictl:    done.
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/bin/mysqld"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/tategotoazarasi/.local/share/akonadi/mysql.conf", "--datadir=/home/tategotoazarasi/.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: "2022-06-15 21:40:54 0 [Note] /usr/bin/mysqld (server 10.8.3-MariaDB) starting as process 92177 ...\n"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...

in ~/.local/share/akonadi/db_data/mysql.err:
2022-06-15 21:40:54 0 [Warning] option 'innodb-log-buffer-size': unsigned value 1048576 adjusted to 2097152
2022-06-15 21:40:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2022-06-15 21:40:54 0 [Note] InnoDB: Number of transaction pools: 1
2022-06-15 21:40:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-06-15 21:40:54 0 [Note] InnoDB: Using Linux native AIO
2022-06-15 21:40:54 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
2022-06-15 21:40:54 0 [Note] InnoDB: Completed initialization of buffer pool
2022-06-15 21:40:54 0 [ERROR] InnoDB: File ./ib_logfile0 was not found
2022-06-15 21:40:54 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2022-06-15 21:40:54 0 [Note] InnoDB: Starting shutdown...
2022-06-15 21:40:54 0 [ERROR] Plugin 'InnoDB' init function returned error.
2022-06-15 21:40:54 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2022-06-15 21:40:54 0 [ERROR] Unknown/unsupported storage engine: innodb
2022-06-15 21:40:54 0 [ERROR] Aborting

EXPECTED RESULT
akonadi start successfully

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Kernel Version: 5.18.3-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
create file ib_logfile0 manually fix this issue.
Comment 1 2724167997 2022-06-15 13:50:00 UTC
akonadi version: 22.04.2-1
mariadb version:
Comment 2 2724167997 2022-06-15 13:50:33 UTC
mariadb  Ver 15.1 Distrib 10.8.3-MariaDB, for Linux (x86_64) using readline 5.1
Comment 3 Antonio Rojas 2022-06-15 13:56:21 UTC

*** This bug has been marked as a duplicate of bug 454948 ***