Is it possible to run KDE desktop without Akonadi?

Is it possible to run KDE desktop without Akonadi?

I will turn off indexing and compositing. I use another mail client, never used any of the other KDE office apps ever. LibreOffice…hello :slight_smile: But I do like Knotes (just for the yellow sticky notes), KAlarm (just for the daily popups), and Kate. But apps like okular and dolphin should be okay…

It appears you don’t have to use Akonadi if you do not use any of KDE’s office apps. I can replace Knotes and Kalarm, and I don’t see that Kate uses it. Darn, the digital clock uses it.
https://userbase.kde.org/Akonadi#Disabling_the_Akonadi_subsystem

Anyone customize KDE in this fashion? When I install 13.2, should I uncheck anything from the packages to prevent it from being installed in the first place?

Yes.
Actually Akonadi is only started if some application wants to use it.
So it shouldn’t be running by default anyway.

Check that you do not have “Show events” enabled in the panel’s digital clock’s settings, as this does require Akonadi (it shows all events stored in your Akonadi calendars).

I will turn off indexing and compositing.

That’s totally unrelated to Akonadi.

I use another mail client, never used any of the other KDE office apps ever. LibreOffice…hello :slight_smile:

KDE’s “office” apps (calligra-*) should not use Akonadi though.
Akonadi is KDE’s PIM storage framework.

But I do like Knotes (just for the yellow sticky notes), KAlarm (just for the daily popups), and Kate.

Well, Knotes and KAlarm do require Akonadi.

Kate doesn’t though.

It appears you don’t have to use Akonadi if you do not use any of KDE’s office apps. I can replace Knotes and Kalarm, and I don’t see that Kate uses it. Darn, the digital clock uses it.
Akonadi - KDE UserBase Wiki

See above. The digital clock’s option to use it is disabled by default on openSUSE though.

Anyone customize KDE in this fashion?

I haven’t, as I use nearly all of the KDEPIM apps: KMail, KOrganizer, KAddressbook, Knotes, and the digital clock’s “Show events”.

But again, Akonadi should not be started automatically on a default openSUSE installation.

When I install 13.2, should I uncheck anything from the packages to prevent it from being installed in the first place?

If you want to get rid of akonadi, you can uninstall akonadi-runtime, or deselect it during installation. This will of course remove/prevent from installing all other packages that require it.
You probably should even lock/taboo it, otherwise it might get reinstalled with updates.

“Akonadi” is not running here.

I didn’t do anything to turn it off. It just doesn’t run.

As far as I know, it is started by some processes, such as “kmail”, and I am not using any of those processes. (Using “claws-mail” for email when I need a GUI client).

It isn’t using it here. But then I am not using the calendar, and I did not check the “Display Event” box for calendar settings.

Enabling that option would start Akonadi on login.
But it is disabled by default on openSUSE.

Great! I will:

  • Uncheck show events in the digital clock
  • Mark akonadi-runtime taboo
  • I’ll probably stick with LibreOffice, although it is good to know calligra* does not use it.

When I run MATE I taboo’ed KDE runtime, so I would not inadvertently install a KDE app and prerequisites. I thought KDE office was KOffice… hhmmm, I read more about the fork, “KDE’s Calligra KOffice fork](http://phoronix.com/forums/showthread.php?70319-KDE-s-Calligra-KOffice-Fork-Sees-Its-First-Release/page2)”. It seems like KDE is going away from naming apps Kwhatever (??). It was always easy to find apps. That is one thing I notice with MATE, I’m always asking myself… now what did they call it again :slight_smile:

Without kdebase4-runtime (if that’s what you mean), you won’t be able to install/run any KDE4 application I suppose…

It seems like KDE is going away from naming apps Kwhatever (??).

Yes, this is a trend that started years ago already (in KDE that is).

But regarding KOffice, it has been forked by most of the old developers. They had to rename it because KOffice already existed of course (you cannot fork something and call it the same, think of OpenOffice and LibreOffice). And some (only one I think) developers insisted on continuing KOffice “their way” (that’s why the others had to fork it in the first place), although it seems to have stalled completely meanwhile of course.
Your link does mention some of the struggles back then on a quick glance…

Sorry, I should have made it clear that these were machines with only the MATE desktop. KDE needed to be totally out of the picture.

But now, with KDE, without KDE PIMS, I taboo’ed akonadi-runtime.

Just testing, I tried to be more aggressive and taboo’ed kdepimlibs4, libakonadi4, libdepimlibs4, libakonadiprotocolinternals, but Kate and Calligra (going to compare it to LibreOffice) complained about dependencies, so I left them alone. When I search for “kate” in YaST software management and looked at the dependencies I do not see these, but I suppose something else in that list requires them. It seems the general rule is, taboo apps and runtimes but not libraries.

This should definitely prevent akonadi from starting, as akonadiserver is contained in that package. :wink:

It seems the general rule is, taboo apps and runtimes but not libraries.

Yes.

And the same is true for other things, not only akonadi.
You cannot get rid of libpulse or libibus either, e.g.
But that’s the reason why the packages are split up as they are… :wink:

On the other hand, was hoping to run the calendar and PIM apps from KDE on my Toshiba notebook (Intel i5 Core), but they won’t run because of a problem with Akonadi:

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/konsultor/.config/akonadi/akonadiserverrc':
%General]
Driver=QMYSQL

[QMYSQL]
Name=akonadi
Host=
Options="UNIX_SOCKET=/home/konsultor/.local/share/akonadi/socket-Linshiba/mysql.socket"
ServerPath=/usr/sbin/mysqld
StartServer=false

[Debug]
Tracer=null


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 1.13.0


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:/usr/share'; make sure this includes all paths where Akonadi agents are installed.

Directory listing of '/usr/share/akonadi/agents':
akonadibalooindexingagent.desktop
akonadinepomukfeederagent.desktop
akonotesresource.desktop
archivemailagent.desktop
birthdaysresource.desktop
contactsresource.desktop
davgroupwareresource.desktop
facebookresource.desktop
folderarchiveagent.desktop
followupreminder.desktop
googlecalendarresource.desktop
googlecontactsresource.desktop
icaldirresource.desktop
icalresource.desktop
imapresource.desktop
invitationsagent.desktop
kabcresource.desktop
kalarmdirresource.desktop
kalarmresource.desktop
kcalresource.desktop
kdeaccountsresource.desktop
kolabproxyresource.desktop
kolabresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mailfilteragent.desktop
mboxresource.desktop
migrationagent.desktop
mixedmaildirresource.desktop
mtdummyresource.desktop
newmailnotifieragent.desktop
nntpresource.desktop
notesagent.desktop
notesresource.desktop
openxchangeresource.desktop
pop3resource.desktop
sendlateragent.desktop
vcarddirresource.desktop
vcardresource.desktop

Environment variable XDG_DATA_DIRS is set to '/usr/share:/usr/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 <a href='/home/konsultor/.local/share/akonadi/akonadiserver.error'>/home/konsultor/.local/share/akonadi/akonadiserver.error</a>.

File content of '/home/konsultor/.local/share/akonadi/akonadiserver.error':
Database error: Cannot open database. 
  Last driver error: "QMYSQL: Unable to connect" 
  Last database error: "Can't connect to local MySQL server through socket '/home/konsultor/.local/share/akonadi/socket-Linshiba/mysql.socket' (2 "No such file or directory")" 
Unable to open database "Can't connect to local MySQL server through socket '/home/konsultor/.local/share/akonadi/socket-Linshiba/mysql.socket' (2 "No such file or directory") QMYSQL: Unable to connect" 
"
0: akonadiserver(_Z11akBacktracev+0x37) [0x46d747]
1: akonadiserver() [0x46d9a2]
2: /lib64/libc.so.6(+0x35200) [0x7fc75ee91200]
3: /lib64/libc.so.6(gsignal+0x37) [0x7fc75ee91187]
4: /lib64/libc.so.6(abort+0x118) [0x7fc75ee92538]
5: /usr/lib64/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x64) [0x7fc7606912b4]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0x9d) [0x46fb5d]
7: /usr/lib64/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb0) [0x7fc76072b5b0]
8: /usr/lib64/libQtCore.so.4(+0x120bdd) [0x7fc76073abdd]
9: /usr/lib64/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x31) [0x7fc7607437c1]
10: akonadiserver(_ZN7Akonadi6Server13AkonadiServer4initEv+0x527) [0x473377]
11: akonadiserver() [0x549836]
12: /usr/lib64/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x24e) [0x7fc7607b559e]
13: /usr/lib64/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x6d) [0x7fc76079d2ad]
14: /usr/lib64/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1ed) [0x7fc7607a057d]
15: /usr/lib64/libQtCore.so.4(+0x1b08fe) [0x7fc7607ca8fe]
16: /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x254) [0x7fc75e562a04]
17: /usr/lib64/libglib-2.0.so.0(+0x4bc48) [0x7fc75e562c48]
18: /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fc75e562cec]
19: /usr/lib64/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x7e) [0x7fc7607ca0be]
20: /usr/lib64/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f) [0x7fc76079be6f]
21: /usr/lib64/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x175) [0x7fc76079c165]
22: /usr/lib64/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x89) [0x7fc7607a15b9]
23: akonadiserver(main+0x1ce) [0x4670ae]
24: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fc75ee7db05]
25: akonadiserver() [0x46789e]
]
" 


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 <a href='/home/konsultor/.local/share/akonadi/akonadiserver.error.old'>/home/konsultor/.local/share/akonadi/akonadiserver.error.old</a>.

File content of '/home/konsultor/.local/share/akonadi/akonadiserver.error.old':
Database error: Cannot open database. 
  Last driver error: "QMYSQL: Unable to connect" 
  Last database error: "Can't connect to local MySQL server through socket '/home/konsultor/.local/share/akonadi/socket-Linshiba/mysql.socket' (2 "No such file or directory")" 
Unable to open database "Can't connect to local MySQL server through socket '/home/konsultor/.local/share/akonadi/socket-Linshiba/mysql.socket' (2 "No such file or directory") QMYSQL: Unable to connect" 
"
0: akonadiserver(_Z11akBacktracev+0x37) [0x46d747]
1: akonadiserver() [0x46d9a2]
2: /lib64/libc.so.6(+0x35200) [0x7f8f6383d200]
3: /lib64/libc.so.6(gsignal+0x37) [0x7f8f6383d187]
4: /lib64/libc.so.6(abort+0x118) [0x7f8f6383e538]
5: /usr/lib64/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x64) [0x7f8f6503d2b4]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0x9d) [0x46fb5d]
7: /usr/lib64/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb0) [0x7f8f650d75b0]
8: /usr/lib64/libQtCore.so.4(+0x120bdd) [0x7f8f650e6bdd]
9: /usr/lib64/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x31) [0x7f8f650ef7c1]
10: akonadiserver(_ZN7Akonadi6Server13AkonadiServer4initEv+0x527) [0x473377]
11: akonadiserver() [0x549836]
12: /usr/lib64/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x24e) [0x7f8f6516159e]
13: /usr/lib64/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x6d) [0x7f8f651492ad]
14: /usr/lib64/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1ed) [0x7f8f6514c57d]
15: /usr/lib64/libQtCore.so.4(+0x1b08fe) [0x7f8f651768fe]
16: /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x254) [0x7f8f62f0ea04]
17: /usr/lib64/libglib-2.0.so.0(+0x4bc48) [0x7f8f62f0ec48]
18: /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f8f62f0ecec]
19: /usr/lib64/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x7e) [0x7f8f651760be]
20: /usr/lib64/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f) [0x7f8f65147e6f]
21: /usr/lib64/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x175) [0x7f8f65148165]
22: /usr/lib64/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x89) [0x7f8f6514d5b9]
23: akonadiserver(main+0x1ce) [0x4670ae]
24: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f8f63829b05]
25: akonadiserver() [0x46789e]
]
" 


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.

The same disk loaded on the Toshiba NB was used to install 13.2 on an AMD desktop. There akonadi starts on boot and the calendar app runs.
On the notebook, Yast2 Services Manager shows mysql is Enabled/Active; akonodi does not appear on the list.
Suggestions?

Akonadi is not a system-wide service started via systemd, that’s why it doesn’t appear in the list.
It is started automatically when an application needs it, or you can do so manually via “akonadictl start” (“akonadictl stop” will stop it, “akonadictl status” will show whether it is running).

Regarding mysql, what does “systemctl status mysql” say?
According to the Akonadi log, it is not running, at least Akonadi cannot connect.

Try to use Akonadi’s internal mysql server instead, does it work then?
Maybe Akonadi tries to connect to a different server? Check that you specified “localhost” as host.
Maybe the socket path is set wrong in the “Options” field. Clear that.

Try to remove both ~/.config/akonadi/ and ~/.local/share/akonadi/ to wipe out the akonadi configuration completely

konsultor@Linshiba:~> akonadictl status
Akonadi Control: stopped
Akonadi Server: stopped
search paths:  ("/home/konsultor/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/", "/usr/lib64/qt4/plugins", "/usr/lib64/kde4/plugins", "/usr/bin", "/home/konsultor/.kde4/lib64/kde4/", "/usr/lib64/kde4/") 
Akonadi Server Search Support: available (Remote Search, Akonadi Baloo Search Plugin)
Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_baloo_indexer, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_facebook_resource, akonadi_folderarchive_agent, akonadi_followupreminder_agent, akonadi_googlecalendar_resource, akonadi_googlecontacts_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_invitations_agent, akonadi_kabc_resource, akonadi_kalarm_dir_resource, akonadi_kalarm_resource, akonadi_kcal_resource, akonadi_kdeaccounts_resource, akonadi_kolab_resource, akonadi_kolabproxy_resource, akonadi_localbookmarks_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mailtransport_dummy_resource, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_nepomuk_feeder, akonadi_newmailnotifier_agent, akonadi_nntp_resource, akonadi_notes_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_vcard_resource, akonadi_vcarddir_resource
konsultor@Linshiba:~> 

Regarding mysql, what does “systemctl status mysql” say?[/QUOTE]

konsultor@Linshiba:~> systemctl status mysql
mysql.service - MySQL server
   Loaded: loaded (/usr/lib/systemd/system/mysql.service; enabled)
   Active: active (running) since Sat 2014-12-27 21:29:47 EST; 1 day 12h ago
 Main PID: 1135 (mysqld_safe)
   CGroup: /system.slice/mysql.service
           ├─1135 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --user=mysql --pid-file...
           └─1239 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-di...

konsultor@Linshiba:~> 

According to the Akonadi log, it is not running, at least Akonadi cannot connect.

konsultor@Linshiba:~> akonadictl start
Starting Akonadi Server... 
   done. 
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
konsultor@Linshiba:~> search paths:  ("/home/konsultor/bin", "/usr/local/bin", "/usr/bin", "/bin", "/usr/bin/X11", "/usr/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") 
Found mysql_install_db:  "/usr/bin/mysql_install_db" 
Found mysqlcheck:  "/usr/bin/mysqlcheck" 
Failed to use database "akonadi" 
Database error: "Can't connect to local MySQL server through socket '/home/konsultor/.local/share/akonadi/socket-Linshiba/mysql.socket' (2 "No such file or directory") QMYSQL: Unable to connect" 
Trying to create database now... 
QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in use, all queries will cease to work.
Database error: Cannot open database.
Last driver error: "QMYSQL: Unable to connect"
Last database error: "Can't connect to local MySQL server through socket '/home/konsultor/.local/share/akonadi/socket-Linshiba/mysql.socket' (2 "No such file or directory")"
QSqlQuery::exec: database not open
Unable to open database "Can't connect to local MySQL server through socket '/home/konsultor/.local/share/akonadi/socket-Linshiba/mysql.socket' (2 "No such file or directory") QMYSQL: Unable to connect"
"
0: akonadiserver(_Z11akBacktracev+0x37) [0x46d747]
1: akonadiserver() [0x46d9a2]
2: /lib64/libc.so.6(+0x35200) [0x7f9b6fc69200]
3: /lib64/libc.so.6(gsignal+0x37) [0x7f9b6fc69187]
4: /lib64/libc.so.6(abort+0x118) [0x7f9b6fc6a538]
5: /usr/lib64/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x64) [0x7f9b714692b4]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0x9d) [0x46fb5d]
7: /usr/lib64/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb0) [0x7f9b715035b0]
8: /usr/lib64/libQtCore.so.4(+0x120bdd) [0x7f9b71512bdd]
9: /usr/lib64/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x31) [0x7f9b7151b7c1]
10: akonadiserver(_ZN7Akonadi6Server13AkonadiServer4initEv+0x527) [0x473377]
11: akonadiserver() [0x549836]
12: /usr/lib64/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x24e) [0x7f9b7158d59e]
13: /usr/lib64/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x6d) [0x7f9b715752ad]
14: /usr/lib64/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1ed) [0x7f9b7157857d]
15: /usr/lib64/libQtCore.so.4(+0x1b08fe) [0x7f9b715a28fe]
16: /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x254) [0x7f9b6f33aa04]
17: /usr/lib64/libglib-2.0.so.0(+0x4bc48) [0x7f9b6f33ac48]
18: /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f9b6f33acec]
19: /usr/lib64/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x7e) [0x7f9b715a20be]
20: /usr/lib64/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f) [0x7f9b71573e6f]
21: /usr/lib64/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x175) [0x7f9b71574165]
22: /usr/lib64/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x89) [0x7f9b715795b9]
23: akonadiserver(main+0x1ce) [0x4670ae]
24: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f9b6fc55b05]
25: akonadiserver() [0x46789e]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/home/konsultor/bin", "/usr/local/bin", "/usr/bin", "/bin", "/usr/bin/X11", "/usr/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") 
Found mysql_install_db:  "/usr/bin/mysql_install_db" 
Found mysqlcheck:  "/usr/bin/mysqlcheck" 
Failed to use database "akonadi" 
Database error: "Can't connect to local MySQL server through socket '/home/konsultor/.local/share/akonadi/socket-Linshiba/mysql.socket' (2 "No such file or directory") QMYSQL: Unable to connect" 

**REMOVED 7 REPEATS TO AVOID EXCEEDING 15000 CHARACTER LENGTH LIMIT.**


konsultor@Linshiba:~> akonadictl start
Starting Akonadi Server... 
   done. 
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
konsultor@Linshiba:~> search paths:  ("/home/konsultor/bin", "/usr/local/bin", "/usr/bin", "/bin", "/usr/bin/X11", "/usr/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") 
Found mysql_install_db:  "/usr/bin/mysql_install_db" 
Found mysqlcheck:  "/usr/bin/mysqlcheck" 
Installing MariaDB/MySQL system tables in '/home/konsultor/.local/share/akonadi/db_data/' ...
OK
Filling help tables...
OK
** REMOVED 13 PAGES **

AkonadiAgentServer(18944)/libakonadi Akonadi::CollectionSync::Private::findUnprocessedLocalCollections: Collection ID: 13    remote ID: "" 
   name: "templates" 
   url: KUrl("akonadi://?collection=13") 
   parent: 7 "/home/konsultor/.local/share/local-mail" 
   resource: "akonadi_maildir_resource_0" 
   rights: QFlags(0x1|0x2|0x4|0x8|0x10|0x20) 
   contents mime type: ("message/rfc822", "inode/directory") 
   isVirtual: false 
    CachePolicy:  
   inherit: true 
   interval: -1 
   timeout: 1 
   sync on demand: true 
   local parts: ("ENVELOPE") 
    CollectionStatistics: 
   count: -1 
   unread count: -1 
   size: -1 
search paths:  ("/home/konsultor/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/", "/usr/lib64/qt4/plugins", "/usr/lib64/kde4/plugins", "/usr/bin", "/home/konsultor/.kde4/lib64/kde4/", "/usr/lib64/kde4/") 
QDBusObjectPath Akonadi::Server::NotificationManager::subscribeV2(const QString&, bool) Akonadi::Server::NotificationManager(0x1b08320) "AkonadiAgentServer_18959_SErmVO" true 
QDBusObjectPath Akonadi::Server::NotificationManager::subscribeV3(const QString&, bool, bool) Akonadi::Server::NotificationManager(0x1b08320) "AkonadiAgentServer_18959_SErmVO" true false 
Database "akonadi" opened using driver "QMYSQL" 
Agent instance created in separate process. 
AkonadiAgentServer(18959) Akonadi::SingleFileResource<Settings>::readFile: "No file selected." 
void AgentManager::removeAgentInstance(const QString&) Agent instance with identifier "" does not exist
 list is empty 

The status check shows akonadi is now running.

Good.
But you are using the internal mysql server now. Is that on purpose, i.e. have you changed/removed the akonadi config now?
Or did you have it configured to use the internal server before?

In this case, you do not need to have mysql running, the system-wide server is not used at all. Akonadi starts its own private instance when it starts.
If you want to use the system-wide server (to avoid having it running twice e.g.), you have to configure that in Akonadi’s settings.

kcmshell4 akonadi_server

No, I didn’t touch the config controls, but I did delete the files, as suggested earlier by another poster.

If you want to use the system-wide server (to avoid having it running twice e.g.), you have to configure that in Akonadi’s settings.

kcmshell4 akonadi_server

Is the above CODE a command line entry or an item in the config file? Don’t want to try something whose effects I don’t know :slight_smile:

It was in fact me who suggested to delete the config files… :wink:

When you do that, the config reverts to the defaults (that’s the whole point of doing it), which means that Akonadi starts its own internal MySQL/MariaDB instance and does not use the system’s mysql.service.

Is the above CODE a command line entry or an item in the config file? Don’t want to try something whose effects I don’t know :slight_smile:

The above is a shell command to start Akonadi’s cofiguration module.
If you want to use the system’s mysql.service you have to set it up there.