Mailinglist Archive: opensuse (1786 mails)

< Previous Next >
Re: [opensuse] Trouble with kmail
On 19/11/11 08:28, Roger Luedecke wrote:
On Saturday, November 19, 2011 08:10:13 AM lynn wrote:
On 18/11/11 17:07, Will Stephenson wrote:
On Friday 18 Nov 2011 16:16:23 lynn wrote:
On 18/11/11 12:41, Will Stephenson wrote:
On Friday 18 November 2011 11:36:30 Kaare Rasmussen wrote:
Uh, not really - the backup list won't solve Eddie's problems.
I
need
to get the migration guide finished. Until I do that here's
Ubuntu's
guide:
https://wiki.kubuntu.org/OneiricOcelot/Final/Kubuntu/Kmail2

All these pages about kmail2 talks about moving stuff into the
Akonadi
server. I haven't found a description of exactly what that is. The
closest I've found is http://community.kde.org/KDE_PIM/Akonadi

I've always liked the fact that kmail stores mails as maildirs.
Easy
to
backup, process and handle outside kmail. Will this change? Is
this
configurable?

OK. I give up. 11.4 to 12.1 upgrade.

Migration failed. I've deleted all kmail stuff from .kde4

How do I start from scratch and get kmail to start? it will not start
because akonadi has errors.
Thanks. L x

"Could not fetch the resource collection"? Or which error?

The ubuntu guide above explains how to resolve that one by correcting
the path of the local folders resource to a valid path.

To get a blank slate, remove all of
~/.local/share/akonadi (Akonadi's databases)
~/.config/akonadi (configuration for Akonadi itself)
~/.kde4/share/config/akonadi* (configuration for KDE-based Akonadi
resources, eg imap or pop accounts)

and move aside ~/.kde4/share/config/kmail*

HTH, I'm on child rearing duties until Saturday morning so I will check
back in then.

Will

Nope. Still doesn't work. Removing what you say gives these errors:

MySQL server not found
Executing the MySQL server failed
;ySQL server configuration not found or not readable
Akonadi control process not registered at dbus
+ some others.

Akonadi needs MySQL? I happen to use MySQL but most desktop users don't
do they?

Really confused with this. 12.2 should never have shipped with kmail2 if
it wasn't ready.

Hope the child minding went to plan:)

Thanks L x
Whats the problem? I have KMail with Google IMAP and AKonadi running
flawlessly. I missed the other messages since I been swamped lately.

OK. Followed the removal instructions above and get these errors:

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/steve/.config/akonadi/akonadiserverrc':
[%General]
Driver=QMYSQL

[QMYSQL]
Name=akonadi
Host=
Options="UNIX_SOCKET=/home/steve/.local/share/akonadi/socket-hh1/mysql.socket"
ServerPath=/usr/sbin/mysqld
StartServer=true

[Debug]
Tracer=null


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

Akonadi is not running as root
Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system.

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

MySQL server found.
Details: You have currently 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 location varies depending on the distribution.

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

MySQL server is executable.
Details: MySQL server found: /usr/sbin/mysqld Ver 5.5.16 for Linux on x86_64 (Source distribution)


Test 5: ERROR
--------

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

File content of '/home/steve/.local/share/akonadi/db_data/mysql.err':
111118 15:50:11 InnoDB: The InnoDB memory heap is disabled
111118 15:50:11 InnoDB: Mutexes and rw_locks use GCC atomic builtins
111118 15:50:11 InnoDB: Compressed tables use zlib 1.2.5
111118 15:50:11 InnoDB: Initializing buffer pool, size = 80.0M
111118 15:50:11 InnoDB: Completed initialization of buffer pool
111118 15:50:11 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
111118 15:50:11 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
111118 15:50:11 InnoDB: Waiting for the background threads to start
111118 15:50:12 InnoDB: 1.1.8 started; log sequence number 607756
111118 15:50:12 InnoDB: Assertion failure in thread 139884215142144 in file trx0purge.c line 828
InnoDB: Failing assertion: purge_sys->purge_trx_no <= purge_sys->rseg->last_trx_no
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
111118 15:50:12 - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=0
max_threads=256
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 568156 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = (nil) thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7a4e0e]
/usr/sbin/mysqld(handle_segfault+0x450)[0x533820]
/lib64/libpthread.so.0(+0xfd00)[0x7f39636f9d00]
/lib64/libc.so.6(gsignal+0x35)[0x7f39623e3d95]
/lib64/libc.so.6(abort+0x17b)[0x7f39623e52ab]
/usr/sbin/mysqld[0x83ec0c]
/usr/sbin/mysqld[0x83f041]
/usr/sbin/mysqld[0x911eaf]
/usr/sbin/mysqld[0x907d75]
/usr/sbin/mysqld[0x840dde]
/usr/sbin/mysqld[0x830e55]
/usr/sbin/mysqld[0x835c53]
/lib64/libpthread.so.0(+0x7f05)[0x7f39636f1f05]
/lib64/libc.so.6(clone+0x6d)[0x7f396248853d]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.


Test 6: 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=utf8
collation_server=utf8_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=31536000

[client]
default-character-set=utf8


Test 7: SKIP
--------

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

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

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

File content of '/home/steve/.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=utf8
collation_server=utf8_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=31536000

[client]
default-character-set=utf8


Test 9: 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.6.2


Test 10: 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 11: 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 12: 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 13: SUCCESS
--------

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

Test 14: 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 15: 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.

Directory listing of '/usr/share/akonadi/agents':
akonotesresource.desktop
birthdaysresource.desktop
calendarsearchagent.desktop
contactsresource.desktop
davgroupwareresource.desktop
icalresource.desktop
imapresource.desktop
invitationsagent.desktop
kabcresource.desktop
kcalresource.desktop
kdeaccountsresource.desktop
kolabproxyresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mboxresource.desktop
microblog.desktop
mixedmaildirresource.desktop
mtdummyresource.desktop
nepomukcalendarfeeder.desktop
nepomukcontactfeeder.desktop
nepomukemailfeeder.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
openxchangeresource.desktop
pop3resource.desktop
vcarddirresource.desktop
vcardresource.desktop

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

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

Current Akonadi server error log found.
Details: The Akonadi server reported errors during its current startup. The log can be found in <a href='/home/steve/.local/share/akonadi/akonadiserver.error'>/home/steve/.local/share/akonadi/akonadiserver.error</a>.

File content of '/home/steve/.local/share/akonadi/akonadiserver.error':
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld"
arguments: ("--defaults-file=/home/steve/.local/share/akonadi//mysql.conf", "--datadir=/home/steve/.local/share/akonadi/db_data/", "--socket=/home/steve/.local/share/akonadi/socket-hh1/mysql.socket")
stdout: ""
stderr: ""
exit code: 1
process error: "Process operation timed out"
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x44d054]
1: akonadiserver() [0x44d3ec]
2: /lib64/libc.so.6(+0x34e10) [0x7fb130914e10]
3: /lib64/libc.so.6(gsignal+0x35) [0x7fb130914d95]
4: /lib64/libc.so.6(abort+0x17b) [0x7fb1309162ab]
5: /usr/lib64/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7fb1325d89f4]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0x92) [0x44e8d2]
7: /usr/lib64/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xaf) [0x7fb13266620f]
8: /usr/lib64/libQtCore.so.4(+0x107913) [0x7fb13266e913]
9: /usr/lib64/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x39) [0x7fb132677799]
10: akonadiserver(_ZN6QDebugD1Ev+0x46) [0x448356]
11: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x18db) [0x4d4c5b]
12: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xd2) [0x44ee62]
13: akonadiserver() [0x451d92]
14: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x35) [0x4534a5]
15: akonadiserver(main+0x19a) [0x447a7a]
16: /lib64/libc.so.6(__libc_start_main+0xed) [0x7fb13090123d]
17: akonadiserver() [0x4481e1]
]
"


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

Previous Akonadi server error log found.
Details: The Akonadi server reported errors during its previous startup. The log can be found in <a href='/home/steve/.local/share/akonadi/akonadiserver.error.old'>/home/steve/.local/share/akonadi/akonadiserver.error.old</a>.

File content of '/home/steve/.local/share/akonadi/akonadiserver.error.old':
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld"
arguments: ("--defaults-file=/home/steve/.local/share/akonadi//mysql.conf", "--datadir=/home/steve/.local/share/akonadi/db_data/", "--socket=/home/steve/.local/share/akonadi/socket-hh1/mysql.socket")
stdout: ""
stderr: ""
exit code: 1
process error: "Process operation timed out"
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x44d054]
1: akonadiserver() [0x44d3ec]
2: /lib64/libc.so.6(+0x34e10) [0x7fc824a4ee10]
3: /lib64/libc.so.6(gsignal+0x35) [0x7fc824a4ed95]
4: /lib64/libc.so.6(abort+0x17b) [0x7fc824a502ab]
5: /usr/lib64/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7fc8267129f4]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0x92) [0x44e8d2]
7: /usr/lib64/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xaf) [0x7fc8267a020f]
8: /usr/lib64/libQtCore.so.4(+0x107913) [0x7fc8267a8913]
9: /usr/lib64/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x39) [0x7fc8267b1799]
10: akonadiserver(_ZN6QDebugD1Ev+0x46) [0x448356]
11: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x18db) [0x4d4c5b]
12: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xd2) [0x44ee62]
13: akonadiserver() [0x451d92]
14: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x35) [0x4534a5]
15: akonadiserver(main+0x19a) [0x447a7a]
16: /lib64/libc.so.6(__libc_start_main+0xed) [0x7fc824a3b23d]
17: akonadiserver() [0x4481e1]
]
"


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

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

Test 19: SUCCESS
--------

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

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >