About KMail

Hello.
I am using “Netrunner KDE Plasma”.
I installed KMail, but it is not reflected in the menu.
When opening Terminal and starting KMail, the following error message appears.

[code]Akonadi Server Self-Test Report

Test 1: SUCCESS

Database driver found.
Details: The QtSQL driver ‘QMYSQL’ is required by your current Akonadi server configuration and was found on your system.

File content of ‘/home/pure/.config/akonadi/akonadiserverrc’:
[%General]
Driver=QMYSQL

[QMYSQL]
Host=
Name=akonadi
Options=
ServerPath=/usr/sbin/mysqld-akonadi
StartServer=false

Test 2: SUCCESS

Akonadi is not running as root
Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system.

Test 3: SKIP

MySQL server executable not tested.
Details: The current configuration does not require an internal MySQL server.

Test 4: SKIP

MySQL server error log not tested.
Details: The current configuration does not require an internal MySQL server.

Test 5: SKIP

MySQL server configuration not tested.
Details: The current configuration does not require an internal MySQL server.

Test 6: SUCCESS

akonadictl found and usable
Details: The program ‘/usr/bin/akonadictl’ to control the Akonadi server was found and could be executed successfully.
Result:
Akonadi 5.2.2

Test 7: ERROR

Akonadi control process not registered at D-Bus.
Details: The Akonadi control process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.

Test 8: ERROR

Akonadi server process not registered at D-Bus.
Details: The Akonadi server process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.

Test 9: SKIP

Protocol version check not possible.
Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements.

Test 10: ERROR

No resource agents found.
Details: No resource agents have been found, Akonadi is not usable without at least one. This usually means that no resource agents are installed or that there is a setup problem. The following paths have been searched: ‘/usr/share/akonadi/agents’. The XDG_DATA_DIRS environment variable is set to ‘/usr/share/netrunner-desktop-settings/plasma5-profile:/usr/share/default-settings/plasma5-profile:/usr/share:/usr/local/share’; make sure this includes all paths where Akonadi agents are installed.

Directory listing of ‘/usr/share/akonadi/agents’:
akonadiindexingagent.desktop
akonotesresource.desktop
archivemailagent.desktop
birthdaysresource.desktop
contactsresource.desktop
davgroupwareresource.desktop
followupreminder.desktop
googlecalendarresource.desktop
googlecontactsresource.desktop
icaldirresource.desktop
icalresource.desktop
imapresource.desktop
invitationsagent.desktop
kalarmdirresource.desktop
kalarmresource.desktop
kolabresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mailfilteragent.desktop
mboxresource.desktop
migrationagent.desktop
mixedmaildirresource.desktop
newmailnotifieragent.desktop
notesresource.desktop
openxchangeresource.desktop
pop3resource.desktop
sendlateragent.desktop
vcarddirresource.desktop
vcardresource.desktop

Environment variable XDG_DATA_DIRS is set to ‘/usr/share/netrunner-desktop-settings/plasma5-profile:/usr/share/default-settings/plasma5-profile:/usr/share:/usr/local/share’

Test 11: ERROR

Current Akonadi server error log found.
Details: The Akonadi server reported errors during its current startup. The log can be found in /home/pure/.local/share/akonadi/akonadiserver.error.

File content of ‘/home/pure/.local/share/akonadi/akonadiserver.error’:
Failed to use database “akonadi”
Database error: “Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2 “そのようなファイルやディレクトリはありません”) QMYSQL: Unable to connect”
Failed to connect to database!
Database error: “Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2 “そのようなファイルやディレクトリはありません”) QMYSQL: Unable to connect”
Failed to remove Unix socket
Failed to remove runtime connection config file

Test 12: ERROR

Previous Akonadi server error log found.
Details: The Akonadi server reported errors during its previous startup. The log can be found in /home/pure/.local/share/akonadi/akonadiserver.error.old.

File content of ‘/home/pure/.local/share/akonadi/akonadiserver.error.old’:
Failed to use database “akonadi”
Database error: “Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2 “そのようなファイルやディレクトリはありません”) QMYSQL: Unable to connect”
Failed to connect to database!
Database error: “Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2 “そのようなファイルやディレクトリはありません”) QMYSQL: Unable to connect”
Failed to remove Unix socket
Failed to remove runtime connection config file

Test 13: SUCCESS

No current Akonadi control error log found.
Details: The Akonadi control process did not report any errors during its current startup.

Test 14: SUCCESS

No previous Akonadi control error log found.
Details: The Akonadi control process did not report any errors during its previous startup.[/code]

KMail is by default hidden in the menu. You can edit the menu and make it show there again by adding it.

As for akonadi failing. Goto systemsettings and enable akonadi there in the plasma service setting. Then please logout and back again. It should then work