[kmail2] [Bug 395138] Unable to launch kmail on kde neon, akonadi crash

2018-06-14 Thread Alan Pope
https://bugs.kde.org/show_bug.cgi?id=395138

--- Comment #10 from Alan Pope  ---
alan@KinkPad-K450:~$ sudo aa-complain mysqld-akonadi 
[sudo] password for alan: 
Setting /usr/sbin/mysqld-akonadi to complain mode.
alan@KinkPad-K450:~$ sudo /etc/init.d/apparmor reload
[ ok ] Reloading apparmor configuration (via systemctl): apparmor.service.
alan@KinkPad-K450:~$ akonadictl start 
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
alan@KinkPad-K450:~$ org.kde.pim.akonadiserver: database server stopped
unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial
connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld-akonadi"
org.kde.pim.akonadiserver: arguments:
("--defaults-file=/home/alan/.local/share/akonadi/mysql.conf",
"--datadir=/home/alan/.local/share/akonadi/db_data/",
"--socket=/tmp/akonadi-alan.Jv7DW9/mysql.socket",
"--pid-file=/tmp/akonadi-alan.Jv7DW9/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "180614 12:28:39 [Note] /usr/sbin/mysqld
(mysqld 10.0.34-MariaDB-0ubuntu0.16.04.1) starting as process 27655 ...\n180614
12:28:39 [Warning] Can't create test file
/home/alan/.local/share/akonadi/db_data/KinkPad-K450.lower-test\n\x07/usr/sbin/mysqld:
Can't change dir to '/home/alan/.local/share/akonadi/db_data/' (Errcode: 2 \"No
such file or directory\")\n180614 12:28:39 [ERROR] Aborting\n\n180614 12:28:39
[Note] /usr/sbin/mysqld: Shutdown complete\n\n"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 395138] Unable to launch kmail on kde neon, akonadi crash

2018-06-14 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=395138

--- Comment #9 from Christophe Giboudeaux  ---
Any luck with sudo aa-complain mysqld-akonadi ?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 395138] Unable to launch kmail on kde neon, akonadi crash

2018-06-14 Thread Alan Pope
https://bugs.kde.org/show_bug.cgi?id=395138

--- Comment #8 from Alan Pope  ---
Apologies for the delay.

aa-complain didn't work until I installed apparmor-utils.
Then it failed because mysqld wasn't found.
I don't appear to have mysql server installed.
Looks like I've got mariadb installed.

alan@KinkPad-K450:~$ dpkg -S /usr/sbin/mysqld
mariadb-server-core-10.0: /usr/sbin/mysqld

alan@KinkPad-K450:~$ sudo aa-complain mysqld
Profile for /usr/sbin/mysqld not found, skipping

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 395138] Unable to launch kmail on kde neon, akonadi crash

2018-06-13 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=395138

Christophe Giboudeaux  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #7 from Christophe Giboudeaux  ---
Ping? any news?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 395138] Unable to launch kmail on kde neon, akonadi crash

2018-06-10 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=395138

--- Comment #6 from Christophe Giboudeaux  ---
and if that's still not enough, also run:
sudo aa-complain mysqld-akonadi and sudo /etc/init.d/apparmor reload

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 395138] Unable to launch kmail on kde neon, akonadi crash

2018-06-10 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=395138

--- Comment #5 from Christophe Giboudeaux  ---
forgot one command, sorry :
sudo aa-complain mysqld
sudo /etc/init.d/apparmor reload

and akonadictl start after that

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 395138] Unable to launch kmail on kde neon, akonadi crash

2018-06-10 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=395138

--- Comment #4 from Christophe Giboudeaux  ---
The ubuntu people never learn...

Try that please:

sudo aa-complain mysqld then retry akonadictl start

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 395138] Unable to launch kmail on kde neon, akonadi crash

2018-06-10 Thread Alan Pope
https://bugs.kde.org/show_bug.cgi?id=395138

--- Comment #3 from Alan Pope  ---
Yes, in my dmesg I see the following.

[Sat Jun  9 10:26:18 2018] audit: type=1400 audit(1528636826.531:499):
apparmor="DENIED" operation="open"
profile="/usr/sbin/mysqld-akonadi///usr/sbin/mysqld"
name="/etc/mysql/mariadb.cnf" pid=4525 comm="mysqld" requested_mask="r"
denied_mask="r" fsuid=1000 ouid=0

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 395138] Unable to launch kmail on kde neon, akonadi crash

2018-06-10 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=395138

--- Comment #2 from Christophe Giboudeaux  ---
Is there anything special in your dmesg output after running akonadictl start ?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 395138] Unable to launch kmail on kde neon, akonadi crash

2018-06-09 Thread Pascalio
https://bugs.kde.org/show_bug.cgi?id=395138

Pascalio  changed:

   What|Removed |Added

 CC||pasca...@protonmail.com

--- Comment #1 from Pascalio  ---
I started having the same problem (with anything that requires akonadi) in
Kubuntu 17.10.

$ akonadictl start
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial
connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld-akonadi"
org.kde.pim.akonadiserver: arguments:
("--defaults-file=/home/pascalio/.local/share/akonadi/mysql.conf",
"--datadir=/home/pascalio/.local/share/akonadi/db_data/",
"--socket=/tmp/akonadi-pascalio.OxIIAQ/mysql.socket",
"--pid-file=/tmp/akonadi-pascalio.OxIIAQ/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: ""
org.kde.pim.akonadiserver: exit code: 2
org.kde.pim.akonadiserver: process error: "Unknown error"
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/tmp/akonadi-pascalio.OxIIAQ/mysql.socket' (2)'
Check that mysqld is running and that the socket:
'/tmp/akonadi-pascalio.OxIIAQ/mysql.socket' exists!
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...

-- 
You are receiving this mail because:
You are watching all bug changes.