Mailinglist Archive: opensuse (1523 mails)

< Previous Next >
Re: [opensuse] Akonadi runs wild
  • From: Constant Brouerius van Nidek <constant@xxxxxxxxxxx>
  • Date: Mon, 22 Mar 2010 09:55:37 +0700
  • Message-id: <20100322095537.10a64336@xxxxxxxxxxxxxxxxxxxx>
On Sun, 21 Mar 2010 19:02:37 +0100
Will Stephenson <wstephenson@xxxxxxx> wrote:

On Sunday 21 March 2010 16:52:42 constant@xxxxxxxxxxx wrote:
Did what you proposed.Advance KDE Resourc. Contacts The Akonadi
address book is disabled now.Nepomuk Semantic Desktop is now
enabled. When I run Kmail now it starts with KMail downloads email
as usual but then shows the "Akonadi server self test-Kmail" with
as most important information that Akonadi (2x) and Nepomuk are
not registered at D-Bus. This self test can only be left with
close after with also my Kmail is gone.I have attached the selftest
results. Is there another way to prevent this selftest? Or why do I
have problems with the D-Bus
registration. Should that not be an automatic proces?

Missing attachment?

If there is an selftest error about errors in the Akonadi logs, this
command safely initialises the database and creates the mysql.*
tables:

/usr/bin/mysql_install_db --datadir=$HOME/.local/share/akonadi/db_data

Two things you can try to clear the nepomuk error are
i) Make sure "virtuoso-server" is installed in 6.1
a version
ii) Make sure virtuosobackend is the "Used Soprano Backend" in
~/.kde4/share/config/nepomukserverrc. You should have:

[Basic Settings]
Start Nepomuk=true

[Service-nepomukmigration1]
autostart=false

[Service-nepomukstrigiservice]
autostart=false

[main Settings]
Maximum memory=50
Storage Dir[$e]=$HOME/.kde4/share/apps/nepomuk/repository/main/
Used Soprano Backend=virtuosobackend


Dear Will,
Thanks for the assistance. My setup nears completion.
The above instruction have been run and the latest self test error log
is attached. Forgot the first one because I was working on web-mail.
For the moment I have a roughly working Claws installed and have now
something workable until KMail is there again.
Kmail is still not staying on my desktop. It is deleted at the moment
when I leave the self-test.

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/constant112/.config/akonadi/akonadiserverrc':
[%General]
Driver=QMYSQL
SizeThreshold=4096
ExternalPayload=false

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

[Debug]
Tracer=null


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.36-log for
suse-linux-gnu on i686 (SUSE MySQL RPM)


Test 4: SUCCESS
--------

No current MySQL error log found.
Details: The MySQL server did not report any errors during this startup into
'/home/constant112/.local/share/akonadi/db_data/mysql.err'.

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@xxxxxxxxx>
#
[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

# Do not drop the connection to the DB after 8 hours of inactivity
wait_timeout=1296000



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/constant112/.local/share/akonadi/mysql.conf'>/home/constant112/.local/share/akonadi/mysql.conf</a>
and is readable.

File content of '/home/constant112/.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@xxxxxxxxx>
#
[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

# Do not drop the connection to the DB after 8 hours of inactivity
wait_timeout=1296000



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: ERROR
--------

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

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'. The XDG_DATA_DIRS environment variable is set to
'/usr/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
kolabproxyresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mboxresource.desktop
microblog.desktop
mtdummyresource.desktop
nepomukcalendarfeeder.desktop
nepomukcontactfeeder.desktop
nepomukemailfeeder.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
pop3resource.desktop
vcarddirresource.desktop
vcardresource.desktop

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

Test 15: ERROR
--------

Current Akonadi server error log found.
Details: The Akonadi server did report error during startup into <a
href='/home/constant112/.local/share/akonadi/akonadiserver.error'>/home/constant112/.local/share/akonadi/akonadiserver.error</a>.

File content of '/home/constant112/.local/share/akonadi/akonadiserver.error':
"[
0: akonadiserver(_Z11akBacktracev+0x35) [0x80524d5]
1: akonadiserver [0x8052a6c]
2: [0xffffe400]
3: [0xffffe424]
4: /lib/libc.so.6(gsignal+0x4f) [0xb70020cf]
5: /lib/libc.so.6(abort+0x187) [0xb70039e7]
6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x94) [0xb7397964]
7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xd8) [0x8053a78]
8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x9b) [0xb7433c3b]
9: /usr/lib/libQtCore.so.4 [0xb7447f0d]
10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3e) [0xb744956e]
11: /usr/lib/libakonadiprivate.so.1(_ZN6QDebugD1Ev+0x52) [0xb75ff542]
12:
/usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer25startMysqlDatabaseProcessEv+0x1c53)
[0xb760acb3]
13:
/usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x287)
[0xb760d517]
14:
/usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x83)
[0xb760d793]
15: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x58)
[0xb760ec38]
16: akonadiserver(main+0x2d8) [0x804d0c8]
17: /lib/libc.so.6(__libc_start_main+0xfe) [0xb6fedace]
18: akonadiserver [0x804cd21]
]
"


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

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

File content of
'/home/constant112/.local/share/akonadi/akonadiserver.error.old':
"[
0: akonadiserver(_Z11akBacktracev+0x35) [0x80524d5]
1: akonadiserver [0x8052a6c]
2: [0xffffe400]
3: [0xffffe424]
4: /lib/libc.so.6(gsignal+0x4f) [0xb6fb10cf]
5: /lib/libc.so.6(abort+0x187) [0xb6fb29e7]
6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x94) [0xb7346964]
7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xd8) [0x8053a78]
8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x9b) [0xb73e2c3b]
9: /usr/lib/libQtCore.so.4 [0xb73f6f0d]
10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3e) [0xb73f856e]
11: /usr/lib/libakonadiprivate.so.1(_ZN6QDebugD1Ev+0x52) [0xb75ae542]
12:
/usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer25startMysqlDatabaseProcessEv+0x1c53)
[0xb75b9cb3]
13:
/usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x287)
[0xb75bc517]
14:
/usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x83)
[0xb75bc793]
15: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x58)
[0xb75bdc38]
16: akonadiserver(main+0x2d8) [0x804d0c8]
17: /lib/libc.so.6(__libc_start_main+0xfe) [0xb6f9cace]
18: akonadiserver [0x804cd21]
]
"


Test 17: SUCCESS
--------

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

Test 18: SUCCESS
--------

No previous Akonadi control error log found.
Details: The Akonadi control process did not report any errors during its
previous startup.

< Previous Next >
References