Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Akonadi crashes Martin DiViaio <martindiv@×××××.com>