Ticket #33998: akonadi-selftest-report-20121026.txt

File akonadi-selftest-report-20121026.txt, 14.4 KB (added by mparchet@…, 12 years ago)
Line 
1Akonadi Server Self-Test Report
2===============================
3
4Test 1:  SUCCESS
5--------
6
7Database driver found.
8Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server configuration and was found on your system.
9
10File content of '/Users/rparchet/.config/akonadi/akonadiserverrc':
11[%General]
12Driver=QMYSQL
13
14[QMYSQL]
15Name=akonadi
16Host="127.0.0.1"
17Options="UNIX_SOCKET=/Users/rparchet/.local/share/akonadi/socket-MacBook-Pro-de-Michael.local/mysql.socket"
18ServerPath=/opt/local/libexec/mysqld
19StartServer=true
20User=root
21Password=BatAdmin
22
23
24Test 2:  SUCCESS
25--------
26
27Akonadi is not running as root
28Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system.
29
30Test 3:  SUCCESS
31--------
32
33MySQL server found.
34Details: You have currently configured Akonadi to use the MySQL server '/opt/local/libexec/mysqld'.
35Make 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.
36
37Test 4:  SUCCESS
38--------
39
40MySQL server is executable.
41Details: MySQL server found: /opt/local/libexec/mysqld  Ver 5.1.66 for apple-darwin12.2.0 on i386 (Source distribution)
42
43
44Test 5:  ERROR
45--------
46
47MySQL server log contains errors.
48Details: The MySQL server error log file &apos;<a href='/Users/rparchet/.local/share/akonadi/db_data/mysql.err'>/Users/rparchet/.local/share/akonadi/db_data/mysql.err</a>&apos; contains errors.
49
50File content of '/Users/rparchet/.local/share/akonadi/db_data/mysql.err':
51121024  0:18:30 [Note] Plugin 'FEDERATED' is disabled.
52121024  0:18:30 [Note] Plugin 'ndbcluster' is disabled.
53121024  0:18:30  InnoDB: Initializing buffer pool, size = 80.0M
54121024  0:18:30  InnoDB: Completed initialization of buffer pool
55121024  0:18:30  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
56InnoDB: Setting log file ./ib_logfile0 size to 64 MB
57InnoDB: Database physically writes the file full: wait...
58121024  0:18:30  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
59InnoDB: Setting log file ./ib_logfile1 size to 64 MB
60InnoDB: Database physically writes the file full: wait...
61InnoDB: Cannot initialize created log files because
62InnoDB: data files are corrupt, or new data files were
63InnoDB: created when the database was started previous
64InnoDB: time but the database was not shut down
65InnoDB: normally after that.
66121024  0:18:31 [ERROR] Plugin 'InnoDB' init function returned error.
67121024  0:18:31 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
68121024  0:18:31 [ERROR] Unknown/unsupported table type: innodb
69121024  0:18:31 [ERROR] Aborting
70
71121024  0:18:31 [Note] /opt/local/libexec/mysqld: Shutdown complete
72
73
74
75Test 6:  SUCCESS
76--------
77
78MySQL server default configuration found.
79Details: The default configuration for the MySQL server was found and is readable at <a href='/opt/local/share/config/akonadi/mysql-global.conf'>/opt/local/share/config/akonadi/mysql-global.conf</a>.
80
81File content of '/opt/local/share/config/akonadi/mysql-global.conf':
82#
83# Global Akonadi MySQL server settings,
84# These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
85#
86# Based on advice by Kris Köhntopp <kris@mysql.com>
87#
88[mysqld]
89
90# strict query parsing/interpretation
91# TODO: make Akonadi work with those settings enabled
92# 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
93# sql_mode=strict_trans_tables
94
95# DEBUGGING:
96# log all queries, useful for debugging but generates an enormous amount of data
97# log=mysql.full
98# log queries slower than n seconds, log file name relative to datadir (for debugging only)
99# log_slow_queries=mysql.slow
100# long_query_time=1
101# log queries not using indices, debug only, disable for production use
102# log_queries_not_using_indexes=1
103#
104# mesure database size and adjust innodb_buffer_pool_size
105# SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");
106
107# NOTES:
108# Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)
109
110#expire_logs_days=3
111
112#sync_bin_log=0
113
114# Use UTF-8 encoding for tables
115character_set_server=utf8
116collation_server=utf8_general_ci
117
118# use InnoDB for transactions and better crash recovery
119default_storage_engine=innodb
120
121# memory pool InnoDB uses to store data dictionary information and other internal data structures (default:1M)
122innodb_additional_mem_pool_size=1M
123
124# memory buffer InnoDB uses to cache data and indexes of its tables (default:128M)
125# Larger values means less I/O
126innodb_buffer_pool_size=80M
127
128# Create a .ibd file for each table (default:0)
129innodb_file_per_table=1
130
131# Write out the log buffer to the log file at each commit (default:1)
132innodb_flush_log_at_trx_commit=2
133
134# Buffer size used to write to the log files on disk (default:1M for builtin, 8M for plugin)
135# larger values means less I/O
136innodb_log_buffer_size=1M
137
138# Size of each log file in a log group (default:5M) larger means less I/O but more time for recovery.
139innodb_log_file_size=64M
140
141# # error log file name, relative to datadir (default:hostname.err)
142log_error=mysql.err
143
144# print warnings and connection errors (default:1)
145log_warnings=2
146
147# Convert table named to lowercase
148lower_case_table_names=1
149
150# Maximum size of one packet or any generated/intermediate string. (default:1M)
151max_allowed_packet=32M
152
153# Maximum simultaneous connections allowed (default:100)
154max_connections=256
155
156# The two options below make no sense with prepared statements and/or transactions
157# (make sense when having the same query multiple times)
158
159# Memory allocated for caching query results (default:0 (disabled))
160query_cache_size=0
161
162# Do not cache results (default:1)
163query_cache_type=0
164
165# Do not use the privileges mechanisms
166skip_grant_tables
167
168# Do not listen for TCP/IP connections at all
169skip_networking
170
171# The number of open tables for all threads. (default:64)
172table_cache=200
173
174# How many threads the server should cache for reuse (default:0)
175thread_cache_size=3
176
177# wait 365d before dropping the DB connection (default:8h)
178wait_timeout=31536000
179
180[client]
181default-character-set=utf8
182
183
184Test 7:  SKIP
185--------
186
187MySQL server custom configuration not available.
188Details: The custom configuration for the MySQL server was not found but is optional.
189
190Test 8:  SUCCESS
191--------
192
193MySQL server configuration is usable.
194Details: The MySQL server configuration was found at <a href='/Users/rparchet/.local/share/akonadi/mysql.conf'>/Users/rparchet/.local/share/akonadi/mysql.conf</a> and is readable.
195
196File content of '/Users/rparchet/.local/share/akonadi/mysql.conf':
197#
198# Global Akonadi MySQL server settings,
199# These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
200#
201# Based on advice by Kris Köhntopp <kris@mysql.com>
202#
203[mysqld]
204
205# strict query parsing/interpretation
206# TODO: make Akonadi work with those settings enabled
207# 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
208# sql_mode=strict_trans_tables
209
210# DEBUGGING:
211# log all queries, useful for debugging but generates an enormous amount of data
212# log=mysql.full
213# log queries slower than n seconds, log file name relative to datadir (for 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#
219# mesure database size and adjust innodb_buffer_pool_size
220# SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");
221
222# NOTES:
223# Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)
224
225#expire_logs_days=3
226
227#sync_bin_log=0
228
229# Use UTF-8 encoding for tables
230character_set_server=utf8
231collation_server=utf8_general_ci
232
233# use InnoDB for transactions and better crash recovery
234default_storage_engine=innodb
235
236# memory pool InnoDB uses to store data dictionary information and other internal data structures (default:1M)
237innodb_additional_mem_pool_size=1M
238
239# memory buffer InnoDB uses to cache data and indexes of its tables (default:128M)
240# Larger values means less I/O
241innodb_buffer_pool_size=80M
242
243# Create a .ibd file for each table (default:0)
244innodb_file_per_table=1
245
246# Write out the log buffer to the log file at each commit (default:1)
247innodb_flush_log_at_trx_commit=2
248
249# Buffer size used to write to the log files on disk (default:1M for builtin, 8M for plugin)
250# larger values means less I/O
251innodb_log_buffer_size=1M
252
253# Size of each log file in a log group (default:5M) larger means less I/O but more time for recovery.
254innodb_log_file_size=64M
255
256# # error log file name, relative to datadir (default:hostname.err)
257log_error=mysql.err
258
259# print warnings and connection errors (default:1)
260log_warnings=2
261
262# Convert table named to lowercase
263lower_case_table_names=1
264
265# Maximum size of one packet or any generated/intermediate string. (default:1M)
266max_allowed_packet=32M
267
268# Maximum simultaneous connections allowed (default:100)
269max_connections=256
270
271# The two options below make no sense with prepared statements and/or transactions
272# (make sense when having the same query multiple times)
273
274# Memory allocated for caching query results (default:0 (disabled))
275query_cache_size=0
276
277# Do not cache results (default:1)
278query_cache_type=0
279
280# Do not use the privileges mechanisms
281skip_grant_tables
282
283# Do not listen for TCP/IP connections at all
284skip_networking
285
286# The number of open tables for all threads. (default:64)
287table_cache=200
288
289# How many threads the server should cache for reuse (default:0)
290thread_cache_size=3
291
292# wait 365d before dropping the DB connection (default:8h)
293wait_timeout=31536000
294
295[client]
296default-character-set=utf8
297
298
299Test 9:  SUCCESS
300--------
301
302akonadictl found and usable
303Details: The program '/opt/local/bin/akonadictl' to control the Akonadi server was found and could be executed successfully.
304Result:
305Akonadi 1.7.2
306
307
308Test 10:  ERROR
309--------
310
311Akonadi control process not registered at D-Bus.
312Details: The Akonadi control process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.
313
314Test 11:  ERROR
315--------
316
317Akonadi server process not registered at D-Bus.
318Details: The Akonadi server process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.
319
320Test 12:  ERROR
321--------
322
323Nepomuk search service not registered at D-Bus.
324Details: The Nepomuk search service is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.
325
326Test 13:  SKIP
327--------
328
329Protocol version check not possible.
330Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements.
331
332Test 14:  ERROR
333--------
334
335No resource agents found.
336Details: 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: '/opt/local/share/akonadi/agents'. The XDG_DATA_DIRS environment variable is set to ''; make sure this includes all paths where Akonadi agents are installed.
337
338Directory listing of '/opt/local/share/akonadi/agents':
339akonadinepomukfeederagent.desktop
340akonotesresource.desktop
341birthdaysresource.desktop
342calendarsearchagent.desktop
343contactsresource.desktop
344davgroupwareresource.desktop
345icalresource.desktop
346imapresource.desktop
347invitationsagent.desktop
348kabcresource.desktop
349kalarmdirresource.desktop
350kalarmresource.desktop
351kcalresource.desktop
352kdeaccountsresource.desktop
353knutresource.desktop
354kolabproxyresource.desktop
355localbookmarksresource.desktop
356maildirresource.desktop
357maildispatcheragent.desktop
358mailfilteragent.desktop
359mboxresource.desktop
360microblog.desktop
361mixedmaildirresource.desktop
362mtdummyresource.desktop
363nepomuktagresource.desktop
364nntpresource.desktop
365notesresource.desktop
366openxchangeresource.desktop
367pop3resource.desktop
368vcarddirresource.desktop
369vcardresource.desktop
370
371Environment variable XDG_DATA_DIRS is set to ''
372
373Test 15:  ERROR
374--------
375
376Current Akonadi server error log found.
377Details: The Akonadi server reported errors during its current startup. The log can be found in <a href='/Users/rparchet/.local/share/akonadi/akonadiserver.error'>/Users/rparchet/.local/share/akonadi/akonadiserver.error</a>.
378
379File content of '/Users/rparchet/.local/share/akonadi/akonadiserver.error':
380Akonadi control process not found - aborting.
381If you started akonadiserver manually, try 'akonadictl start' instead.
382"[
3830: 0   akonadiserver                       0x0000000107ef807b _Z11akBacktracev + 75
3841: 1   akonadiserver                       0x0000000107ef8396 _ZL19defaultCrashHandleri + 86
3852: 2   libsystem_c.dylib                   0x00007fff9733c8ea _sigtramp + 26
3863: 3   ???                                 0x00007fff00000000 0x0 + 140733193388032
3874: 4   libsystem_c.dylib                   0x00007fff97393dce abort + 143
3885: 5   QtCore                              0x00000001080d7b6a _Z17qt_message_output9QtMsgTypePKc + 154
3896: 6   akonadiserver                       0x0000000107ef9df9 _ZN15FileDebugStream9writeDataEPKcx + 153
3907: 7   QtCore                              0x000000010816e82a _ZN9QIODevice5writeEPKcx + 202
3918: 8   QtCore                              0x00000001081764f1 _ZN18QTextStreamPrivate16flushWriteBufferEv + 241
3929: 9   QtCore                              0x0000000108177180 _ZN11QTextStreamD2Ev + 48
39310: 10  akonadiserver                       0x0000000107ef3610 _ZN6QDebugD2Ev + 240
39411: 11  akonadiserver                       0x0000000107ef2818 main + 696
39512: 12  libdyld.dylib                       0x00007fff8e6107e1 start + 0
39613: 13  ???                                 0x0000000000000001 0x0 + 1
397]
398"
399
400
401Test 16:  SUCCESS
402--------
403
404No previous Akonadi server error log found.
405Details: The Akonadi server did not report any errors during its previous startup.
406
407Test 17:  SUCCESS
408--------
409
410No current Akonadi control error log found.
411Details: The Akonadi control process did not report any errors during its current startup.
412
413Test 18:  SUCCESS
414--------
415
416No previous Akonadi control error log found.
417Details: The Akonadi control process did not report any errors during its previous startup.
418