This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Nepomuk not working causes all of KDE to die

Tags: None
(comma "," separated)
petropolis
Registered Member
Posts
15
Karma
0
OS
Because my nepomuk isn't working, I can't use the KDE environment. It starts up my KDE session and then kills it when nepomuk fails logging me out. Here are the errors from when I use "startkde":

nepomukservicestub: No service name specified
nepomukservicestub: Use --help to get a list of available command line options.
konsole(12893) Konsole::SessionManager::loadProfile: Could not load profile from "/usr/share/kde4/apps/konsole/Shell.profile"
konsole(12893)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory!
konsole(12893)/kdeui (kdelibs): Attempt to use QAction "change-profile" with KXMLGUIFactory!
konsole(12893)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory!
konsole(12893)/kdeui (kdelibs): Attempt to use QAction "change-profile" with KXMLGUIFactory!
kontact(12973)/libakonadi Akonadi::AgentManagerPrivate::createDBusInterface: AgentManager failed to get a valid AgentManager DBus interface. Error is: 1 "org.freedesktop.DBus.Error.NameHasNoOwner" "Could not get owner of name 'org.freedesktop.Akonadi.Control': no such name"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths: ("/people/ssimpson/bin", "/usr/lib/mit/bin", "/usr/lib/mit/sbin", "/bin", "/usr/bin", "/sbin", "/usr/sbin", "/usr/X11R6/bin", "/usr/lib/qt3/bin", "/opt/gnome/bin", "/usr/lib/news/bin", "/opt/tuxbase/usr/bin", "/usr/lib/hk_classes/bin", "/usr/lib/mailman/bin", "/usr/lib/suseRegister/bin", "/usr/lib/TeXmacs/bin", "/usr/lib/xen/bin", "/usr/lib/YaST2/bin", "/usr/share/YaST2/data/devtools/bin", "/usr/lib/NX", "/usr/share/ant/bin", "/usr/lib/pm-utils/bin", "/opt/cxoffice/bin", "/usr/lib/Adobe/Reader8/Reader/intellinux/bin", "/usr/games", "/usr/local/bin", "/usr/local/sbin", "/apps/local/bin", "/apps/local/sbin", "/opt/kde3/bin", "/opt/kde3/sbin", "/usr/lib/texmf/bin/i586-linux", "/usr/share/SpecTcl/bin", "/usr/share/geronimo*/bin", "/usr/share/kde4/apps/kapptemplate/bin", "/usr/share/netbeans/bin", "/usr/share/tomcat6/bin", "/opt/dx/bin", "/apps/local/PasswordSafeSWT-0.6", "/apps/local/aptana", "/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"
*** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable).
kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
[/usr/bin/nepomukservicestub] nepomukservicestub: Fatal IO error: client killed
Hangup
GOT SIGHUP
Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-ERbCF4isZN: Connection refused
startkde: Shutting down...
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Moved to Workspace since it seems more appropriate.

I don't know what causes the error, but here's a wild guess - do you have D-Bus running?


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
What version of opensuse are you using and what KDE-related repos (if any) do you have enabled? Are you sure all of the KDE-related packages are from the same repo?


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
petropolis
Registered Member
Posts
15
Karma
0
OS
DBus is running:

ssimpson@madhatter:~$ ps wwuxa |grep dbus
100 1716 0.0 0.0 26768 2420 ? Ss Mar13 0:25 /bin/dbus-daemon --system
ssimpson 7377 0.0 0.0 15764 568 pts/2 S 10:25 0:00 dbus-launch --autolaunch bb8a098b5d04224d403dcb714aef6f78 --binary-syntax --close-stderr
ssimpson 7378 0.0 0.0 20000 1428 ? Ss 10:25 0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session

My repo list should be OK. I'm using SuSE 11.4:

ssimpson@madhatter:~$ zypper repos
# | Alias | Name | Enabled | Refresh
--+------------------------------------+------------------------------------+---------+--------
1 | ATI/AMD FGLRX | ATI/AMD fglrx non-official | Yes | Yes
2 | Packman_repository_(openSUSE_11.4) | Packman repository (openSUSE_11.4) | Yes | Yes
3 | openSUSE-11.4_Non-OSS | openSUSE-11.4 Non-OSS | Yes | Yes
4 | repo-11.4-oss | openSUSE-11.4 OSS | Yes | Yes
5 | repo-11.4-update | openSUSE-11.4-Update | Yes | Yes
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It is extremely unlikely that Nepomuk failing to start causing KDE to fail to start.

Judging by the error messages printed by applications, X is crashing, which causes the subsequent connection failures to D-Bus.

Code: Select all
kdeinit4: Fatal IO error: client killed


I suggest disabling Desktop Effects, by removing ~/.kde4/share/config/kwinrc


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
petropolis
Registered Member
Posts
15
Karma
0
OS
I moved kwinrc out of the way and it had no effect. It has to be KDE killing the desktop since I can run twm and Gnome without ill effect. It is only running startkde that is causing the problem. Here are the messages after moving kwinrc:

"/usr/bin/akonadi_nepomuk_contact_feeder(27208)" Soprano: "org.freedesktop.DBus.Error.Disconnected - Connection is closed"
akonadi_nepomuk_contact_feeder: Fatal IO error: client killed
xprop: unable to open display ':1108'
QCoreApplication::postEvent: Unexpected null receiver
xprop: unable to open display ':1108'
startkde: Done.
ProcessControl: Application '/usr/bin/akonadi_nepomuk_contact_feeder' returned with exit code 1 (Unknown error)
akonadi_maildir_resource: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_maildir_resource' returned with exit code 1 (Unknown error)
akonadi_maildispatcher_agent: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/nepomukservicestub' stopped unexpected (Process crashed)
Application '/usr/bin/nepomukservicestub nepomukqueryservice' crashed. No restart!
ProcessControl: Application '/usr/bin/nepomukservicestub' stopped unexpected (Process crashed)
Application '/usr/bin/nepomukservicestub digikamnepomukservice' crashed. No restart!
ProcessControl: Application '/usr/bin/nepomukservicestub' stopped unexpected (Process crashed)
Application '/usr/bin/nepomukservicestub nepomukremovablestorageservice' crashed. No restart!
ProcessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned with exit code 1 (Unknown error)
akonadi_ical_resource: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_ical_resource' returned with exit code 1 (Unknown error)
akonadi_vcard_resource: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_vcard_resource' returned with exit code 1 (Unknown error)
akonadi_maildispatcher_agent: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned with exit code 1 (Unknown error)
ProcessControl: Application '/usr/bin/nepomukservicestub' stopped unexpected (Process crashed)
Application '/usr/bin/nepomukservicestub nepomukbackupsync' crashed. No restart!
ProcessControl: Application '/usr/bin/nepomukservicestub' stopped unexpected (Process crashed)
Application '/usr/bin/nepomukservicestub nepomukfilewatch' crashed. No restart!
ProcessControl: Application '/usr/bin/nepomukservicestub' stopped unexpected (Process crashed)
Application '/usr/bin/nepomukservicestub nepomukstorage' crashed. No restart!
akonadi_nepomuk_contact_feeder: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_nepomuk_contact_feeder' returned with exit code 1 (Unknown error)
akonadi_maildir_resource: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_maildir_resource' returned with exit code 1 (Unknown error)
akonadi_vcard_resource: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_vcard_resource' returned with exit code 1 (Unknown error)
akonadi_ical_resource: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_ical_resource' returned with exit code 1 (Unknown error)
akonadi_maildispatcher_agent: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_maildispatcher_agent' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_maildispatcher_agent" crashed too often and will not be restarted!
akonadi_nepomuk_contact_feeder: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_nepomuk_contact_feeder' returned with exit code 1 (Unknown error)
akonadi_maildir_resource: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_maildir_resource' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_maildir_resource" crashed too often and will not be restarted!
akonadi_ical_resource: cannot connect to X server :1108
akonadi_vcard_resource: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_vcard_resource' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_vcard_resource" crashed too often and will not be restarted!
ProcessControl: Application '/usr/bin/akonadi_ical_resource' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_ical_resource" crashed too often and will not be restarted!
akonadi_nepomuk_contact_feeder: cannot connect to X server :1108
ProcessControl: Application '/usr/bin/akonadi_nepomuk_contact_feeder' returned with exit code 1 (Unknown error)
"/usr/bin/akonadi_nepomuk_contact_feeder" crashed too often and will not be restarted!
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.

Received signal:15->'Terminated'
Received signal:15->'Terminated'
D-Bus session bus went down - quitting
D-Bus session bus went down - quitting
terminating service threads
Error during executing query "SELECT CollectionTable.id, CollectionTable.remoteId, CollectionTable.remoteRevision, CollectionTable.name, CollectionTable.parentId, CollectionTable.resourceId, CollectionTable.subscribed, CollectionTable.cachePolicyInherit, CollectionTable.cachePolicyCheckInterval, CollectionTable.cachePolicyCacheTimeout, CollectionTable.cachePolicySyncOnDemand, CollectionTable.cachePolicyLocalParts, CollectionTable.queryString, CollectionTable.queryLanguage FROM CollectionTable WHERE ( CollectionTable.queryLanguage = ( :0 ) )" : "MySQL server has gone away QMYSQL: Unable to execute query"
Nepomuk QueryServer: Unable to execute query!
terminating connection threads
stopping db process
^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/people/ssimpson/.local/share/akonadi/socket-madhatter/mysql.socket' (2)'
Check that mysqld is running and that the socket: '/people/ssimpson/.local/share/akonadi/socket-madhatter/mysql.socket' exists!
Failed to remove Unix socket
Failed to remove runtime connection config file
Application 'akonadiserver' exited normally...
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Code: Select all
xprop: unable to open display ':1108'


This looks suspicious to me: usually a single monitor is identified as :0. What is your make and model of video card, and which driver are you using? Did you do any customization to X.org?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
petropolis
Registered Member
Posts
15
Karma
0
OS
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3300 Graphics
(prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 834d
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at d0000000 (32-bit, prefetchable) [size=256M]
I/O ports at c000 [size=256]
Memory at fe9f0000 (32-bit, non-prefetchable) [size=64K]
Memory at fe800000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: fglrx_pci

Driver is from

ssimpson@madhatter:~$ zypper repos
# | Alias | Name | Enabled | Refresh
--+------------------------------------+------------------------------------+---------+--------
1 | ATI/AMD FGLRX | ATI/AMD fglrx non-official | Yes | Yes

Remember, other window managers work fine on this display so I don't know why just KDE is having problems.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]