KDE Kontact applications fail to start. The Akonadi personal information management service is not operational
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
In looking for a good suite of mail/contacts/calendar .etc apps, I tried out KDE's Kontact and ran into the following issue upon starting pretty much any of the bundled applications (kmail, korganiser .etc). The application would display a loading screen like Image 1, and then it would display the error in Image 2, saying The Akonadi personal information management service is not operational.
or something to that effect.
Image 1:
Image 2:
Here is my system info as provided by screenfetch
:
OS: KDE neon 5.12
Kernel: x86_64 Linux 4.13.0-45-generic
Uptime: 4h 37m
Packages: 2060
Shell: bash 4.3.48
Resolution: 1280x800
DE: KDE 5.47.0 / Plasma 5.13.1
WM: KWin
GTK Theme: Breeze [GTK2/3]
Icon Theme: breeze
Font: Noto Sans Regular
CPU: Intel Core2 Duo P8700 @ 2x 2.534GHz [36.0ðC]
GPU: intel
RAM: 1802MiB / 2946MiB
I have already tried uninstalling (and reinstalling) the Kontact suite (both with and without the --purge
argument to apt
and for some reason the "Details" button provided on the error screen appears to do nothing when i click on it.
I had already saved the selftest report file to my desktop and then subsequently forgot it was there (redactions mine).
kde5 kde-neon
add a comment |Â
up vote
1
down vote
favorite
In looking for a good suite of mail/contacts/calendar .etc apps, I tried out KDE's Kontact and ran into the following issue upon starting pretty much any of the bundled applications (kmail, korganiser .etc). The application would display a loading screen like Image 1, and then it would display the error in Image 2, saying The Akonadi personal information management service is not operational.
or something to that effect.
Image 1:
Image 2:
Here is my system info as provided by screenfetch
:
OS: KDE neon 5.12
Kernel: x86_64 Linux 4.13.0-45-generic
Uptime: 4h 37m
Packages: 2060
Shell: bash 4.3.48
Resolution: 1280x800
DE: KDE 5.47.0 / Plasma 5.13.1
WM: KWin
GTK Theme: Breeze [GTK2/3]
Icon Theme: breeze
Font: Noto Sans Regular
CPU: Intel Core2 Duo P8700 @ 2x 2.534GHz [36.0ðC]
GPU: intel
RAM: 1802MiB / 2946MiB
I have already tried uninstalling (and reinstalling) the Kontact suite (both with and without the --purge
argument to apt
and for some reason the "Details" button provided on the error screen appears to do nothing when i click on it.
I had already saved the selftest report file to my desktop and then subsequently forgot it was there (redactions mine).
kde5 kde-neon
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
In looking for a good suite of mail/contacts/calendar .etc apps, I tried out KDE's Kontact and ran into the following issue upon starting pretty much any of the bundled applications (kmail, korganiser .etc). The application would display a loading screen like Image 1, and then it would display the error in Image 2, saying The Akonadi personal information management service is not operational.
or something to that effect.
Image 1:
Image 2:
Here is my system info as provided by screenfetch
:
OS: KDE neon 5.12
Kernel: x86_64 Linux 4.13.0-45-generic
Uptime: 4h 37m
Packages: 2060
Shell: bash 4.3.48
Resolution: 1280x800
DE: KDE 5.47.0 / Plasma 5.13.1
WM: KWin
GTK Theme: Breeze [GTK2/3]
Icon Theme: breeze
Font: Noto Sans Regular
CPU: Intel Core2 Duo P8700 @ 2x 2.534GHz [36.0ðC]
GPU: intel
RAM: 1802MiB / 2946MiB
I have already tried uninstalling (and reinstalling) the Kontact suite (both with and without the --purge
argument to apt
and for some reason the "Details" button provided on the error screen appears to do nothing when i click on it.
I had already saved the selftest report file to my desktop and then subsequently forgot it was there (redactions mine).
kde5 kde-neon
In looking for a good suite of mail/contacts/calendar .etc apps, I tried out KDE's Kontact and ran into the following issue upon starting pretty much any of the bundled applications (kmail, korganiser .etc). The application would display a loading screen like Image 1, and then it would display the error in Image 2, saying The Akonadi personal information management service is not operational.
or something to that effect.
Image 1:
Image 2:
Here is my system info as provided by screenfetch
:
OS: KDE neon 5.12
Kernel: x86_64 Linux 4.13.0-45-generic
Uptime: 4h 37m
Packages: 2060
Shell: bash 4.3.48
Resolution: 1280x800
DE: KDE 5.47.0 / Plasma 5.13.1
WM: KWin
GTK Theme: Breeze [GTK2/3]
Icon Theme: breeze
Font: Noto Sans Regular
CPU: Intel Core2 Duo P8700 @ 2x 2.534GHz [36.0ðC]
GPU: intel
RAM: 1802MiB / 2946MiB
I have already tried uninstalling (and reinstalling) the Kontact suite (both with and without the --purge
argument to apt
and for some reason the "Details" button provided on the error screen appears to do nothing when i click on it.
I had already saved the selftest report file to my desktop and then subsequently forgot it was there (redactions mine).
kde5 kde-neon
edited Jun 21 at 20:22
asked Jun 21 at 20:10
DeveloperACE
1165
1165
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Solution
The error logs show that the akonadi verion of the mysql
server that these K* applications require is trying to access ~/.local/share/akonadi/db_data/
except db_data
doesn't exist, so it throws an error much like touch ~/nonexistent_dir/file.txt
would.
To solve, simply run the below commands.cd ~/.local/share/akonadi/; mkdir db_data
Explaination
After doing a lot of digging around on the internet (there was a decent amount of information but most of it was incomplete/unsolved forum threads about similar but not identical issues with Akonadi) I was able to find this general summary of Akonadi from KDE which was an excellent kickstart into my own investigating.
After playing around with the commands mentioned in the link, I got the following output (redactions mine):
$ akonadictl start
$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
mysqld: [ERROR] Could not open required defaults file: /home/[my username]/.config/akonadi/
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
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-akonadi"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/[my username]/.local/share/akonadi/mysql.conf", "--datadir=/home/[my username]/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-[my username].UXCgLp/mysql.socket", "--pid-file=/tmp/akonadi-[my username].UXCgLp/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "mysqld: Can't change dir to '/home/[my username]/.local/share/akonadi/db_data/' (Errcode: 2 - No such file or directory)n2018-06-21T19:34:18.989616Z 0 [Warning] The syntax '--log_warnings/-W' is deprecated and will be removed in a future release. Please use '--log_error_verbosity' instead.n2018-06-21T19:34:18.989703Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).n2018-06-21T19:34:18.991172Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:18.992274Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.22-0ubuntu0.16.04.1) starting as process 11859 ...n2018-06-21T19:34:19.006500Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:19.006549Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:19.006623Z 0 [ERROR] failed to set datadir to /home/[my username]/.local/share/akonadi/db_data/n2018-06-21T19:34:19.006632Z 0 [ERROR] Abortingnn2018-06-21T19:34:19.006658Z 0 [Note] Binlog endn2018-06-21T19:34:19.006726Z 0 [Note] /usr/sbin/mysqld: Shutdown completenn"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/akonadi-[my username].UXCgLp/mysql.socket' (2)'
Check that mysqld is running and that the socket: '/tmp/akonadi-[my username].UXCgLp/mysql.socket' exists!
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...
This produces a couple interesting lines. The problematic one being org.kde.pim.akonadiserver: stderr: "mysqld: Can't change dir to '/home/[my username]/.local/share/akonadi/db_data/' (Errcode: 2 - No such file or directory)
. To me this looked like the program was trying to write to a directory to which it didn't have access and was throwing an error, much like touch ~/nonexistent_dir/file.txt
would.
So I ran cd ~/.local/share/akonadi/; mkdir db_data
and retried it. Bam it worked.
Note: if this doesn't work for you, try uninstalling theakonadi-server
package from the command line and deleting~/.config/akonadi/
and~/.local/share/akonadi/
before reinstallingakonadi-server
and its dependent packages (akonadi-server kdepim-runtime kmail knotes kontact korganizer
).
â DeveloperACE
Jun 21 at 20:13
also, it turns out that i had already saved the error log from the "details button in the error message" to my desktop, so here it is: pastebin.com/P54Aeh3q. it shows the same error that i fixed under the "test 15" section of the file
â DeveloperACE
Jun 21 at 20:19
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Solution
The error logs show that the akonadi verion of the mysql
server that these K* applications require is trying to access ~/.local/share/akonadi/db_data/
except db_data
doesn't exist, so it throws an error much like touch ~/nonexistent_dir/file.txt
would.
To solve, simply run the below commands.cd ~/.local/share/akonadi/; mkdir db_data
Explaination
After doing a lot of digging around on the internet (there was a decent amount of information but most of it was incomplete/unsolved forum threads about similar but not identical issues with Akonadi) I was able to find this general summary of Akonadi from KDE which was an excellent kickstart into my own investigating.
After playing around with the commands mentioned in the link, I got the following output (redactions mine):
$ akonadictl start
$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
mysqld: [ERROR] Could not open required defaults file: /home/[my username]/.config/akonadi/
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
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-akonadi"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/[my username]/.local/share/akonadi/mysql.conf", "--datadir=/home/[my username]/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-[my username].UXCgLp/mysql.socket", "--pid-file=/tmp/akonadi-[my username].UXCgLp/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "mysqld: Can't change dir to '/home/[my username]/.local/share/akonadi/db_data/' (Errcode: 2 - No such file or directory)n2018-06-21T19:34:18.989616Z 0 [Warning] The syntax '--log_warnings/-W' is deprecated and will be removed in a future release. Please use '--log_error_verbosity' instead.n2018-06-21T19:34:18.989703Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).n2018-06-21T19:34:18.991172Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:18.992274Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.22-0ubuntu0.16.04.1) starting as process 11859 ...n2018-06-21T19:34:19.006500Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:19.006549Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:19.006623Z 0 [ERROR] failed to set datadir to /home/[my username]/.local/share/akonadi/db_data/n2018-06-21T19:34:19.006632Z 0 [ERROR] Abortingnn2018-06-21T19:34:19.006658Z 0 [Note] Binlog endn2018-06-21T19:34:19.006726Z 0 [Note] /usr/sbin/mysqld: Shutdown completenn"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/akonadi-[my username].UXCgLp/mysql.socket' (2)'
Check that mysqld is running and that the socket: '/tmp/akonadi-[my username].UXCgLp/mysql.socket' exists!
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...
This produces a couple interesting lines. The problematic one being org.kde.pim.akonadiserver: stderr: "mysqld: Can't change dir to '/home/[my username]/.local/share/akonadi/db_data/' (Errcode: 2 - No such file or directory)
. To me this looked like the program was trying to write to a directory to which it didn't have access and was throwing an error, much like touch ~/nonexistent_dir/file.txt
would.
So I ran cd ~/.local/share/akonadi/; mkdir db_data
and retried it. Bam it worked.
Note: if this doesn't work for you, try uninstalling theakonadi-server
package from the command line and deleting~/.config/akonadi/
and~/.local/share/akonadi/
before reinstallingakonadi-server
and its dependent packages (akonadi-server kdepim-runtime kmail knotes kontact korganizer
).
â DeveloperACE
Jun 21 at 20:13
also, it turns out that i had already saved the error log from the "details button in the error message" to my desktop, so here it is: pastebin.com/P54Aeh3q. it shows the same error that i fixed under the "test 15" section of the file
â DeveloperACE
Jun 21 at 20:19
add a comment |Â
up vote
1
down vote
accepted
Solution
The error logs show that the akonadi verion of the mysql
server that these K* applications require is trying to access ~/.local/share/akonadi/db_data/
except db_data
doesn't exist, so it throws an error much like touch ~/nonexistent_dir/file.txt
would.
To solve, simply run the below commands.cd ~/.local/share/akonadi/; mkdir db_data
Explaination
After doing a lot of digging around on the internet (there was a decent amount of information but most of it was incomplete/unsolved forum threads about similar but not identical issues with Akonadi) I was able to find this general summary of Akonadi from KDE which was an excellent kickstart into my own investigating.
After playing around with the commands mentioned in the link, I got the following output (redactions mine):
$ akonadictl start
$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
mysqld: [ERROR] Could not open required defaults file: /home/[my username]/.config/akonadi/
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
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-akonadi"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/[my username]/.local/share/akonadi/mysql.conf", "--datadir=/home/[my username]/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-[my username].UXCgLp/mysql.socket", "--pid-file=/tmp/akonadi-[my username].UXCgLp/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "mysqld: Can't change dir to '/home/[my username]/.local/share/akonadi/db_data/' (Errcode: 2 - No such file or directory)n2018-06-21T19:34:18.989616Z 0 [Warning] The syntax '--log_warnings/-W' is deprecated and will be removed in a future release. Please use '--log_error_verbosity' instead.n2018-06-21T19:34:18.989703Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).n2018-06-21T19:34:18.991172Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:18.992274Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.22-0ubuntu0.16.04.1) starting as process 11859 ...n2018-06-21T19:34:19.006500Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:19.006549Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:19.006623Z 0 [ERROR] failed to set datadir to /home/[my username]/.local/share/akonadi/db_data/n2018-06-21T19:34:19.006632Z 0 [ERROR] Abortingnn2018-06-21T19:34:19.006658Z 0 [Note] Binlog endn2018-06-21T19:34:19.006726Z 0 [Note] /usr/sbin/mysqld: Shutdown completenn"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/akonadi-[my username].UXCgLp/mysql.socket' (2)'
Check that mysqld is running and that the socket: '/tmp/akonadi-[my username].UXCgLp/mysql.socket' exists!
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...
This produces a couple interesting lines. The problematic one being org.kde.pim.akonadiserver: stderr: "mysqld: Can't change dir to '/home/[my username]/.local/share/akonadi/db_data/' (Errcode: 2 - No such file or directory)
. To me this looked like the program was trying to write to a directory to which it didn't have access and was throwing an error, much like touch ~/nonexistent_dir/file.txt
would.
So I ran cd ~/.local/share/akonadi/; mkdir db_data
and retried it. Bam it worked.
Note: if this doesn't work for you, try uninstalling theakonadi-server
package from the command line and deleting~/.config/akonadi/
and~/.local/share/akonadi/
before reinstallingakonadi-server
and its dependent packages (akonadi-server kdepim-runtime kmail knotes kontact korganizer
).
â DeveloperACE
Jun 21 at 20:13
also, it turns out that i had already saved the error log from the "details button in the error message" to my desktop, so here it is: pastebin.com/P54Aeh3q. it shows the same error that i fixed under the "test 15" section of the file
â DeveloperACE
Jun 21 at 20:19
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Solution
The error logs show that the akonadi verion of the mysql
server that these K* applications require is trying to access ~/.local/share/akonadi/db_data/
except db_data
doesn't exist, so it throws an error much like touch ~/nonexistent_dir/file.txt
would.
To solve, simply run the below commands.cd ~/.local/share/akonadi/; mkdir db_data
Explaination
After doing a lot of digging around on the internet (there was a decent amount of information but most of it was incomplete/unsolved forum threads about similar but not identical issues with Akonadi) I was able to find this general summary of Akonadi from KDE which was an excellent kickstart into my own investigating.
After playing around with the commands mentioned in the link, I got the following output (redactions mine):
$ akonadictl start
$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
mysqld: [ERROR] Could not open required defaults file: /home/[my username]/.config/akonadi/
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
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-akonadi"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/[my username]/.local/share/akonadi/mysql.conf", "--datadir=/home/[my username]/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-[my username].UXCgLp/mysql.socket", "--pid-file=/tmp/akonadi-[my username].UXCgLp/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "mysqld: Can't change dir to '/home/[my username]/.local/share/akonadi/db_data/' (Errcode: 2 - No such file or directory)n2018-06-21T19:34:18.989616Z 0 [Warning] The syntax '--log_warnings/-W' is deprecated and will be removed in a future release. Please use '--log_error_verbosity' instead.n2018-06-21T19:34:18.989703Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).n2018-06-21T19:34:18.991172Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:18.992274Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.22-0ubuntu0.16.04.1) starting as process 11859 ...n2018-06-21T19:34:19.006500Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:19.006549Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:19.006623Z 0 [ERROR] failed to set datadir to /home/[my username]/.local/share/akonadi/db_data/n2018-06-21T19:34:19.006632Z 0 [ERROR] Abortingnn2018-06-21T19:34:19.006658Z 0 [Note] Binlog endn2018-06-21T19:34:19.006726Z 0 [Note] /usr/sbin/mysqld: Shutdown completenn"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/akonadi-[my username].UXCgLp/mysql.socket' (2)'
Check that mysqld is running and that the socket: '/tmp/akonadi-[my username].UXCgLp/mysql.socket' exists!
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...
This produces a couple interesting lines. The problematic one being org.kde.pim.akonadiserver: stderr: "mysqld: Can't change dir to '/home/[my username]/.local/share/akonadi/db_data/' (Errcode: 2 - No such file or directory)
. To me this looked like the program was trying to write to a directory to which it didn't have access and was throwing an error, much like touch ~/nonexistent_dir/file.txt
would.
So I ran cd ~/.local/share/akonadi/; mkdir db_data
and retried it. Bam it worked.
Solution
The error logs show that the akonadi verion of the mysql
server that these K* applications require is trying to access ~/.local/share/akonadi/db_data/
except db_data
doesn't exist, so it throws an error much like touch ~/nonexistent_dir/file.txt
would.
To solve, simply run the below commands.cd ~/.local/share/akonadi/; mkdir db_data
Explaination
After doing a lot of digging around on the internet (there was a decent amount of information but most of it was incomplete/unsolved forum threads about similar but not identical issues with Akonadi) I was able to find this general summary of Akonadi from KDE which was an excellent kickstart into my own investigating.
After playing around with the commands mentioned in the link, I got the following output (redactions mine):
$ akonadictl start
$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
mysqld: [ERROR] Could not open required defaults file: /home/[my username]/.config/akonadi/
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
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-akonadi"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/[my username]/.local/share/akonadi/mysql.conf", "--datadir=/home/[my username]/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-[my username].UXCgLp/mysql.socket", "--pid-file=/tmp/akonadi-[my username].UXCgLp/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "mysqld: Can't change dir to '/home/[my username]/.local/share/akonadi/db_data/' (Errcode: 2 - No such file or directory)n2018-06-21T19:34:18.989616Z 0 [Warning] The syntax '--log_warnings/-W' is deprecated and will be removed in a future release. Please use '--log_error_verbosity' instead.n2018-06-21T19:34:18.989703Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).n2018-06-21T19:34:18.991172Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:18.992274Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.22-0ubuntu0.16.04.1) starting as process 11859 ...n2018-06-21T19:34:19.006500Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:19.006549Z 0 [Warning] Can't create test file /home/[my username]/.local/share/akonadi/db_data/[my hostname].lower-testn2018-06-21T19:34:19.006623Z 0 [ERROR] failed to set datadir to /home/[my username]/.local/share/akonadi/db_data/n2018-06-21T19:34:19.006632Z 0 [ERROR] Abortingnn2018-06-21T19:34:19.006658Z 0 [Note] Binlog endn2018-06-21T19:34:19.006726Z 0 [Note] /usr/sbin/mysqld: Shutdown completenn"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/akonadi-[my username].UXCgLp/mysql.socket' (2)'
Check that mysqld is running and that the socket: '/tmp/akonadi-[my username].UXCgLp/mysql.socket' exists!
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...
This produces a couple interesting lines. The problematic one being org.kde.pim.akonadiserver: stderr: "mysqld: Can't change dir to '/home/[my username]/.local/share/akonadi/db_data/' (Errcode: 2 - No such file or directory)
. To me this looked like the program was trying to write to a directory to which it didn't have access and was throwing an error, much like touch ~/nonexistent_dir/file.txt
would.
So I ran cd ~/.local/share/akonadi/; mkdir db_data
and retried it. Bam it worked.
edited Jun 21 at 20:27
answered Jun 21 at 20:10
DeveloperACE
1165
1165
Note: if this doesn't work for you, try uninstalling theakonadi-server
package from the command line and deleting~/.config/akonadi/
and~/.local/share/akonadi/
before reinstallingakonadi-server
and its dependent packages (akonadi-server kdepim-runtime kmail knotes kontact korganizer
).
â DeveloperACE
Jun 21 at 20:13
also, it turns out that i had already saved the error log from the "details button in the error message" to my desktop, so here it is: pastebin.com/P54Aeh3q. it shows the same error that i fixed under the "test 15" section of the file
â DeveloperACE
Jun 21 at 20:19
add a comment |Â
Note: if this doesn't work for you, try uninstalling theakonadi-server
package from the command line and deleting~/.config/akonadi/
and~/.local/share/akonadi/
before reinstallingakonadi-server
and its dependent packages (akonadi-server kdepim-runtime kmail knotes kontact korganizer
).
â DeveloperACE
Jun 21 at 20:13
also, it turns out that i had already saved the error log from the "details button in the error message" to my desktop, so here it is: pastebin.com/P54Aeh3q. it shows the same error that i fixed under the "test 15" section of the file
â DeveloperACE
Jun 21 at 20:19
Note: if this doesn't work for you, try uninstalling the
akonadi-server
package from the command line and deleting ~/.config/akonadi/
and ~/.local/share/akonadi/
before reinstalling akonadi-server
and its dependent packages (akonadi-server kdepim-runtime kmail knotes kontact korganizer
).â DeveloperACE
Jun 21 at 20:13
Note: if this doesn't work for you, try uninstalling the
akonadi-server
package from the command line and deleting ~/.config/akonadi/
and ~/.local/share/akonadi/
before reinstalling akonadi-server
and its dependent packages (akonadi-server kdepim-runtime kmail knotes kontact korganizer
).â DeveloperACE
Jun 21 at 20:13
also, it turns out that i had already saved the error log from the "details button in the error message" to my desktop, so here it is: pastebin.com/P54Aeh3q. it shows the same error that i fixed under the "test 15" section of the file
â DeveloperACE
Jun 21 at 20:19
also, it turns out that i had already saved the error log from the "details button in the error message" to my desktop, so here it is: pastebin.com/P54Aeh3q. it shows the same error that i fixed under the "test 15" section of the file
â DeveloperACE
Jun 21 at 20:19
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451186%2fkde-kontact-applications-fail-to-start-the-akonadi-personal-information-managem%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password