Gentoo Archives: gentoo-user

From: Martin DiViaio <martindiv@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Akonadi crashes
Date: Thu, 15 Jul 2010 19:57:48
Message-Id: 392798.63063.qm@web38301.mail.mud.yahoo.com
In Reply to: Re: [gentoo-user] Akonadi crashes by Mick
1 Dumb question: Is dbus running?
2
3
4
5
6 ----- Original Message ----
7 From: Mick <michaelkintzios@×××××.com>
8 To: gentoo-user@l.g.o
9 Sent: Thu, July 15, 2010 10:04:08 AM
10 Subject: Re: [gentoo-user] Akonadi crashes
11
12 On 15 July 2010 06:53, Mick <michaelkintzios@×××××.com> wrote:
13
14 OK, the plot thickens ... I think more things have gone amiss with my
15 system. Some sort of corruption perhaps.
16
17 I moved the akonadi database and the next time I logged in and started
18 kmail the akonadi did its tests and the came up with this error (see
19 Test 10):
20 ===========================
21
22
23 Akonadi Server Self-Test Report
24 ===============================
25
26 Test 1: SUCCESS
27 --------
28
29 Database driver found.
30 Details: The QtSQL driver 'QSQLITE' is required by your current
31 Akonadi server configuration and was found on your system.
32
33 File content of '/home/michael/.config/akonadi/akonadiserverrc':
34 [%General]
35 Driver=QSQLITE
36 SizeThreshold=4096
37 ExternalPayload=false
38
39 [QSQLITE]
40 Name=/home/michael/.local/share/akonadi/akonadi.db
41 User=
42 Password=
43 Options=
44 StartServer=false
45 Host=
46
47 [Debug]
48 Tracer=null
49
50 [QMYSQL]
51 StartServer=true
52 ServerPath=/usr/bin/sqlite3
53 Name=akonadi
54 Host=
55 User=
56 Password=
57 Options=
58
59
60 Test 2: SKIP
61 --------
62
63 MySQL server executable not tested.
64 Details: The current configuration does not require an internal MySQL server.
65
66 Test 3: SKIP
67 --------
68
69 MySQL server error log not tested.
70 Details: The current configuration does not require an internal MySQL server.
71
72 Test 4: SKIP
73 --------
74
75 MySQL server configuration not tested.
76 Details: The current configuration does not require an internal MySQL server.
77
78 Test 5: SUCCESS
79 --------
80
81 akonadictl found and usable
82 Details: The program '/usr/bin/akonadictl' to control the Akonadi
83 server was found and could be executed successfully.
84 Result:
85 Akonadi 1.3.1
86
87
88 Test 6: ERROR
89 --------
90
91 Akonadi control process not registered at D-Bus.
92 Details: The Akonadi control process is not registered at D-Bus which
93 typically means it was not started or encountered a fatal error during
94 startup.
95
96 Test 7: ERROR
97 --------
98
99 Akonadi server process not registered at D-Bus.
100 Details: The Akonadi server process is not registered at D-Bus which
101 typically means it was not started or encountered a fatal error during
102 startup.
103
104 Test 8: ERROR
105 --------
106
107 Nepomuk search service not registered at D-Bus.
108 Details: The Nepomuk search service is not registered at D-Bus which
109 typically means it was not started or encountered a fatal error during
110 startup.
111
112 Test 9: SKIP
113 --------
114
115 Protocol version check not possible.
116 Details: Without a connection to the server it is not possible to
117 check if the protocol version meets the requirements.
118
119 Test 10: ERROR
120 --------
121
122 No resource agents found.
123 Details: No resource agents have been found, Akonadi is not usable
124 without at least one. This usually means that no resource agents are
125 installed or that there is a setup problem. The following paths have
126 been searched: '/usr/share/akonadi/agents'. The XDG_DATA_DIRS
127 environment variable is set to '/usr/local/share:/usr/share', make
128 sure this includes all paths where Akonadi agents are installed to.
129
130 Directory listing of '/usr/share/akonadi/agents':
131 birthdaysresource.desktop
132 contactsresource.desktop
133 icalresource.desktop
134 imapresource.desktop
135 kabcresource.desktop
136 kcalresource.desktop
137 knutresource.desktop
138 kolabproxyresource.desktop
139 localbookmarksresource.desktop
140 maildirresource.desktop
141 maildispatcheragent.desktop
142 mboxresource.desktop
143 microblog.desktop
144 mtdummyresource.desktop
145 nepomukcalendarfeeder.desktop
146 nepomukcontactfeeder.desktop
147 nepomuktagresource.desktop
148 nntpresource.desktop
149 notesresource.desktop
150 pop3resource.desktop
151 vcarddirresource.desktop
152 vcardresource.desktop
153
154 Environment variable XDG_DATA_DIRS is set to '/usr/local/share:/usr/share'
155
156 Test 11: ERROR
157 --------
158
159 Current Akonadi server error log found.
160 Details: The Akonadi server did report error during startup into <a
161 href='/home/michael/.local/share/akonadi/akonadiserver.error'>/home/michael/.local/share/akonadi/akonadiserver.error</a>.
162
163
164 File content of '/home/michael/.local/share/akonadi/akonadiserver.error':
165 "Unable to add initial data to table 'ResourceTable'.
166 Query error: 'no such column: true Unable to execute statement'
167 Query was: INSERT INTO ResourceTable (name,isVirtual) VALUES
168 ('akonadi_search_resource',true)"
169 Unable to initialize database.
170 "[
171 0: akonadiserver(_Z11akBacktracev+0x39) [0x40b9b9]
172 1: akonadiserver() [0x40bf02]
173 2: /lib/libc.so.6(+0x32230) [0x7fbe8374a230]
174 3: /lib/libc.so.6(gsignal+0x35) [0x7fbe8374a1b5]
175 4: /lib/libc.so.6(abort+0x180) [0x7fbe8374b5e0]
176 5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74)
177 [0x7fbe8562b444]
178 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40d008]
179 7: /usr/lib64/qt4/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x77) [0x7fbe856b9b17]
180 8: /usr/lib64/qt4/libQtCore.so.4(+0x1111b9) [0x7fbe856cb1b9]
181 9: /usr/lib64/qt4/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x39) [0x7fbe856cc3a9]
182 10: akonadiserver(_ZN6QDebugD1Ev+0x49) [0x407559]
183 11:
184 /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x5f4)
185 [0x7fbe85a9b0a4]
186 12:
187 /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x4a)
188 [0x7fbe85a9be4a]
189 13: akonadiserver(main+0x3aa) [0x406bea]
190 14: /lib/libc.so.6(__libc_start_main+0xfd) [0x7fbe83736bbd]
191 15: akonadiserver() [0x406749]
192 ]
193 "
194
195
196 Test 12: ERROR
197 --------
198
199 Previous Akonadi server error log found.
200 Details: The Akonadi server did report error during its previous
201 startup into <a
202 href='/home/michael/.local/share/akonadi/akonadiserver.error.old'>/home/michael/.local/share/akonadi/akonadiserver.error.old</a>.
203
204
205 File content of '/home/michael/.local/share/akonadi/akonadiserver.error.old':
206 "Unable to add initial data to table 'ResourceTable'.
207 Query error: 'no such column: true Unable to execute statement'
208 Query was: INSERT INTO ResourceTable (name,isVirtual) VALUES
209 ('akonadi_search_resource',true)"
210 Unable to initialize database.
211 "[
212 0: akonadiserver(_Z11akBacktracev+0x39) [0x40b9b9]
213 1: akonadiserver() [0x40bf02]
214 2: /lib/libc.so.6(+0x32230) [0x7f90d82a6230]
215 3: /lib/libc.so.6(gsignal+0x35) [0x7f90d82a61b5]
216 4: /lib/libc.so.6(abort+0x180) [0x7f90d82a75e0]
217 5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74)
218 [0x7f90da187444]
219 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40d008]
220 7: /usr/lib64/qt4/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x77) [0x7f90da215b17]
221 8: /usr/lib64/qt4/libQtCore.so.4(+0x1111b9) [0x7f90da2271b9]
222 9: /usr/lib64/qt4/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x39) [0x7f90da2283a9]
223 10: akonadiserver(_ZN6QDebugD1Ev+0x49) [0x407559]
224 11:
225 /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x5f4)
226 [0x7f90da5f70a4]
227 12:
228 /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x4a)
229 [0x7f90da5f7e4a]
230 13: akonadiserver(main+0x3aa) [0x406bea]
231 14: /lib/libc.so.6(__libc_start_main+0xfd) [0x7f90d8292bbd]
232 15: akonadiserver() [0x406749]
233 ]
234 "
235
236
237 Test 13: SUCCESS
238 --------
239
240 No current Akonadi control error log found.
241 Details: The Akonadi control process did not report any errors during
242 its current startup.
243
244 Test 14: SUCCESS
245 --------
246
247 No previous Akonadi control error log found.
248 Details: The Akonadi control process did not report any errors during
249 its previous startup.
250 ===========================
251
252 As the results of test 10 say it seems that something has gone
253 sideways with the resource agents. Is this an environment problem?
254 This is what I have under /usr/share/akonadi/agents, which akonadi
255 tells me that is has searched:
256
257 $ ls -la /usr/share/akonadi/agents
258 total 92
259 drwxr-xr-x 2 root root 24 Jun 25 13:04 .
260 drwxr-xr-x 3 root root 3 Jun 9 22:54 ..
261 -rw-r--r-- 1 root root 6595 May 28 10:43 birthdaysresource.desktop
262 -rw-r--r-- 1 root root 3277 May 28 10:43 contactsresource.desktop
263 -rw-r--r-- 1 root root 3715 Feb 26 18:34 icalresource.desktop
264 -rw-r--r-- 1 root root 3303 Apr 29 20:57 imapresource.desktop
265 -rw-r--r-- 1 root root 4728 Apr 29 20:57 kabcresource.desktop
266 -rw-r--r-- 1 root root 4775 Feb 26 18:34 kcalresource.desktop
267 -rw-r--r-- 1 root root 2656 Feb 26 18:34 knutresource.desktop
268 -rw-r--r-- 1 root root 5811 Apr 29 20:57 kolabproxyresource.desktop
269 -rw-r--r-- 1 root root 3907 Mar 26 17:29 localbookmarksresource.desktop
270 -rw-r--r-- 1 root root 3341 Jan 19 23:22 maildirresource.desktop
271 -rw-r--r-- 1 root root 1476 Apr 29 20:57 maildispatcheragent.desktop
272 -rw-r--r-- 1 root root 2837 May 28 10:43 mboxresource.desktop
273 -rw-r--r-- 1 root root 4673 Apr 29 20:57 microblog.desktop
274 -rw-r--r-- 1 root root 4050 Apr 29 20:57 mtdummyresource.desktop
275 -rw-r--r-- 1 root root 4401 Apr 29 20:57 nepomukcalendarfeeder.desktop
276 -rw-r--r-- 1 root root 4132 Feb 4 09:33 nepomukcontactfeeder.desktop
277 -rw-r--r-- 1 root root 5253 Feb 26 18:34 nepomuktagresource.desktop
278 -rw-r--r-- 1 root root 4416 Feb 26 18:34 nntpresource.desktop
279 -rw-r--r-- 1 root root 3552 Mar 26 17:29 notesresource.desktop
280 -rw-r--r-- 1 root root 2495 May 28 10:43 pop3resource.desktop
281 -rw-r--r-- 1 root root 3629 Feb 26 18:34 vcarddirresource.desktop
282 -rw-r--r-- 1 root root 3129 Feb 26 18:34 vcardresource.desktop
283
284 Now kmail crashes immediately after I acknowledge the akonadi self
285 test popup, so I can't use my mail. :-(
286
287 Any ideas?
288 --
289 Regards,
290 Mick

Replies

Subject Author
Re: [gentoo-user] Akonadi crashes Mick <michaelkintzios@×××××.com>