Announcement

Collapse
No announcement yet.

Prevent Akonadi running at startup

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Prevent Akonadi running at startup

    Hi

    Just got the KDE upgrade last night and now upon bootup I get akonadi server loading. It then searches for 10-15 seconds then returns dialog box reporting a number of errors.

    I understand that Akonadi is to do with KDE Pim applications. As I don't use any I can't see how I'll need it. Seeking to remove it requires the removal of kubuntu-desktop (I know what that means ) so I will be content if I can simply turn it off. Trouble is, I don't know how.

    Can anyone help with this, please?

    Thanks

    Ian

    #2
    Re: Prevent Akonadi running at startup

    Have you tried in the advanced tab in system settings? There is a place where you can disable KDE services (KDED, etc). Not at my desktop now, I could check later ...

    Comment


      #3
      Re: Prevent Akonadi running at startup

      Yes I've tried - the Akonadi configuration option within system settings doesn't have any "don't run" option. Within Kresources there doesn't seem to be anything referring to Akonadi, so I'm stumped.

      As I say, I don't run any applications obviously within KDE Pim (although I wonder whether Knotes fits that category) and I've read that you can't disable it if you have any programs installed that depend on it.

      Comment


        #4
        Re: Prevent Akonadi running at startup

        I am home now, I can't seem to see akonadi running at all:

        Code:
        ps xau |grep -i ako
        has no output. I also see no relevant option in System Settings. However, I see very little installed in my system:

        Code:
        lmilano@grisell:~$ dpkg --get-selections |grep -v deinstall |grep -i ako
        libakonadiprivate1               install
        This seems to be the only required package by kubuntu-desktop, maybe you can leave this one only and re-try? Hope this helps!

        Comment


          #5
          Re: Prevent Akonadi running at startup

          I allso onley show the libakonadiprivate1 part instaled.....

          Code:
          libraries for the Akonadi PIM storage service
          
          Akonadi is an extensible cross-desktop Personal Information Management (PIM)
          storage service. It provides a common framework for applications to store and
          access mail, calendars, addressbooks, and other PIM data.
          
          This package contains private libraries used by the Akonadi PIM storage
          service.
          however thar are other packeges showing with it (in synaptic) and ones the server...........I beleave you sead it's server was trying to load in the OP mabey remove it if instaled?

          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            Re: Prevent Akonadi running at startup

            Hi

            Thanks for the input. I've got the server installed and the libakonadiprivate1 file installed.

            Selecting uninstall for either of them in synaptic indicates proposed removal of kubuntu-desktop I'm afraid.

            Going into Akonadi Configuration within system settings shows it to be inactive. That, and the dialog box I get at startup tells me:

            It runs at startup
            It finds a mysql server (is this really necessary - BTW trying to remove that also requires removal of kubuntu desktop!)
            It closes with errors (crashes?) and remains inactive thereafter.

            Overall my bootup routine is:

            From grub to splash screen - 20 seconds
            Watching splash screen - 40 seconds
            Waiting for Akonadi to finish - 20 seconds

            So from my perspective the 20 seconds or so taken up by Akonadi is a bit irritating to say the least
            Given that I'm threatened with dire consequences if I remove it I'd be very grateful if someone could tell me how to disable it.

            Oh yes, this problem has only manifested itself after the upgrade to 4.3 RC2

            Comment


              #7
              Re: Prevent Akonadi running at startup

              Ah, 4.3, that explains the difference, I am on 4.2. You know nothing will happen if you uninstall kubuntu-desktop (it will _not_ start a massive uninstall of the many packages comprising the metapackage. I had to uninstall it myself to install wicd, and here I am

              Comment


                #8
                Re: Prevent Akonadi running at startup

                Ah, I thought uninstalling the kubuntu-desktop would have big issues.

                Will give it a go tonight. Much obliged!

                Comment


                  #9
                  Re: Prevent Akonadi running at startup

                  Ouch! it didn't remove all the kde packages, but removal of the desktop left me only a Black screen with an X for the cursor.

                  Recovery mode to the rescue and in case anyone else is suffering the same thing, here is the answer.

                  KDE-centric apps like Kontact are moving towards linking with Akonadi, although they don't appear to be there yet. On startup an application called kres-migrator launches akonadi to probe the various databases. On not finding what it wants, Akonadi reports the failure and kres-migrator does a re-run on next boot. The answer is to turn off kres-migrator.

                  http://techbase.kde.org/Projects/PIM...adi_startup.3F

                  Says we can turn off the automatic migration by simply pasting the following into a terminal
                  Code:
                  kwriteconfig --file kres-migratorrc --group Migration --key Enabled --type bool false
                  It works!

                  Comment


                    #10
                    Re: Prevent Akonadi running at startup

                    Originally posted by The Liquidator
                    Ouch! it didn't remove all the kde packages, but removal of the desktop left me only a Black screen with an X for the cursor.
                    Arrgg. But I think it was removal of _akonadi_, not the kubuntu-desktop package. This is consistent with my experience (I removed for different reasons in a desktop and a netbook and nothing bad happened) and your description.


                    . The answer is to turn off kres-migrator.

                    http://techbase.kde.org/Projects/PIM...adi_startup.3F

                    Says we can turn off the automatic migration by simply pasting the following into a terminal
                    Code:
                    kwriteconfig --file kres-migratorrc --group Migration --key Enabled --type bool false
                    It works!
                    Awesome, that's the answer, there should be an on-off in System Settings, Advanced, KDE Services!

                    Comment


                      #11
                      Re: Prevent Akonadi running at startup

                      My reading of the link is that you can configure the resources in system settings, although before you can disable it it needs to migrate successfully. In my case the system seems to simply retry it on each boot, presumably in the hope it will some day succeed

                      It's gone now (probably until the next kde update ) but at least I know how to get rid of it now.

                      Thanks for the input.

                      Comment

                      Working...
                      X