Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: akonadi ... don't you just love it?
Date: Mon, 11 Aug 2014 19:32:38
Message-Id: 201408112006.18020.michaelkintzios@gmail.com
In Reply to: [gentoo-user] akonadi ... don't you just love it? by Mick
1 On Saturday 09 Aug 2014 21:00:48 Mick wrote:
2 > First some general observations that relate to kmail2:
3 >
4 > I thought of giving the latest kmail-4.12.5 a spin. So installed it on a
5 > machine and set up a couple of IMAP4 servers to get messages from. An
6 > account with a messages in the low hundreds works fine. An account with
7 > messages in the 100k plus range works like a dog. While kmail fetches
8 > headers and then akonadi sets off to organise threads and whatever else it
9 > wants to do the application becomes pretty much unresponsive and the CPU
10 > climbs up to 98%. Half an hour later I can get back to it. :-@
11 >
12 > Anyway, this is not the current problem. I updated mysql to 5.5.39, then I
13 > kmail would not start with akonadi failing with "mysql log containing
14 > errors". So I ran:
15 >
16 > mysql_upgrade --socket=/tmp/akonadi-michael.NFvLpB/mysql.socket
17 >
18 > which completed without an error. Kmail still failed to start. Trying to
19 > start akonadi console states:
20 >
21 > "Failed to connect to database. Driver not loaded"
22 >
23 > Then the pop up Details window says MySQL log contains errors, just like
24 > when I try to start kmail. This is what I see in
25 > .local/share/akonadi/db_data/mysql.err:
26 >
27 > InnoDB: Unable to lock ./ibdata1, error: 11
28 > InnoDB: Check that you do not already have another mysqld process
29 > InnoDB: using the same InnoDB data or log files.
30 > InnoDB: Unable to lock ./ibdata1, error: 11
31 > InnoDB: Check that you do not already have another mysqld process
32 > InnoDB: using the same InnoDB data or log files.
33 > 140809 20:58:42 InnoDB: Unable to open the first data file
34 > InnoDB: Error in opening ./ibdata1
35 > 140809 20:58:42 InnoDB: Operating system error number 11 in a file
36 > operation. InnoDB: Error number 11 means 'Resource temporarily
37 > unavailable'.
38 > InnoDB: Some operating system error numbers are described at
39 > InnoDB:
40 > http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html
41 > 140809 20:58:42 InnoDB: Could not open or create data files.
42 > 140809 20:58:42 InnoDB: If you tried to add new data files, and it failed
43 > here,
44 > 140809 20:58:42 InnoDB: you should now edit innodb_data_file_path in my.cnf
45 > back
46 > 140809 20:58:42 InnoDB: to what it was, and remove the new ibdata files
47 > InnoDB created
48 > 140809 20:58:42 InnoDB: in this failed attempt. InnoDB only wrote those
49 > files full of
50 > 140809 20:58:42 InnoDB: zeros, but did not yet use them in any way. But be
51 > careful: do not
52 > 140809 20:58:42 InnoDB: remove old data files which contain your precious
53 > data!
54 > 140809 20:58:42 [ERROR] Plugin 'InnoDB' init function returned error.
55 > 140809 20:58:42 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE
56 > failed.
57 > 140809 20:58:42 [ERROR] Unknown/unsupported storage engine: innodb
58 > 140809 20:58:42 [ERROR] Aborting
59 >
60 >
61 > So I moved ./ibdata* and tried again with the same error. Is there
62 > something else I should be doing here to get this going?
63
64
65 Kids, when in doubt, go back to the basics! :-p
66
67 I thought that I *had* run revdep-rebuild, but perhaps I am losing count with
68 the different machines I look after? Ha, ha!
69
70 Anyway, after another irrelevant update today revdep-rebuild showed this:
71 ========================================================================
72 * Checking dynamic linking consistency
73 [ 33% ] * broken /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so (requires
74 libmysqlclient_r.so.16)
75 [ 85% ] * broken /usr/lib64/qt4/plugins/sqldrivers/libqsqlmysql.so
76 (requires libmysqlclient_r.so.16)
77 [ 100% ]
78 * Generated new 3_broken.rr
79 * Assigning files to packages
80 * /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so -> dev-qt/qtsql
81 * /usr/lib64/qt4/plugins/sqldrivers/libqsqlmysql.so -> dev-qt/qtsql
82 * Generated new 4_raw.rr and 4_owners.rr
83 * Cleaning list of packages to rebuild
84 * Generated new 4_pkgs.rr
85 * Assigning packages to ebuilds
86 * Generated new 4_ebuilds.rr
87 * Evaluating package order
88 * Generated new 5_order.rr
89 * All prepared. Starting rebuild
90 emerge --complete-graph=y --oneshot --verbose -a dev-qt/qtsql:4
91 ========================================================================
92
93 Now all works as expected - apologies for the noise!
94
95 --
96 Regards,
97 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Re: akonadi ... don't you just love it? Neil Bothwick <neil@××××××××××.uk>