Bug 222218

Summary: annoying warning dialog "nepomuk not running" every time
Product: [Applications] kmail Reporter: H.H. <cyberbeat>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: lionel.tricon, psychonaut, s.hs
Priority: NOR    
Version: 1.13.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description H.H. 2010-01-11 14:42:37 UTC
Version:           1.13.0 (using 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1)) "release 210", KDE:KDE4:Factory:Desktop / openSUSE_11.2)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.31.5-0.1-desktop

Everytime I start kmail I get a warning message, that nepomuk is not running. There is no option to disable it in the future.

When I can put nepomuk off in systemsettings, I may think, that it's ok to turn it off..
Comment 1 Lionel Tricon 2010-02-11 20:21:43 UTC
I have exactly the same problem within KDE 4.4

$ akonadictl status
Akonadi Control: running
Akonadi Server: running
Akonadi Server Search Support: not available

[akonadiserver] Database "akonadi" opened using driver "QMYSQL"
[akonadiserver] Could not contact query service.
[akonadiserver] QStringList Akonadi::NepomukSearch::search(const QString&) Calling blockingQuery() failed!

------
Nepomuk Indexing Agents Have Been Disabled
The Nepomuk service is not available or fully operational and attempts to rectify this have failed. Therefore indexing of all data stored in the Akonadi PIM service has been disabled, which will severely limit the capabilities of any application using this data.

The following problems were detected:
Nepomuk is not running.
------

Even if i restart it by using "akonadictl restart"
Comment 2 Lionel Tricon 2010-02-11 20:25:57 UTC
additional informations : i am running OpenSuse 11.2

$ ll /home/lionel/.kde4/share/apps/nepomuk/repository/main/data/*
/home/lionel/.kde4/share/apps/nepomuk/repository/main/data/redland:
total 0

/home/lionel/.kde4/share/apps/nepomuk/repository/main/data/virtuosobackend:
total 664572
-rw-r--r-- 1 lionel users 677601280 févr. 10 20:38 soprano-virtuoso.db
-rw-r--r-- 1 lionel users      1012 févr. 11 19:57 soprano-virtuoso.log
-rw-r--r-- 1 lionel users         0 janv. 22 22:21 soprano-virtuoso.pxa
-rw-r--r-- 1 lionel users   2908160 févr. 10 18:23 soprano-virtuoso-temp.db
-rw-r--r-- 1 lionel users      1290 févr. 10 20:40 soprano-virtuoso.trx
Comment 3 Lionel Tricon 2010-02-11 22:39:34 UTC
The following (borrowed from http://socceroosd.blogspot.com/2010/02/kubuntu-karmic-kde-44-and-nepomuk.html) has resolved the issue (rebuild the index). 

#> akonadictl stop
#> qdbus org.kde.NepomukServer /nepomukserver quit
#> kbuildsycoca4 --noincremental
#> rm ~/.kde/share/apps/nepomuk/repository/main/data/virtuosobackend/*
#> nepomukservicestub nepomukstorage &
#> akonadictl start
Comment 4 Tristan Miller 2010-02-17 12:14:55 UTC
Sometimes I get twelve(!) of these "Nepomuk not running" dialogs popping up in quick succession.  This is a major annoyance.
Comment 5 Basti 2010-02-18 13:09:12 UTC
The workaround from Lionel works for me. Thanks.
Comment 6 Thomas McGuire 2010-02-22 22:35:44 UTC

*** This bug has been marked as a duplicate of bug 217111 ***