Bug 296721 - KMail fails to start stating Akonadi PIM service is not running
Summary: KMail fails to start stating Akonadi PIM service is not running
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-25 05:08 UTC by jmaldrich
Modified: 2022-11-21 05:15 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 jmaldrich 2012-03-25 05:08:53 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11
Build Identifier: 

Starting KMail from scratch results in an error stating that the Akonadi PIM service is not running, every time. Closing the error message and closing KMail, then manually starting Akonadictl from a console window causes Kmail to work perfectly. 

KMail 4.8.1 on KDE 4.8.1/Fedora 16

Reproducible: Always

Steps to Reproduce:
1.Close Kmail, ensure all Kmail and Akonadi related apps are shut down
2.Try to start Kmail
3.Acknowledge the error and KMail shuts down

Actual Results:  
Kmail will not run and you will ALWAYS get that error message

Expected Results:  
Kmail should start up normally

If you go to a console window and type "akonadictl start" and wait until it's done loading everything, THEN start Kmail it works perfectly and you can even close the console window as Akonadi will run as a background task and does not need to display to stdout.
Comment 1 Raimund 2016-04-27 20:26:56 UTC
same Problem on KDE neon with latest update on April 27, 2016

same experience as described above. 
when trying to start kmail in a terminal i get the following

root@raimund-Studio-XPS-1645:/home/raimund# kmail
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
"KMail Kernel ETM"
executing akonadi_control
Unable to execute akonadi_control, falling back to D-Bus auto-launch
Akonadi server could not be started via D-Bus either:  "The name org.freedesktop.Akonadi.Control was not provided by any .service files"
""
Akonadi Client Session: connection config file 'akonadi/akonadiconnectionrc' can not be found in "/root/.config" nor in any of ("/etc/xdg")
connectToServer "/root/.local/share/akonadi/akonadiserver.socket"
executing akonadi_control
Unable to execute akonadi_control, falling back to D-Bus auto-launch
Akonadi server could not be started via D-Bus either:  "The name org.freedesktop.Akonadi.Control was not provided by any .service files"
Akonadi Client Session: connection config file 'akonadi/akonadiconnectionrc' can not be found in "/root/.config" nor in any of ("/etc/xdg")
connectToServer "/root/.local/share/akonadi/akonadiserver.socket"
log_kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default.
Socket error occurred: "QLocalSocket::connectToServer: Ungültiger Name"
Socket error occurred: "QLocalSocket::connectToServer: Ungültiger Name"
org.kde.akonadi.ETM: GEN true false false
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: 
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
"Tag 'a' is not defined in message {<__kuit_internal_top__>KMail has many powerful features that are described in th...}."
"Tag 'br' is not defined in message {<__kuit_internal_top__>Thank you,<br/>The KMail Team</__kuit_internal_top__>}."
klauncher not running... launching kdeinit
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kdeinit5: Shutting down running client.
kdeinit5: Got termination request (PID 30222).
klauncher: Exiting on signal 15
kdeinit5: preparing to launch 'libkdeinit5_klauncher'
kdeinit5: Launched KLauncher, pid = 30304, result = 0
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kdeinit5: opened connection to :0
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
this does not work on a KActionCollection containing actions!
^C

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I tried to resolve dependencies with the following command but did not succeed.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

root@raimund-Studio-XPS-1645:/home/raimund# 
root@raimund-Studio-XPS-1645:/home/raimund# akonadictl
The program 'akonadictl' is currently not installed. You can install it by typing:
apt install akonadi-server
root@raimund-Studio-XPS-1645:/home/raimund# apt install akonadi-server
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) akonadi-backend-mysql [ amd64 ] < none -> 4:15.12.3-0ubuntu6 > ( universe/misc )
Broken akonadi-backend-mysql:amd64 Hängt ab von on libqt5sql5-mysql [ amd64 ] < none -> 5.5.1+dfsg-17+16.04+build1 > ( libs )
  Considering libqt5sql5-mysql:amd64 2 as a solution to akonadi-backend-mysql:amd64 -1
  Holding Back akonadi-backend-mysql:amd64 rather than change libqt5sql5-mysql:amd64
Investigating (1) akonadi-server [ amd64 ] < none -> 4:15.12.3-0ubuntu6 > ( universe/net )
Broken akonadi-server:amd64 Hängt ab von on akonadi-backend-mysql [ amd64 ] < none -> 4:15.12.3-0ubuntu6 > ( universe/misc ) (= 4:15.12.3-0ubuntu6)
  Considering akonadi-backend-mysql:amd64 -1 as a solution to akonadi-server:amd64 9999
    Reinst Failed early because of libmysqlclient18:amd64
    Reinst Failed because of libqt5sql5-mysql:amd64
Done
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 akonadi-server : Hängt ab von: akonadi-backend-mysql (= 4:15.12.3-0ubuntu6) soll aber nicht installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
root@raimund-Studio-XPS-1645:/home/raimund# kdeinit5: PID 30307 terminated.
^C
root@raimund-Studio-XPS-1645:/home/raimund# apt install akonadi-backend-mysql
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) akonadi-backend-mysql [ amd64 ] < none -> 4:15.12.3-0ubuntu6 > ( universe/misc )
Broken akonadi-backend-mysql:amd64 Hängt ab von on libqt5sql5-mysql [ amd64 ] < none -> 5.5.1+dfsg-17+16.04+build1 > ( libs )
  Considering libqt5sql5-mysql:amd64 2 as a solution to akonadi-backend-mysql:amd64 9999
    Reinst Failed early because of libmysqlclient18:amd64
  Considering libqt5sql5-mysql:amd64 2 as a solution to akonadi-backend-mysql:amd64 9999
Done
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 akonadi-backend-mysql : Hängt ab von: libqt5sql5-mysql soll aber nicht installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
root@raimund-Studio-XPS-1645:/home/raimund# apt install libqt5sql5-mysql
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libqt5sql5-mysql [ amd64 ] < none -> 5.5.1+dfsg-17+16.04+build1 > ( libs )
Broken libqt5sql5-mysql:amd64 Hängt ab von on libmysqlclient18 [ amd64 ] < none > ( none )
Done
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 libqt5sql5-mysql : Hängt ab von: libmysqlclient18 ist aber nicht installierbar
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
Comment 2 Justin Zobel 2022-10-20 23:54:32 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 3 Raimund 2022-10-22 09:33:32 UTC
   Bug was reported six years ago.
   Current OS does not allow to confirm.

   Am 21.10.22, 01:54 schrieb Justin Zobel <bugzilla_noreply@kde.org>:

     https://bugs.kde.org/show_bug.cgi?id=296721

     Justin Zobel <justin.zobel@gmail.com> changed:

     What |Removed |Added
     ----------------------------------------------------------------------------
     Status|REPORTED |NEEDSINFO
     Resolution|--- |WAITINGFORINFO

     --- Comment #2 from Justin Zobel <justin.zobel@gmail.com> ---
     Thank you for reporting this bug in KDE software. As it has been a
     while since
     this issue was reported, can we please ask you to see if you can
     reproduce the
     issue with a recent software version?

     If you can reproduce the issue, please change the status to
     "CONFIRMED" when
     replying. Thank you!

     --
     You are receiving this mail because:
     You are on the CC list for the bug.
Comment 4 Bug Janitor Service 2022-11-06 05:07:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-11-21 05:15:01 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!