[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Akonadiprobleme [was: Kpdf für squeeze]



Hallo Martin,

hab jetzt eine Weile experimentiert. Dachte erst, ein neuer Benutzer 
könnte helfen, war aber ein Kalter. Allerdings hat es genau einmal 
funktioniert, dann meine Daten kopiert, danach war wieder Sense. Was den 
Schluss zu lässt, dass irgendeine private conf-Datei nicht stimmt.

Mit diesem Ansatz werde ich nochmal Experimente starten. Aktuell wieder 
auf Opensuse 11.3.

Am Samstag 26 März 2011 schrieb Martin Steigerwald:

snip
> Bitte kopiere das Selbsttest-Log und füge es hier ein.
Das ganze ist etwas länglich:

Akonadi Server Self-Test Report
===============================

Test 1:  SUCCESS
--------

Database driver found.
Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi 
server configuration and was found on your system.

File content of '/home/matthias/.config/akonadi/akonadiserverrc':
[%General]
Driver=QMYSQL
SizeThreshold=4096
ExternalPayload=false

[QMYSQL]
Name=akonadi
User=matthias
Password=shiemvin
Options="UNIX_SOCKET=/debianroot/home/matthias/.local/share/akonadi/db_misc/mysql.socket"
ServerPath=/usr/sbin/mysqld
StartServer=true
Host=alien

[Debug]
Tracer=null

[QPSQL]
Name=akonadi
Host=
User=
Password=
Port=5432


Test 2:  SUCCESS
--------

MySQL server found.
Details: You currently have configured Akonadi to use the MySQL server 
'/usr/sbin/mysqld'.
Make sure you have the MySQL server installed, set the correct path and 
ensure you have the necessary read and execution rights on the server 
executable. The server executable is typically called 'mysqld', its 
locations varies depending on the distribution.

Test 3:  SUCCESS
--------

MySQL server is executable.
Details: MySQL server found: /usr/sbin/mysqld  Ver 5.1.49-3 for debian-
linux-gnu on i486 ((Debian))


Test 4:  ERROR
--------

MySQL server log contains errors.
Details: The MySQL server error log file &apos;<a 
href='/home/matthias/.local/share/akonadi/db_data/mysql.err'>/home/matthias/.local/share/akonadi/db_data/mysql.err</a>&apos; 
contains errors.

File content of '/home/matthias/.local/share/akonadi/db_data/mysql.err':
110326 19:11:51 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
110326 19:11:51  InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
########################################################
---- 50 Zeilen entfernt, da Wiederholungen der zwei
     vorhergehenden Zeilen
########################################################
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.


Test 5:  SUCCESS
--------

MySQL server default configuration found.
Details: The default configuration for the MySQL server was found and is 
readable at <a href='/etc/akonadi/mysql-global.conf'>/etc/akonadi/mysql-
global.conf</a>.

File content of '/etc/akonadi/mysql-global.conf':
#
# Global Akonadi MySQL server settings,
# These settings can be adjusted using $HOME/.config/akonadi/mysql-
local.conf
#
# Based on advice by Kris Köhntopp <kris@mysql.com>
#
[mysqld]
skip_grant_tables
skip_networking

# strict query parsing/interpretation
# TODO: make Akonadi work with those settings enabled
#sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat
#sql_mode=strict_trans_tables

# use InnoDB for transactions and better crash recovery
default_storage_engine=innodb
# case-insensitive table names, avoids trouble on windows
lower_case_table_names=1
character_set_server=latin1
collation_server=latin1_general_ci
table_cache=200
thread_cache_size=3
log_bin=mysql-bin
expire_logs_days=3
#sync_bin_log=0
# error log file name, relative to datadir
log_error=mysql.err
log_warnings=2
# log all queries, useful for debugging but generates an enormous amount 
of data
#log=mysql.full
# log queries slower than n seconds, log file name relative to datadir 
(for debugging only)
#log_slow_queries=mysql.slow
#long_query_time=1
# log queries not using indices, debug only, disable for production use
#log_queries_not_using_indexes=1
# maximum blob size
max_allowed_packet=32M
max_connections=256
# makes sense when having the same query multiple times
# makes no sense with prepared statements and/or transactions
query_cache_type=0
query_cache_size=0

innodb_file_per_table=1
innodb_log_buffer_size=1M
innodb_additional_mem_pool_size=1M
# messure database size and adjust
# SELECT sum(data_length) as bla, sum(index_length) as blub FROM 
information_schema.tables WHERE table_schema not in ("mysql", 
"information_schema");
innodb_buffer_pool_size=80M
# size of average write burst, keep Innob_log_waits small, keep 
Innodb_buffer_pool_wait_free small (see show global status like "inno%", 
show global variables)
innodb_log_file_size=64M
innodb_flush_log_at_trx_commit=2



Test 6:  SKIP
--------

MySQL server custom configuration not available.
Details: The custom configuration for the MySQL server was not found but 
is optional.

Test 7:  SUCCESS
--------

MySQL server configuration is usable.
Details: The MySQL server configuration was found at <a 
href='/home/matthias/.local/share/akonadi/mysql.conf'>/home/matthias/.local/share/akonadi/mysql.conf</a> 
and is readable.

File content of '/home/matthias/.local/share/akonadi/mysql.conf':
#
# Global Akonadi MySQL server settings,
# These settings can be adjusted using $HOME/.config/akonadi/mysql-
local.conf
#
# Based on advice by Kris Köhntopp <kris@mysql.com>
#
[mysqld]
skip_grant_tables
skip_networking

# strict query parsing/interpretation
# TODO: make Akonadi work with those settings enabled
#sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat
#sql_mode=strict_trans_tables

# use InnoDB for transactions and better crash recovery
default_storage_engine=innodb
# case-insensitive table names, avoids trouble on windows
lower_case_table_names=1
character_set_server=latin1
collation_server=latin1_general_ci
table_cache=200
thread_cache_size=3
log_bin=mysql-bin
expire_logs_days=3
#sync_bin_log=0
# error log file name, relative to datadir
log_error=mysql.err
log_warnings=2
# log all queries, useful for debugging but generates an enormous amount 
of data
#log=mysql.full
# log queries slower than n seconds, log file name relative to datadir 
(for debugging only)
#log_slow_queries=mysql.slow
#long_query_time=1
# log queries not using indices, debug only, disable for production use
#log_queries_not_using_indexes=1
# maximum blob size
max_allowed_packet=32M
max_connections=256
# makes sense when having the same query multiple times
# makes no sense with prepared statements and/or transactions
query_cache_type=0
query_cache_size=0

innodb_file_per_table=1
innodb_log_buffer_size=1M
innodb_additional_mem_pool_size=1M
# messure database size and adjust
# SELECT sum(data_length) as bla, sum(index_length) as blub FROM 
information_schema.tables WHERE table_schema not in ("mysql", 
"information_schema");
innodb_buffer_pool_size=80M
# size of average write burst, keep Innob_log_waits small, keep 
Innodb_buffer_pool_wait_free small (see show global status like "inno%", 
show global variables)
innodb_log_file_size=64M
innodb_flush_log_at_trx_commit=2



Test 8:  SUCCESS
--------

akonadictl found and usable
Details: The program '/usr/bin/akonadictl' to control the Akonadi server 
was found and could be executed successfully.
Result:
Akonadi 1.3.1


Test 9:  SUCCESS
--------

Akonadi control process registered at D-Bus.
Details: The Akonadi control process is registered at D-Bus which 
typically indicates it is operational.

Test 10:  ERROR
--------

Akonadi server process not registered at D-Bus.
Details: The Akonadi server process is not registered at D-Bus which 
typically means it was not started or encountered a fatal error during 
startup.

Test 11:  SUCCESS
--------

Nepomuk search service registered at D-Bus.
Details: The Nepomuk search service is registered at D-Bus which 
typically indicates it is operational.

Test 12:  SUCCESS
--------

Nepomuk search service uses an appropriate backend. 
Details: The Nepomuk search service uses one of the recommended 
backends.

Test 13:  SKIP
--------

Protocol version check not possible.
Details: Without a connection to the server it is not possible to check 
if the protocol version meets the requirements.

Test 14:  ERROR
--------

No resource agents found.
Details: No resource agents have been found, Akonadi is not usable 
without at least one. This usually means that no resource agents are 
installed or that there is a setup problem. The following paths have 
been searched: '/usr/share/akonadi/agents /usr/share/akonadi/agents'. 
The XDG_DATA_DIRS environment variable is set to 
'/usr/share:/usr/share:/usr/local/share', make sure this includes all 
paths where Akonadi agents are installed to.

Directory listing of '/usr/share/akonadi/agents':
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
nepomukcalendarfeeder.desktop
nepomukcontactfeeder.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
pop3resource.desktop
vcarddirresource.desktop
vcardresource.desktop
Directory listing of '/usr/share/akonadi/agents':
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
nepomukcalendarfeeder.desktop
nepomukcontactfeeder.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
pop3resource.desktop
vcarddirresource.desktop
vcardresource.desktop

Environment variable XDG_DATA_DIRS is set to 
'/usr/share:/usr/share:/usr/local/share'

Test 15:  SUCCESS
--------

No current Akonadi server error log found.
Details: The Akonadi server did not report any errors during its current 
startup.

Test 16:  ERROR
--------

Previous Akonadi server error log found.
Details: The Akonadi server did report error during its previous startup 
into <a 
href='/home/matthias/.local/share/akonadi/akonadiserver.error.old'>/home/matthias/.local/share/akonadi/akonadiserver.error.old</a>.

File content of 
'/home/matthias/.local/share/akonadi/akonadiserver.error.old':
Database error: Cannot open database. 
  Last driver error: "QMYSQL: Unable to connect" 
  Last database error: "Can't connect to local MySQL server through 
socket 
'/debianroot/home/matthias/.local/share/akonadi/db_misc/mysql.socket' 
(2)" 
Unable to open database "Can't connect to local MySQL server through 
socket 
'/debianroot/home/matthias/.local/share/akonadi/db_misc/mysql.socket' 
(2) QMYSQL: Unable to connect" 
"[
0: akonadiserver(_Z11akBacktracev+0x35) [0x8052255]
1: akonadiserver() [0x8052706]
2: [0xb770e400]
3: [0xb770e424]
4: /lib/i686/cmov/libc.so.6(gsignal+0x51) [0xb6fdd751]
5: /lib/i686/cmov/libc.so.6(abort+0x182) [0xb6fe0b82]
6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x84) 
[0xb736cfb4]
7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xc4) [0x8053784]
8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8e) [0xb740425e]
9: /usr/lib/libQtCore.so.4(+0x10e265) [0xb7414265]
10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3d) [0xb741577d]
11: akonadiserver(_ZN6QDebugD1Ev+0x43) [0x804dd93]
12: 
/usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x5cc) 
[0xb75db72c]
13: 
/usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x58) 
[0xb75dc698]
14: akonadiserver(main+0x37c) [0x804d1dc]
15: /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb6fc9c76]
16: akonadiserver() [0x804cd91]
]
" 


Test 17:  ERROR
--------

Current Akonadi control error log found.
Details: The Akonadi control process did report error during startup 
into <a 
href='/home/matthias/.local/share/akonadi/akonadi_control.error'>/home/matthias/.local/share/akonadi/akonadi_control.error</a>.

File content of 
'/home/matthias/.local/share/akonadi/akonadi_control.error':
Unable to register service as org.freedesktop.Akonadi.Control Maybe it's 
already running? 
"[
0: /usr/bin/akonadi_control(_Z11akBacktracev+0x35) [0x805bca5]
1: /usr/bin/akonadi_control() [0x805c156]
2: [0xb778e400]
3: [0xb778e424]
4: /lib/i686/cmov/libc.so.6(gsignal+0x51) [0xb71c4751]
5: /lib/i686/cmov/libc.so.6(abort+0x182) [0xb71c7b82]
6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x84) 
[0xb7553fb4]
7: /usr/bin/akonadi_control(_ZN15FileDebugStream9writeDataEPKcx+0xc4) 
[0x805d1d4]
8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8e) [0xb75eb25e]
9: /usr/lib/libQtCore.so.4(+0x10e265) [0xb75fb265]
10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3d) [0xb75fc77d]
11: /usr/bin/akonadi_control(main+0x424) [0x8070bc4]
12: /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb71b0c76]
13: /usr/bin/akonadi_control() [0x80576c1]
]
" 


Test 18:  ERROR
--------

Previous Akonadi control error log found.
Details: The Akonadi control process did report error during its 
previous startup into <a 
href='/home/matthias/.local/share/akonadi/akonadi_control.error.old'>/home/matthias/.local/share/akonadi/akonadi_control.error.old</a>.

File content of 
'/home/matthias/.local/share/akonadi/akonadi_control.error.old':
Unable to register service as org.freedesktop.Akonadi.Control Maybe it's 
already running? 
"[
0: /usr/bin/akonadi_control(_Z11akBacktracev+0x35) [0x805bca5]
1: /usr/bin/akonadi_control() [0x805c156]
2: [0xb772c400]
3: [0xb772c424]
4: /lib/i686/cmov/libc.so.6(gsignal+0x51) [0xb7162751]
5: /lib/i686/cmov/libc.so.6(abort+0x182) [0xb7165b82]
6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x84) 
[0xb74f1fb4]
7: /usr/bin/akonadi_control(_ZN15FileDebugStream9writeDataEPKcx+0xc4) 
[0x805d1d4]
8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8e) [0xb758925e]
9: /usr/lib/libQtCore.so.4(+0x10e265) [0xb7599265]
10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3d) [0xb759a77d]
11: /usr/bin/akonadi_control(main+0x424) [0x8070bc4]
12: /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb714ec76]
13: /usr/bin/akonadi_control() [0x80576c1]
]
" 

> Akonadi startet den MySQL-Server selbst. Daher reicht es, wenn das
> Core- Paket - ohne das Init-Skript - installiert ist.
Wird für digikam benötigt.

snip> 
> Was heißt, geht gar nichts mehr?
Mit Kontact oder Kmail geht gar nichts mehr, keine Eingaben mehr 
möglich, Senden hängt, wenn ich das Fenster schließen will, meldet sich 
ein Tool (weiß grad nicht wie es heißt), und meldet, dass kontact nicht 
antwortet. Ich kann zwar zwischen den Fenstern noch hin und her schalten 
und sie werden auch noch korrekt dargestellt, aber Eingaben sind nicht 
mehr möglich.

Außerdem startet akonadi-control mindestens zweimal, akonadiserver 
selbst aber nicht (wie zu erwarten). mysqld startet ebenfalls mehrfach, 
mindestens 19mal (btw: /usr/bin/console-kit startet auch 50-60mal, 
virtuoso ungefähr 25mal)
Zumindest behauptet das htop

> Kannst Du mal in die Prozess-Liste
> schauen, ob da irgendso ein Nepomuk-Prozess dann 99% CPU zieht?
> Wenn ja, probiere doch mal ein kill (ohne -9) auf diesen Prozess und
> schaue, ob es dann in KMail weiter geht.
> Das habe ich immer wieder
> mal gemacht. 
Nepomuk ist ausgeschaltet, diese Such- und Semantikzeug brauch ich 
nicht. Strigi ist auch kalt gestellt.
Prozessorlast liegt irgendwo zwischen 15% und 20% und ich kann keinen 
wild gewordenen Prozess identifizieren.

> Seit meinem Upgrade auf das 4.5er KDE jedoch meiner
> Erinnerung nicht mehr, obwohl KMail selbst ja noch 4.4 ist.
Wie komme ich an KDE 4.5 ran? Ich möchte ein stabiles Debian-Repo. 
Backports wäre ok, aber nicht Testing (Wheezy[?]) oder Sid!

> 
> Wenn mein Tipp hilft, ist es vielleicht eine Möglichkeit, die
> Semantik- Dienste in den Systemeinstellungen unter Desktop-Suche
> abzuschalten. Ich bin mir aber nicht sicher, ob das im Fall dieses
> Problems etwas bringt.
Sind ja schon aus.

-- 
Mit freundlichen Grüßen
Matthias Müller
(Benutzer #439779 im Linux-Counter http://counter.li.org)
PS: Bitte senden Sie als Antwort auf meine E-Mails reine Text-
Nachrichten!

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: