LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-02-2023, 11:52 PM   #1
litelinux
Member
 
Registered: Sep 2018
Location: Taipei/Taichung, TW
Distribution: Slackware
Posts: 105

Rep: Reputation: 58
Akonadi crashing on -current


Hello,

I tried to run KMail today, and it doesn't run, stating that the Akonadi server is not running. Manually starting Akonadi with
Code:
akonadictl start
yields the following output:

Code:
org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadictl:    done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
~ $ org.kde.pim.akonadiserver: Starting up the Akonadi Server...
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/libexec/mysqld"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/ltlnx/.local/share/akonadi/mysql.conf", "--datadir=/home/ltlnx/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: ""
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...
I tried starting /etc/rc.mysqld manually, and it started successfully, but Akonadi still throws the same error. Has anyone encountered this problem? TIA.

Cheers,
ltlnx
 
Old 04-03-2023, 08:12 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Rep: Reputation: Disabled
Yes, I did, some time ago, no true solution:

https://www.linuxquestions.org/quest...ir-4175694653/

Last edited by JZL240I-U; 04-03-2023 at 08:16 AM.
 
Old 04-03-2023, 12:58 PM   #3
giomat
Member
 
Registered: Jul 2017
Posts: 339

Rep: Reputation: 239Reputation: 239Reputation: 239
you can try enabling the sql server connection on kde startup and see if it behaves better this way.
Edit the file "$HOME/.config/akonadi/akondiserverrc" and put/modify the line in the end like this:
Code:
StartServer=true
I keep it set to false so the server doesn't start, since i do not use kde PIM applications, but i remember when i installed slackware last time that it was starting fine and i had functional pim applications (functional in the sense that they were starting fine and not complaining about akonadi not running etc.). This was some months ago though, don't know if something else broke in the meantime.
 
Old 04-05-2023, 02:37 AM   #4
litelinux
Member
 
Registered: Sep 2018
Location: Taipei/Taichung, TW
Distribution: Slackware
Posts: 105

Original Poster
Rep: Reputation: 58
@giomat: I just checked the file and StartServer is set to true. It also worked for me a few weeks ago; wonder if an akonadi downgrade would help.

Edit: No it didn't, but more searching indicates that downgrading mariadb might help (and mariadb was last updated on March 9, which matches my monthly upgrade schedule)

Last edited by litelinux; 04-05-2023 at 03:14 AM. Reason: add info
 
Old 04-05-2023, 04:52 AM   #5
litelinux
Member
 
Registered: Sep 2018
Location: Taipei/Taichung, TW
Distribution: Slackware
Posts: 105

Original Poster
Rep: Reputation: 58
I downgraded mariadb with mariadb-10.6.12-x86_64-2.txz (from the trusty slackware.uk/cumulative/ archive), and akonadi worked. Maybe there's some regressions with akonadi?

BTW I don't know if I should mark this as solved.

-- ltlnx

Last edited by litelinux; 04-05-2023 at 04:53 AM.
 
Old 04-05-2023, 05:51 AM   #6
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 335

Rep: Reputation: 390Reputation: 390Reputation: 390Reputation: 390
Can you check the contents of cat /home/<your username>/.local/share/akonadi/db_data/mysql.err ?
It could contain the exact error that is preventing mysql from starting.
If that is the case, you can try to start with a clean config:

Code:
akonadictl stop
mv ~/.local/share/akonadi ~/.local/share/akonadi-old
mv ~/.config/akonadi ~/.config/akonadi-old
akonadictl start

Last edited by ctrlaltca; 04-05-2023 at 05:57 AM.
 
  


Reply

Tags
akonadi, kde, kmail



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kontact crashing. Akonadi server has trouble. How to repair? JZL240I-U Linux - Software 3 07-06-2021 07:17 AM
[SOLVED] akonadi mysql mariadb kmail korganizer trouble on current and with kde4 and kde5 mrapathy Slackware 8 10-28-2017 08:43 AM
[SOLVED] current, akonadi, mariadb, mysql and kmail pchristy Slackware 4 03-17-2016 06:43 AM
kmail quits with akonadi server self-test errors on slackware -current chytraeus Slackware 3 05-28-2011 11:59 AM
Akonadi errors on Slackware64 current BoydRice Slackware 10 05-02-2011 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration