Gentoo Archives: gentoo-amd64

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] kmail - akonadi Server Self Test FAILURE
Date: Wed, 22 Sep 2010 16:04:00
Message-Id: AANLkTinrJYe7t9xd-nXr+R1FMtjfG3HVKiGtCxQV-ab8@mail.gmail.com
In Reply to: [gentoo-amd64] kmail - akonadi Server Self Test FAILURE by Paul Stear
1 Revdep-rebuilt is the answer.
2
3 Am 22.09.2010 13:07 schrieb "Paul Stear" <gentoo@××××××××××××.com>:
4
5
6 Hi all,
7 I have updated kde to 4.5.1 and now have runtime errors. The following is
8 the self test report:-
9
10
11 Akonadi Server Self-Test Report
12 ===============================
13
14 Test 1: SUCCESS
15 --------
16
17 Database driver found.
18 Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi
19 server configuration and was found on your system.
20
21 File content of '/home/paul/.config/akonadi/akonadiserverrc':
22 [%General]
23 Driver=QMYSQL
24 SizeThreshold=4096
25 ExternalPayload=false
26
27 [QMYSQL]
28 Name=akonadi
29 User=
30 Password=
31 Options="UNIX_SOCKET=/home/paul/.local/share/akonadi/db_misc/mysql.socket"
32 ServerPath=/usr/sbin/mysqld
33 StartServer=true
34 Host=
35
36 [Debug]
37 Tracer=null
38
39
40 Test 2: SUCCESS
41 --------
42
43 Akonadi is not running as root
44 Details: Akonadi is not running as a root/administrator user, which is the
45 recommended setup for a secure system.
46
47 Test 3: SUCCESS
48 --------
49
50 MySQL server found.
51 Details: You have currently configured Akonadi to use the MySQL server
52 '/usr/sbin/mysqld'.
53 Make sure you have the MySQL server installed, set the correct path and
54 ensure you have the necessary read and execution rights on the server
55 executable. The server executable is typically called 'mysqld'; its location
56 varies depending on the distribution.
57
58 Test 4: SUCCESS
59 --------
60
61 MySQL server is executable.
62 Details: MySQL server found: /usr/sbin/mysqld Ver 5.0.90-log for
63 pc-linux-gnu on x86_64 (Gentoo Linux mysql-5.0.90-r2)
64
65
66 Test 5: ERROR
67 --------
68
69 MySQL server log contains errors.
70 Details: The MySQL server error log file &apos;<a
71 href='/home/paul/.local/share/akonadi/db_data/mysql.err'>/home/paul/.local/share/akonadi/db_data/mysql.err</a>&apos;
72 contains errors.
73
74 File content of '/home/paul/.local/share/akonadi/db_data/mysql.err':
75 InnoDB: The InnoDB memory heap is disabled
76 InnoDB: use atomic builtins.
77 InnoDB: Error: log file ./ib_logfile1 is of different size 0 0 bytes
78 InnoDB: than specified in the .cnf file 0 67108864 bytes!
79 100922 10:43:05 [ERROR] Default storage engine (InnoDB) is not available
80 100922 10:43:05 [ERROR] Aborting
81
82 100922 10:43:05 [Note] /usr/sbin/mysqld: Shutdown complete
83
84
85
86 Test 6: SUCCESS
87 --------
88
89 MySQL server default configuration found.
90 Details: The default configuration for the MySQL server was found and is
91 readable at <a
92 href='/usr/share/config/akonadi/mysql-global.conf'>/usr/share/config/akonadi/mysql-global.conf</a>.
93
94 File content of '/usr/share/config/akonadi/mysql-global.conf':
95 #
96 # Global Akonadi MySQL server settings,
97 # These settings can be adjusted using
98 $HOME/.config/akonadi/mysql-local.conf
99 #
100 # Based on advice by Kris Köhntopp <kris@×××××.com>
101 #
102 [mysqld]
103 skip_grant_tables
104 skip_networking
105
106 # strict query parsing/interpretation
107 # TODO: make Akonadi work with those settings enabled
108 #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
109 #sql_mode=strict_trans_tables
110
111 # use InnoDB for transactions and better crash recovery
112 default_storage_engine=innodb
113 # case-insensitive table names, avoids trouble on windows
114 lower_case_table_names=1
115 character_set_server=utf8
116 collation_server=utf8_general_ci
117 table_cache=200
118 thread_cache_size=3
119 #log_bin=mysql-bin
120 #expire_logs_days=3
121 #sync_bin_log=0
122 # error log file name, relative to datadir
123 log_error=mysql.err
124 log_warnings=2
125 # log all queries, useful for debugging but generates an enormous amount of
126 data
127 #log=mysql.full
128 # log queries slower than n seconds, log file name relative to datadir (for
129 debugging only)
130 #log_slow_queries=mysql.slow
131 #long_query_time=1
132 # log queries not using indices, debug only, disable for production use
133 #log_queries_not_using_indexes=1
134 # maximum blob size
135 max_allowed_packet=32M
136 max_connections=256
137 # makes sense when having the same query multiple times
138 # makes no sense with prepared statements and/or transactions
139 query_cache_type=0
140 query_cache_size=0
141
142 innodb_file_per_table=1
143 innodb_log_buffer_size=1M
144 innodb_additional_mem_pool_size=1M
145 # messure database size and adjust
146 # SELECT sum(data_length) as bla, sum(index_length) as blub FROM
147 information_schema.tables WHERE table_schema not in ("mysql",
148 "information_schema");
149 innodb_buffer_pool_size=80M
150 # size of average write burst, keep Innob_log_waits small, keep
151 Innodb_buffer_pool_wait_free small (see show global status like "inno%",
152 show global variables)
153 innodb_log_file_size=64M
154 innodb_flush_log_at_trx_commit=2
155
156 # Do not drop the connection to the DB after 8 hours of inactivity
157 wait_timeout=1296000
158
159 [client]
160 default-character-set=utf8
161
162
163 Test 7: SKIP
164 --------
165
166 MySQL server custom configuration not available.
167 Details: The custom configuration for the MySQL server was not found but is
168 optional.
169
170 Test 8: SUCCESS
171 --------
172
173 MySQL server configuration is usable.
174 Details: The MySQL server configuration was found at <a
175 href='/home/paul/.local/share/akonadi/mysql.conf'>/home/paul/.local/share/akonadi/mysql.conf</a>
176 and is readable.
177
178 File content of '/home/paul/.local/share/akonadi/mysql.conf':
179 #
180 # Global Akonadi MySQL server settings,
181 # These settings can be adjusted using
182 $HOME/.config/akonadi/mysql-local.conf
183 #
184 # Based on advice by Kris Köhntopp <kris@×××××.com>
185 #
186 [mysqld]
187 skip_grant_tables
188 skip_networking
189
190 # strict query parsing/interpretation
191 # TODO: make Akonadi work with those settings enabled
192 #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
193 #sql_mode=strict_trans_tables
194
195 # use InnoDB for transactions and better crash recovery
196 default_storage_engine=innodb
197 # case-insensitive table names, avoids trouble on windows
198 lower_case_table_names=1
199 character_set_server=utf8
200 collation_server=utf8_general_ci
201 table_cache=200
202 thread_cache_size=3
203 #log_bin=mysql-bin
204 #expire_logs_days=3
205 #sync_bin_log=0
206 # error log file name, relative to datadir
207 log_error=mysql.err
208 log_warnings=2
209 # log all queries, useful for debugging but generates an enormous amount of
210 data
211 #log=mysql.full
212 # log queries slower than n seconds, log file name relative to datadir (for
213 debugging only)
214 #log_slow_queries=mysql.slow
215 #long_query_time=1
216 # log queries not using indices, debug only, disable for production use
217 #log_queries_not_using_indexes=1
218 # maximum blob size
219 max_allowed_packet=32M
220 max_connections=256
221 # makes sense when having the same query multiple times
222 # makes no sense with prepared statements and/or transactions
223 query_cache_type=0
224 query_cache_size=0
225
226 innodb_file_per_table=1
227 innodb_log_buffer_size=1M
228 innodb_additional_mem_pool_size=1M
229 # messure database size and adjust
230 # SELECT sum(data_length) as bla, sum(index_length) as blub FROM
231 information_schema.tables WHERE table_schema not in ("mysql",
232 "information_schema");
233 innodb_buffer_pool_size=80M
234 # size of average write burst, keep Innob_log_waits small, keep
235 Innodb_buffer_pool_wait_free small (see show global status like "inno%",
236 show global variables)
237 innodb_log_file_size=64M
238 innodb_flush_log_at_trx_commit=2
239
240 # Do not drop the connection to the DB after 8 hours of inactivity
241 wait_timeout=1296000
242
243 [client]
244 default-character-set=utf8
245
246
247 Test 9: SUCCESS
248 --------
249
250 akonadictl found and usable
251 Details: The program '/usr/bin/akonadictl' to control the Akonadi server was
252 found and could be executed successfully.
253 Result:
254 Akonadi 1.4.0
255
256
257 Test 10: ERROR
258 --------
259
260 Akonadi control process not registered at D-Bus.
261 Details: The Akonadi control process is not registered at D-Bus which
262 typically means it was not started or encountered a fatal error during
263 startup.
264
265 Test 11: ERROR
266 --------
267
268 Akonadi server process not registered at D-Bus.
269 Details: The Akonadi server process is not registered at D-Bus which
270 typically means it was not started or encountered a fatal error during
271 startup.
272
273 Test 12: SUCCESS
274 --------
275
276 Nepomuk search service registered at D-Bus.
277 Details: The Nepomuk search service is registered at D-Bus which typically
278 indicates it is operational.
279
280 Test 13: SUCCESS
281 --------
282
283 Nepomuk search service uses an appropriate backend.
284 Details: The Nepomuk search service uses one of the recommended backends.
285
286 Test 14: SKIP
287 --------
288
289 Protocol version check not possible.
290 Details: Without a connection to the server it is not possible to check if
291 the protocol version meets the requirements.
292
293 Test 15: ERROR
294 --------
295
296 No resource agents found.
297 Details: No resource agents have been found, Akonadi is not usable without
298 at least one. This usually means that no resource agents are installed or
299 that there is a setup problem. The following paths have been searched:
300 '/usr/share/akonadi/agents /usr/share/akonadi/agents'. The XDG_DATA_DIRS
301 environment variable is set to '/usr/share:/usr/local/share:/usr/share';
302 make sure this includes all paths where Akonadi agents are installed.
303
304 Directory listing of '/usr/share/akonadi/agents':
305 birthdaysresource.desktop
306 contactsresource.desktop
307 icalresource.desktop
308 imapresource.desktop
309 kabcresource.desktop
310 kcalresource.desktop
311 knutresource.desktop
312 kolabproxyresource.desktop
313 localbookmarksresource.desktop
314 maildirresource.desktop
315 maildispatcheragent.desktop
316 mboxresource.desktop
317 microblog.desktop
318 mtdummyresource.desktop
319 nepomukcalendarfeeder.desktop
320 nepomukcontactfeeder.desktop
321 nepomuktagresource.desktop
322 nntpresource.desktop
323 notesresource.desktop
324 pop3resource.desktop
325 vcarddirresource.desktop
326 vcardresource.desktop
327 Directory listing of '/usr/share/akonadi/agents':
328 birthdaysresource.desktop
329 contactsresource.desktop
330 icalresource.desktop
331 imapresource.desktop
332 kabcresource.desktop
333 kcalresource.desktop
334 knutresource.desktop
335 kolabproxyresource.desktop
336 localbookmarksresource.desktop
337 maildirresource.desktop
338 maildispatcheragent.desktop
339 mboxresource.desktop
340 microblog.desktop
341 mtdummyresource.desktop
342 nepomukcalendarfeeder.desktop
343 nepomukcontactfeeder.desktop
344 nepomuktagresource.desktop
345 nntpresource.desktop
346 notesresource.desktop
347 pop3resource.desktop
348 vcarddirresource.desktop
349 vcardresource.desktop
350
351 Environment variable XDG_DATA_DIRS is set to
352 '/usr/share:/usr/local/share:/usr/share'
353
354 Test 16: ERROR
355 --------
356
357 Current Akonadi server error log found.
358 Details: The Akonadi server reported errors during its current startup. The
359 log can be found in <a
360 href='/home/paul/.local/share/akonadi/akonadiserver.error'>/home/paul/.local/share/akonadi/akonadiserver.error</a>.
361
362 File content of '/home/paul/.local/share/akonadi/akonadiserver.error':
363 Database process exited unexpectedly during initial connection!
364 executable: "/usr/sbin/mysqld"
365 arguments: ("--defaults-file=/home/paul/.local/share/akonadi//mysql.conf",
366 "--datadir", "/home/paul/.local/share/akonadi/db_data/",
367 "--socket=/home/paul/.local/share/akonadi/db_misc/mysql.socket")
368 stdout: ""
369 stderr: ""
370 exit code: 1
371 process error: "Unknown error"
372 "[
373 0: akonadiserver(_Z11akBacktracev+0x32) [0x408b90]
374 1: akonadiserver() [0x408e29]
375 2: /lib/libc.so.6(+0x32520) [0x7fe694d61520]
376 3: /lib/libc.so.6(gsignal+0x35) [0x7fe694d614a5]
377 4: /lib/libc.so.6(abort+0x180) [0x7fe694d62970]
378 5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x6c)
379 [0x7fe695cfe64c]
380 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa5) [0x40977b]
381 7: /usr/lib64/qt4/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x76)
382 [0x7fe695d8a8d6]
383 8: /usr/lib64/qt4/libQtCore.so.4(+0x10ac28) [0x7fe695d97c28]
384 9: /usr/lib64/qt4/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x39) [0x7fe695d98e09]
385 10: akonadiserver(_ZN6QDebugD1Ev+0xf8) [0x407154]
386 11:
387 /usr/lib/libakonadiprivate.so.1(_ZN13DbConfigMysql19startInternalServerEv+0x1c74)
388 [0x7fe6961be3de]
389 12:
390 /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xd4)
391 [0x7fe696165794]
392 13:
393 /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xc7)
394 [0x7fe696166165]
395 14:
396 /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x27)
397 [0x7fe696167011]
398 15: akonadiserver(main+0x243) [0x406b97]
399 16: /lib/libc.so.6(__libc_start_main+0xfd) [0x7fe694d4dbbd]
400 17: akonadiserver() [0x406899]
401 ]
402 "
403
404
405 Test 17: ERROR
406 --------
407
408 Previous Akonadi server error log found.
409 Details: The Akonadi server reported errors during its previous startup. The
410 log can be found in <a
411 href='/home/paul/.local/share/akonadi/akonadiserver.error.old'>/home/paul/.local/share/akonadi/akonadiserver.error.old</a>.
412
413 File content of '/home/paul/.local/share/akonadi/akonadiserver.error.old':
414 Database process exited unexpectedly during initial connection!
415 executable: "/usr/sbin/mysqld"
416 arguments: ("--defaults-file=/home/paul/.local/share/akonadi//mysql.conf",
417 "--datadir", "/home/paul/.local/share/akonadi/db_data/",
418 "--socket=/home/paul/.local/share/akonadi/db_misc/mysql.socket")
419 stdout: ""
420 stderr: ""
421 exit code: 1
422 process error: "Unknown error"
423 "[
424 0: akonadiserver(_Z11akBacktracev+0x32) [0x408b90]
425 1: akonadiserver() [0x408e29]
426 2: /lib/libc.so.6(+0x32520) [0x7f8b2250b520]
427 3: /lib/libc.so.6(gsignal+0x35) [0x7f8b2250b4a5]
428 4: /lib/libc.so.6(abort+0x180) [0x7f8b2250c970]
429 5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x6c)
430 [0x7f8b234a864c]
431 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa5) [0x40977b]
432 7: /usr/lib64/qt4/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x76)
433 [0x7f8b235348d6]
434 8: /usr/lib64/qt4/libQtCore.so.4(+0x10ac28) [0x7f8b23541c28]
435 9: /usr/lib64/qt4/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x39) [0x7f8b23542e09]
436 10: akonadiserver(_ZN6QDebugD1Ev+0xf8) [0x407154]
437 11:
438 /usr/lib/libakonadiprivate.so.1(_ZN13DbConfigMysql19startInternalServerEv+0x1c74)
439 [0x7f8b239683de]
440 12:
441 /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xd4)
442 [0x7f8b2390f794]
443 13:
444 /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xc7)
445 [0x7f8b23910165]
446 14:
447 /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x27)
448 [0x7f8b23911011]
449 15: akonadiserver(main+0x243) [0x406b97]
450 16: /lib/libc.so.6(__libc_start_main+0xfd) [0x7f8b224f7bbd]
451 17: akonadiserver() [0x406899]
452 ]
453 "
454
455
456 Test 18: SUCCESS
457 --------
458
459 No current Akonadi control error log found.
460 Details: The Akonadi control process did not report any errors during its
461 current startup.
462
463 Test 19: SUCCESS
464 --------
465
466 No previous Akonadi control error log found.
467 Details: The Akonadi control process did not report any errors during its
468 previous startup.
469
470
471
472 --
473 Using Opera's revolutionary e-mail client: http://www.opera.com/mail/