![]() Registered Member ![]()
|
I thought I'd give KMail a shot. I already set up an e-mail account, but never downloaded all of my e-mails. I wanted to do so today, and I was told there is an error when trying to start Akonadi server. I'm not using Bugzilla, because it is something propably simple. I think the best solution would be to purge all KMail's Akonadi data and configuration and start over.
here's the error log: http://pastebin.ca/1807279 |
![]() Administrator ![]()
|
Please replace the content of ~/.local/share/akonadi/mysql.conf with the following, then remove ~/.local/share/akonadi/db_data and try again
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Looks like still the same problem:
http://pastebin.ca/1807868 http://img695.imageshack.us/img695/1522/akonadierr.png |
![]() KDE Developer ![]()
|
from your test #14:
Is kdepim-runtime installed ? You may also run the command mentioned here: http://userbase.kde.org/Akonadi#Table_. ... .27t_exist that should resolve the test #4 errors.
Akonadi user FAQ: http://userbase.kde.org/Akonadi
|
![]() Registered Member ![]()
|
kdepim-runtime was not installed. Slightly different errors now:
http://pastebin.ca/1808241 These MySQL tips didn't help. This error #4 is still in there. My /home/warnec/.local/share/akonadi/db_data/mysql.err: http://pastebin.ca/1808246 'akonadictl start' output: http://pastebin.ca/1808250 |
![]() Administrator ![]()
|
Please remove the folder: $HOME/.local/share/akonadi/db_data
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks! Seems to work now. I was sure I've done that, that's why I posted it still doesn't work... Sorry!
Thanks once again for helping me ![]() |
![]() Registered Member ![]()
|
KDE 4.4.00
Kubuntu 9.10 32-bit I've done what was identified at http://userbase.kde.org/Akonadi#Table_. ... .27t_exist I have to manually start the Akonadi Server via the Akonaditray application and then click on Configuration and double-click on Personal Contacts, click OK and OK to get it 'on-line' so my mail contacts are available. Akonadi Server Self-Test still shows errors at: Test 4: ERROR -------- MySQL server log contains errors. Details: The MySQL server error log file '<a href='/home/paul/.local/share/akonadi/db_data/mysql.err'>/home/paul/.local/share/akonadi/db_data/mysql.err</a>' contains errors. File content of '/home/paul/.local/share/akonadi/db_data/mysql.err': 100226 11:41:07 [Note] Plugin 'FEDERATED' is disabled. InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 100226 11:41:07 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... InnoDB: Last MySQL binlog file position 0 24443, file name ./mysql-bin.000050 100226 11:41:08 InnoDB: Started; log sequence number 0 889092 100226 11:41:08 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them 100226 11:41:08 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist 100226 11:41:08 [ERROR] Cannot open mysql.db 100226 11:41:08 [ERROR] Cannot open mysql.user 100226 11:41:08 [ERROR] Cannot open mysql.event 100226 11:41:08 [ERROR] Event Scheduler: An error occurred when initializing system tables. 100226 11:41:08 [Note] /usr/sbin/mysqld-akonadi: ready for connections. Version: '5.1.37-1ubuntu5-log' socket: '/home/paul/.local/share/akonadi/db_misc/mysql.socket' port: 0 (Ubuntu) I would very much like specific guidance/instructions on how to remedy this. I am of the opinion that properly configured and setup, there should be no reported errors in the self-test. What can I provide to assist in this?
Administrator
Kubuntu Forums . Net - https://kubuntuforums.net |
![]() Registered Member ![]()
|
Well, it appears that I am wrong here. I've tested the following twice, and both times Akonadi started and my Mail Contacts when clicked, displayed as expected.
What I tested: Close Kontact. Reboot. Login (KDM) When Desktop is present, launch Kontact (K Menu) Akonadi started - saw the progress bar. Verified it was running by right-clicking on Akonaditray (System Tray) Kontact started Mail and KOrganizer. I allowed KOrganizer notification on the Panel to disappear - a few seconds. Clicked on Contacts and it displayed as expected without error. Repeat test. Same results. So, it all works as expected. However, testing the Akonadi Server still shows: Test 4: ERROR -------- MySQL server log contains errors. Details: The MySQL server error log file '<a href='/home/paul/.local/share/akonadi/db_data/mysql.err'>/home/paul/.local/share/akonadi/db_data/mysql.err</a>' contains errors. File content of '/home/paul/.local/share/akonadi/db_data/mysql.err': 100226 16:42:13 [Note] Plugin 'FEDERATED' is disabled. 100226 16:42:14 InnoDB: Started; log sequence number 0 931207 100226 16:42:14 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them 100226 16:42:14 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist 100226 16:42:14 [ERROR] Cannot open mysql.db 100226 16:42:14 [ERROR] Cannot open mysql.user 100226 16:42:14 [ERROR] Cannot open mysql.event 100226 16:42:14 [ERROR] Event Scheduler: An error occurred when initializing system tables. 100226 16:42:14 [Note] /usr/sbin/mysqld-akonadi: ready for connections. Version: '5.1.37-1ubuntu5-log' socket: '/home/paul/.local/share/akonadi/db_misc/mysql.socket' port: 0 (Ubuntu) And this I would still like a remedy for.
Administrator
Kubuntu Forums . Net - https://kubuntuforums.net |
![]() Manager ![]()
|
Was there any message about and old mysql log? I'm just wondering if this is reporting errors in your old one, rather than the new one. That might be something you could check. If the error doesn't exist in the newest one, just delete the older one.
annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org |
![]() Registered Member ![]()
|
Giving this a try. Deleted the mysql.err* files (two - mysql.err and mysql.err.old) along with mysql.slow. Going to close Kontact and restart my PC and see what happens when I launch Kontact.
Administrator
Kubuntu Forums . Net - https://kubuntuforums.net |
![]() Registered Member ![]()
|
Performed a shutdown (power off). From a cold start, when the desktop was present, I launched Kontact. Did not see the Akonadi status bar indicator, as I have seen previously. Saw KOrganizer and Kmail being started. Switched to the desktop I have Kontact running in and clicked on Contacts. Displayed correctly without the Akonadi error.
.local/share/akonadi/db_data had a 'new' mysql.err file with the following contents:
This is of course, from Test #4 on the Akonadi Server Self-Test. So this issue remains. How do I get it resolved?
Administrator
Kubuntu Forums . Net - https://kubuntuforums.net |
![]() Administrator ![]()
|
Have you replaced the contents of mysql.conf as stated here? viewtopic.php?f=20&t=86097#p149114
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Yes. Updated the mlocate database (updatedb) and did a locate on the files identified in the error:
They do not exist on my system. What, and how, were/are they supposed to be created? I'm obviously missing something.
Administrator
Kubuntu Forums . Net - https://kubuntuforums.net |
![]() Administrator ![]()
|
They aren't files, they are tables of a database "mysql" which is used for internal MySQL uses. Did you remove ~/.local/share/akonadi/db_data after replacing your mysql.conf file?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], blue_bullet, Google [Bot], Sogou [Bot]