Bug 226982

Summary: KMail (and kaddressbook) exit immediately when invoked for the first time after a failed akonadi startup
Product: [Unmaintained] kmail Reporter: Shlomi Fish <shlomif>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bjoern, bugzilla, kollix
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Shlomi Fish 2010-02-15 12:55:20 UTC
Version:            (using KDE 4.4.0)
Compiler:          gcc-c++-4.4.3-2mnb2 
OS:                Linux
Installed from:    Mandriva RPMs

When I start KMail or KAddressbok for the first time, then they wait for Akonadi to load and then crash. I'll provide a backtrace soon. This happens in a user I've been using for a while and does not seem to be present in a new Unix account.
Comment 1 Shlomi Fish 2010-02-15 13:04:14 UTC
OK, it doesn't seem to be a segfault, but rather a "graceful" exit 1. Here are the warnings on the command line:

<<<<<<<<<

(gdb) r --nofork
Starting program: /usr/bin/kmail --nofork
[Thread debugging using libthread_db enabled]
warning: the debug information found in "/usr/lib/debug//usr/lib/libfreetype.so.6.3.22.debug" does not match "/usr/lib/libfreetype.so.6" (CRC mismatch).        

warning: the debug information found in "/usr/lib/debug/usr/lib/libfreetype.so.6.3.22.debug" does not match "/usr/lib/libfreetype.so.6" (CRC mismatch).         

Missing separate debug info for /usr/lib/libfreetype.so.6
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                                                          
"/usr/bin/kmail(23184)" Error in thread 2996881120 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                      
"/usr/bin/kmail(23184)" Error in thread 2996881120 : "QLocalSocket::connectToServer: Connection refused"                                                        
"/usr/bin/kmail(23184)" Error in thread 2996881120 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                      
"/usr/bin/kmail(23184)" Error in thread 2996881120 : "QLocalSocket::connectToServer: Connection refused"                                                        
"/usr/bin/kmail(23184)" Error in thread 2996881120 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                      
"/usr/bin/kmail(23184)" Error in thread 2996881120 : "QLocalSocket::connectToServer: Connection refused"                                                        
[New Thread 0xb0a81b70 (LWP 23196)]                                             
Detaching after fork from child process 23197.                                  
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                                                          
[akonadiserver] search paths:  ("/home/shlomi/apps/perl/local-lib/bin", "/home/shlomi/apps/apache-maven/apache-maven-2.1.0//bin", "/home/shlomi/apps/icewm-testing/bin", "/home/shlomi/Download/unpack/graphics/fop/fop-0.93", "/home/shlomi/apps/perl/modules/local/bin", "/home/shlomi/apps/perl/modules/bin", "/home/shlomi/apps/latemp/bin", "/home/shlomi/apps/file/gringotts/bin", "/home/shlomi/apps/gimageview/bin", "/home/shlomi/apps/test/quadpres/bin", "/home/shlomi/apps/docbook-builder/local/bin", "/home/shlomi/apps/vim/bin", "/home/shlomi/bin", "/home/shlomi/apps/perl/local-lib/bin", "/home/shlomi/apps/apache-maven/apache-maven-2.1.0//bin", "/home/shlomi/Download/unpack/file/docbook/docbook-xsl-snapshot/tools/bin", "/usr/local/bin", "/bin", "/usr/bin", "/usr/games", "/usr/lib/qt4/bin", "/usr/lib/ssh", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin")                              
[akonadiserver] Database "akonadi" opened using driver "QMYSQL"                 
[akonadiserver] DbInitializer::run()                                            
[akonadiserver] checking table  "SchemaVersionTable"                            
[akonadiserver] checking table  "ResourceTable"                                 
[akonadiserver] checking table  "CollectionTable"                               
[akonadiserver] checking table  "MimeTypeTable"                                 
[akonadiserver] checking table  "PimItemTable"                                  
[akonadiserver] checking table  "FlagTable"                                     
[akonadiserver] checking table  "PartTable"                                     
[akonadiserver] checking table  "CollectionAttributeTable"                      
[akonadiserver] checking relation  "PimItemFlagRelation"                        
[akonadiserver] checking relation  "CollectionMimeTypeRelation"                 
[akonadiserver] checking relation  "CollectionPimItemRelation"                  
[akonadiserver] DbInitializer::run() done                                       
[akonadiserver] skipping update 2                                               
[akonadiserver] skipping update 3                                               
[akonadiserver] skipping update 4                                               
[akonadiserver] skipping update 8                                               
[akonadiserver] skipping update 10                                              
[akonadiserver] skipping update 12                                              
[akonadiserver] skipping update 13                                              
[akonadiserver] skipping update 14                                              
[akonadiserver] Nepomuk QueryServer interface not available!                    
[akonadiserver] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                                          
[akonadiserver] DataStore::unhideAllPimItems()                                  
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
PLUGINS:  "/usr/share/akonadi/agents"                                           
PLUGINS:  ("birthdaysresource.desktop", "contactsresource.desktop", "icalresource.desktop", "imapresource.desktop", "kabcresource.desktop", "kcalresource.desktop", "knutresource.desktop", "kolabproxyresource.desktop", "localbookmarksresource.desktop", "maildirresource.desktop", "maildispatcheragent.desktop", "mboxresource.desktop", "microblog.desktop", "mtdummyresource.desktop", "nepomukemailfeeder.desktop", "nepomuktagresource.desktop", "nntpresource.desktop", "notesresource.desktop", "pop3resource.desktop", "vcarddirresource.desktop", "vcardresource.desktop")                                                                         
search paths:  ("/home/shlomi/apps/perl/local-lib/bin", "/home/shlomi/apps/apache-maven/apache-maven-2.1.0//bin", "/home/shlomi/apps/icewm-testing/bin", "/home/shlomi/Download/unpack/graphics/fop/fop-0.93", "/home/shlomi/apps/perl/modules/local/bin", "/home/shlomi/apps/perl/modules/bin", "/home/shlomi/apps/latemp/bin", "/home/shlomi/apps/file/gringotts/bin", "/home/shlomi/apps/gimageview/bin", "/home/shlomi/apps/test/quadpres/bin", "/home/shlomi/apps/docbook-builder/local/bin", "/home/shlomi/apps/vim/bin", "/home/shlomi/bin", "/home/shlomi/apps/perl/local-lib/bin", "/home/shlomi/apps/apache-maven/apache-maven-2.1.0//bin", "/home/shlomi/Download/unpack/file/docbook/docbook-xsl-snapshot/tools/bin", "/usr/local/bin", "/bin", "/usr/bin", "/usr/games", "/usr/lib/qt4/bin", "/usr/lib/ssh")       
PLUGINS inserting:  "akonadi_birthdays_resource" 0 ("Resource")                 
PLUGINS inserting:  "akonadi_contacts_resource" 2 ("Resource")                  
PLUGINS inserting:  "akonadi_ical_resource" 6 ("Resource")                      
PLUGINS inserting:  "akonadi_imap_resource" 0 ("Resource")                      
PLUGINS inserting:  "akonadi_kabc_resource" 2 ("Resource")                      
PLUGINS inserting:  "akonadi_kcal_resource" 3 ("Resource")                      
PLUGINS inserting:  "akonadi_knut_resource" 0 ("Resource")                      
PLUGINS inserting:  "akonadi_kolabproxy_resource" 0 ("Resource", "Unique", "NoConfig")                                                                          
PLUGINS inserting:  "akonadi_localbookmarks_resource" 0 ("Resource")            
PLUGINS inserting:  "akonadi_maildir_resource" 4 ("Resource")                   
PLUGINS inserting:  "akonadi_maildispatcher_agent" 0 ("Unique", "Autostart", "NoConfig")                                                                        
PLUGINS inserting:  "akonadi_mbox_resource" 0 ("Resource")                      
PLUGINS inserting:  "akonadi_microblog_resource" 0 ("Resource")                 
PLUGINS inserting:  "akonadi_mailtransport_dummy_resource" 0 ("Resource", "MailTransport")                                                                      
PLUGINS inserting:  "akonadi_nepomuk_email_feeder" 0 ("Unique")                 
PLUGINS inserting:  "akonadi_nepomuktag_resource" 0 ("Resource", "Virtual", "Unique", "NoConfig")                                                               
PLUGINS inserting:  "akonadi_nntp_resource" 0 ("Resource")                      
PLUGINS inserting:  "akonadi_notes_resource" 0 ("Resource")                     
PLUGINS inserting:  "akonadi_pop3_resource" 0 ("Resource")                      
PLUGINS inserting:  "akonadi_vcarddir_resource" 0 ("Resource")                  
PLUGINS inserting:  "akonadi_vcard_resource" 4 ("Resource")                     
[/usr/bin/akonadi_ical_resource] akonadi_ical_resource_4(23230): Couldn't remove lockfile "/var/tmp/kdecache-shlomi/kpc/kde-icon-cache.lock"                    
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[/usr/bin/akonadi_ical_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                         
[/usr/bin/akonadi_ical_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                         
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[/usr/bin/akonadi_ical_resource] akonadi_ical_resource_4(23230)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_ical_resource_4"               
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[akonadiserver] QSqlQuery::prepare: database not open                           
[akonadiserver] Error during executing query "SELECT PimItemTable.id, PimItemTable.rev, PimItemTable.remoteId, MimeTypeTable.name, ResourceTable.name, PimItemTable.size, PimItemTable.datetime, PimItemTable.collectionId FROM PimItemTable, MimeTypeTable, CollectionTable, ResourceTable WHERE ( PimItemTable.mimeTypeId = MimeTypeTable.id AND PimItemTable.collectionId = CollectionTable.id AND CollectionTable.resourceId = ResourceTable.id AND ( PimItemTable.id = :0 ) ) ORDER BY PimItemTable.id ASC" :  " "                                                         
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[/usr/bin/akonadi_ical_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                         
[/usr/bin/akonadi_ical_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                         
[/usr/bin/akonadi_kabc_resource] akonadi_kabc_resource_1(23233)/libakonadi Akonadi::EntityCache<T, FetchJob, FetchScope>::fetchResult: Fetch failed: "Unknown error. (Collection 11 does not exist)"                                            
[/usr/bin/akonadi_kabc_resource] akonadi_kabc_resource_1(23233)/libakonadi Akonadi::EntityCache<T, FetchJob, FetchScope>::fetchResult: Fetch failed: "Unknown error. (Unable to list items)"                                                    
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[/usr/bin/akonadi_ical_resource] akonadi_ical_resource_4(23230)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_ical_resource_4"               
[/usr/bin/akonadi_ical_resource] akonadi_ical_resource_4(23230)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_ical_resource_4"               
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[/usr/bin/akonadi_ical_resource] akonadi_ical_resource_4(23230)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_ical_resource_4"               
[/usr/bin/akonadi_vcard_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                        
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[/usr/bin/akonadi_ical_resource] akonadi_ical_resource_4(23230)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_ical_resource_4"               
[/usr/bin/akonadi_vcard_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                        
[/usr/bin/akonadi_vcard_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                        
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[/usr/bin/akonadi_ical_resource] akonadi_ical_resource_4(23230)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_ical_resource_4"               
[/usr/bin/akonadi_vcard_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                        
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[/usr/bin/akonadi_ical_resource] akonadi_ical_resource_4(23230)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_ical_resource_4"               
[/usr/bin/akonadi_kcal_resource] akonadi_kcal_resource_0(23234)/kdepimlibs (kcal): Cannot read uid map file ' "/home/shlomi/.kde4/share/apps/kcal/uidmaps/remote_FLwbIRuKkX" '                                                                  
[/usr/bin/akonadi_ical_resource] akonadi_ical_resource_4(23230)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_ical_resource_4"               
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[/usr/bin/akonadi_ical_resource] akonadi_ical_resource_4(23230)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_ical_resource_4"               
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[/usr/bin/akonadi_ical_resource] akonadi_ical_resource_4(23230)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_ical_resource_4"               
[/usr/bin/akonadi_maildispatcher_agent] akonadi_maildispatcher_agent(23241) OutboxQueue::Private::localFoldersRequestResult: Failed to get outbox folder.       
[/usr/bin/akonadi_ical_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                         
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.                           
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"                  
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"                                                 
[/usr/bin/akonadi_kcal_resource] akonadi_kcal_resource_0(23234)/kdepimlibs (kcal): Cannot read uid map file ' "/home/shlomi/.kde4/share/apps/kcal/uidmaps/remote_FLwbIRuKkX" '                                                                  
[akonadiserver] Character set 'latin1' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file                   
[akonadiserver] Database error: Cannot open database.
[akonadiserver] Last driver error: "QMYSQL: Unable to connect"
[akonadiserver] Last database error: "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)"
[akonadiserver] Could not contact query service.
[akonadiserver] QStringList Akonadi::NepomukSearch::search(const QString&) Calling blockingQuery() failed!
kmail(23184)/libakonadi Akonadi::Control::Private::exec: Could not start/stop Akonadi!
Detaching after fork from child process 23272.
Detaching after fork from child process 23274.
Detaching after fork from child process 23275.
kmail(23184) main: Unable to start Akonadi server, exit application
[Thread 0xb0a81b70 (LWP 23196) exited]



>>>>>>>>>
Comment 2 Vasileios P. Lourdas 2010-02-15 13:20:21 UTC
The log shows that akonadi server cannot connect to MySQL server. If you use MySQL for akonadi, create a new database and put the correct values inside ~/.config/akonadi/akonadiserverrc. Akonadi server will then be able to connect to the database and start.
Comment 3 Shlomi Fish 2010-02-15 14:19:55 UTC
(In reply to comment #2)
> The log shows that akonadi server cannot connect to MySQL server. If you use
> MySQL for akonadi, create a new database and put the correct values inside
> ~/.config/akonadi/akonadiserverrc. Akonadi server will then be able to connect
> to the database and start.

My akonadiserverrc now reads:

<<<

[%General]
Driver=QPSQL
SizeThreshold=4096
ExternalPayload=false

[QPSQL]
Name=akonadi_shlomi
User=shlomi
Password=
StartServer=false
Host=localhost
Options=

[Debug]
Tracer=null

>>>

And it can connect to Pg:

<<<<<<<
shlomi:~$ psql akonadi_shlomi
Welcome to psql 8.3.9, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

akonadi_shlomi=> \dt
                  List of relations
 Schema |            Name            | Type  | Owner
--------+----------------------------+-------+--------
 public | collectionattributetable   | table | shlomi
 public | collectionmimetyperelation | table | shlomi
 public | collectionpimitemrelation  | table | shlomi
 public | collectiontable            | table | shlomi
 public | flagtable                  | table | shlomi
 public | mimetypetable              | table | shlomi
 public | parttable                  | table | shlomi
 public | pimitemflagrelation        | table | shlomi
 public | pimitemtable               | table | shlomi
 public | resourcetable              | table | shlomi
 public | schemaversiontable         | table | shlomi
(11 rows)

akonadi_shlomi=>
>>>>>>>>>>>

However, kmail still exits:

<<<<<<<<<<

/usr/bin/akonadi_vcard_resource] akonadi_vcard_resource_3(27148)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_vcard_resource_3"            
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[/usr/bin/akonadi_ical_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                         
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[/usr/bin/akonadi_contacts_resource] akonadi_contacts_resource_0(27128)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "akonadi_contacts_resource_0"   
[/usr/bin/akonadi_ical_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                         
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[/usr/bin/akonadi_ical_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                         
[/usr/bin/akonadi_ical_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                         
[/usr/bin/akonadi_kcal_resource] akonadi_kcal_resource_0(27137)/kdepimlibs (kcal): Cannot read uid map file ' "/home/shlomi/.kde4/share/apps/kcal/uidmaps/remote_FLwbIRuKkX" '                                                                  
[/usr/bin/akonadi_vcard_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                        
[/usr/bin/akonadi_vcard_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                        
[/usr/bin/akonadi_vcard_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                        
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"           
[/usr/bin/akonadi_kabc_resource] akonadi_kabc_resource_1(27136)/libakonadi Akonadi::EntityCache<T, FetchJob, FetchScope>::fetchResult: Fetch failed: "Unknown error. (Collection 11 does not exist)"
[/usr/bin/akonadi_kcal_resource] akonadi_kcal_resource_0(27137)/kdepimlibs (kcal): Cannot read uid map file ' "/home/shlomi/.kde4/share/apps/kcal/uidmaps/remote_FLwbIRuKkX" '
shlomi:~$ [akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"
[/usr/bin/akonadi_maildispatcher_agent] akonadi_maildispatcher_agent(27144)/libakonadi Akonadi::DefaultResourceJob::slotResult: "Unknown resource"
[/usr/bin/akonadi_maildispatcher_agent] akonadi_maildispatcher_agent(27144)/libakonadi Akonadi::ResourceScanJob::Private::fetchResult: "Unknown resource"
[/usr/bin/akonadi_maildispatcher_agent] akonadi_maildispatcher_agent(27144)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_1" : "Unknown error. (Unknown resource)"
[/usr/bin/akonadi_maildispatcher_agent] akonadi_maildispatcher_agent(27144) OutboxQueue::Private::localFoldersRequestResult: Failed to get outbox folder.
kmail(27109)/libakonadi Akonadi::Control::Private::exec: Could not start/stop Akonadi!
[akonadiserver] Database "akonadi_shlomi" opened using driver "QPSQL"
[akonadiserver] Could not contact query service.
[akonadiserver] QStringList Akonadi::NepomukSearch::search(const QString&) Calling blockingQuery() failed!
kmail(27109) main: Unable to start Akonadi server, exit application

>>>>>>>>>>
Comment 4 Vasileios P. Lourdas 2010-02-15 14:23:58 UTC
OK, now this is a different error. The KDE devs should probably reply.
Comment 5 Shlomi Fish 2010-02-15 14:35:10 UTC
I should note that in a new UNIX user account, KMail and KAddressbook appear to start fine.
Comment 6 Martin Koller 2010-02-27 13:25:14 UTC
It seems Nepomuk is not running.
Please check also the hints here: http://userbase.kde.org/Akonadi
Comment 7 Martin Koller 2010-02-27 13:33:46 UTC
*** Bug 227968 has been marked as a duplicate of this bug. ***
Comment 8 Shlomi Fish 2010-03-03 12:00:09 UTC
(In reply to comment #6)
> It seems Nepomuk is not running.
> Please check also the hints here: http://userbase.kde.org/Akonadi

I don't see why it should matter that Nepomuk is not running and why it should stop kmail from starting properly. If I were a non-technical user then pointing me to a long wiki page about Akonadi won't be a real solution. And even now I don't know what I'm looking for.

"What is this Nepomuk thing and why should I care?". Please tell me what I should do to fix this problem and make the startup of kmail/akonadi/nepomuk/whatever more robust.
Comment 9 Björn Ruberg 2010-03-08 00:10:18 UTC

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