LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-24-2019, 02:22 PM   #1
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 281

Rep: Reputation: 60
kmail does not work after latest update or two to slackware64-current


I did an update on Friday, and after a reboot, kmail does not display text in the message window, and it will not connect to the e-mail server to download new mail. It does show the subject lines for all of the 5K messages currently on the machine, as well as subject lines for sent mail...

Any ideas out there?

John.
 
Old 06-24-2019, 03:21 PM   #2
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 281

Original Poster
Rep: Reputation: 60
Here we go: I started kmail in a console. When I quit kmail, I found this stuff on the terminal, so yeah,
something is amiss.

John.

jkh@darkstar:~$ kmail2(4524)/kdecore (KLibrary) kde4Factory: Expected a KPluginFactory, got a Grantlee::ScriptableTagLibrary
kmail2(4524)/kdecore (KLibrary) kde4Factory: The library "/usr/lib64/kde4/kcm_kmail.so" does not offer a KDE 4 compatible factory.
kmail2(4524)/kdecore (KLibrary) kde3Factory: The library "/usr/lib64/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
 
Old 06-24-2019, 04:01 PM   #3
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 281

Original Poster
Rep: Reputation: 60
One more thing. I scoped out that kcm_kmail.so business, and found this interesting set of dates:

Which is in the /usr/lib64/kde4 directory, I did a ls -lt kcm*

-rwxr-xr-x 1 root root 68424 Jun 14 14:52 kcm_akonadicontact_actions.so*
-rwxr-xr-x 1 root root 31112 Jun 14 14:52 kcm_kresources.so*
-rwxr-xr-x 1 root root 22864 Jun 14 14:52 kcm_mailtransport.so*
-rwxr-xr-x 1 root root 85688 Nov 26 2018 kcm_autostart.so*
-rwxr-xr-x 1 root root 60472 Nov 26 2018 kcm_desktoppaths.so*
-rwxr-xr-x 1 root root 139632 Nov 26 2018 kcm_desktoptheme.so*
-rw

The first three items have a date of jun 14 2019, while rest of the directory
has dates of nov 26 2018. I'm wondering if this is the reason my system is
crap for kmail right now...

John.
 
Old 06-24-2019, 04:41 PM   #4
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Yes, it generally could be (I don't know in this specific case, I don't use the KDE package category) as KDE components, being C++ programs and libraries, need to be in sync, and should be compiled with the SAME compiler.

You could try recompiling kmail

Code:
# Adapted by Eric Hameleers <alien@slackware.com> from the modular x.org build.

# To build only a single package group, specify it as $1, like:
#   ./KDE.SlackBuild kdeedu
# To build only a single package, specify both the group name
# and the name of the package, like:
#   ./KDE.SlackBuild kdeedu:marble
#   ./KDE.SlackBuild kdebindings:perlqt,perlkde
So, something like:

Code:
./KDE.SlackBuild kdenetwork:kmail
Or recompiling all of kdenetwork might be a better option, possibly due to other kdenetwork libraries.
 
Old 06-25-2019, 05:34 AM   #5
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
It looks for me as akonadi problem. Run (h)top and check if akonadi use hi amount of CPU or is in D state (uninterruptible sleep mode).

If so you can have problem with no good solutions for it. Akonadi sometimes process couple thousands of mails days long (literally!).
- You can wait for this, but during process kmail is mostly unusable.
- You probably use mysql ankonadi backend so you can alter akonadis my.cnf giving there more resources to mysql - this can speedup significantly whole process. But I find out to that files are very often overwritten after reboot (at least in my case was).
- If you use IMAP you can unsubsribe remote folders and subscribe them again - sometimes it helps.
- If you have remotely stored emails (no matter POP3/IMAP) you can always remove mailbox and create it again.

And make sure you have backup of local mails before you alter configurations in this akonadi/kmail state!
 
Old 06-25-2019, 07:54 AM   #6
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 281

Original Poster
Rep: Reputation: 60
That's a good idea, and because Akonadi was
digging into the database, but just not
populating the inbox, I did not consider
Akonadi, and indeed when I looked at top,
Akonadi is using 0 cpu at rest, and cranks
up to 0.7 when it is active, so I don't
think that is the problem. Besides, the
nice folks at KDE make kmail complain in
a big box that Akonadi is kaput. They know
they have a problem with the complexities of
Akonadi, but it's one heck of a lot better
than it used to be.

I understand about Akonadi and what a pain
in the ass it is, but I really like kmail.
I've been using it for about 20 years,
after I gave up on eudora.

John.
 
Old 06-25-2019, 08:03 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Perhaps some of this information will help you get kmail up & running again: https://alien.slackbook.org/blog/tag/akonadi/
 
Old 06-25-2019, 09:10 AM   #8
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 281

Original Poster
Rep: Reputation: 60
I tried that, but it didn't work as expected.
At least now I can read the trash, but that's
it. The data is in ./local/share. There is
a local-mail directory which is nearly empty
with no data that I saw in a cursory look.
Then there is .local-mail.directory, to which
kmail was pointed before I tried your suggestion
to make a new directory. That .local-mail.directory
has 4.4 gigs of data, which is what is not loading.

I'm going to take a powder (smoke something), buy
a back up usb drive and save /home/me. Then
I'll get busy again on this one.

Thunderbird will work in the meanwhile.

Heh. It's always something.

John.
 
Old 06-25-2019, 07:07 PM   #9
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Thumbs up

Quote:
Originally Posted by jkh2cpu View Post
Thunderbird will work in the meanwhile.
Yes. I prefer TBird. Best of luck with KMail; I am curious to hear how it plays out.
 
Old 06-25-2019, 07:24 PM   #10
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Its time to plasma5 :=)
 
1 members found this post helpful.
Old 06-25-2019, 07:40 PM   #11
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by USUARIONUEVO View Post
Its time to plasma5 :=)
I would really like to see Eric's Plasma 5 added to Slackware64-current. That would *really* add something to Slackware 15.0.
 
1 members found this post helpful.
Old 06-25-2019, 08:38 PM   #12
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Quote:
Originally Posted by hitest View Post
I would really like to see Eric's Plasma 5 added to Slackware64-current. That would *really* add something to Slackware 15.0.
Me too , but i start thinking , year 2025 , slackware 15 . conitnues as "current" , with qt4 and kde4 unmantained. :=)

The first little start action is "add qt5" , to start "more intensive testing" (i say more intensive cause slackers are testing qt5 since years from SBo or Eric packages)... its only my opinion , but not suceed in the last year and i request some times, but i stop requests , and no report updates , cause too bored , only when bug or extra configurations for best quality packages possible.
 
2 members found this post helpful.
Old 06-25-2019, 11:47 PM   #13
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by USUARIONUEVO View Post
but not suceed in the last year and i request some times, but i stop requests
Yes. I will stop now as well as I've shared my opinion on plasma a few times.
 
Old 06-26-2019, 01:16 PM   #14
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by jkh2cpu View Post
...when I looked at top,
Akonadi is using 0 cpu at rest, and cranks
up to 0.7 when it is active, so I don't
think that is the problem. Besides, the
nice folks at KDE make kmail complain in
a big box that Akonadi is kaput.
This box shows if akonadi is not running, but not hangs in processing.

Akonadi have lot of different proceses/threads, separate for each maildir, pop3/imap/smtp entry and more, so maybe you look to wrong one. And you not mention checking for D state (S column). It mean it wait(read hang) for hardware I/O. This also includes to internal mysql. If any process in chain have problem (hi CPU, D state) akonadi have HEAVY lag in processing (sometimes this is one mail per couple of seconds ).

As last resort, you can do total akonadi reset. Do backup; Remove all mails, and akonadi db; Crete fresh empty ones; And import mails form backup.

Quote:
Originally Posted by USUARIONUEVO View Post
Its time to plasma5 :=)
Plasma5 still have akonadi, there will be no change in this. Moreover it make problems during migration.


I have no idea why they add it in KDE4. Kmail 3 can process thousands mails in seconds, kmail 4 have problems with dozens - progress .

Last edited by Labinnah; 06-26-2019 at 01:17 PM.
 
1 members found this post helpful.
Old 06-26-2019, 04:32 PM   #15
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Quote:
Originally Posted by Labinnah View Post

This box shows if akonadi is not running, but not hangs in processing.

Akonadi have lot of different proceses/threads, separate for each maildir, pop3/imap/smtp entry and more, so maybe you look to wrong one. And you not mention checking for D state (S column). It mean it wait(read hang) for hardware I/O. This also includes to internal mysql. If any process in chain have problem (hi CPU, D state) akonadi have HEAVY lag in processing (sometimes this is one mail per couple of seconds ).

As last resort, you can do total akonadi reset. Do backup; Remove all mails, and akonadi db; Crete fresh empty ones; And import mails form backup.


Plasma5 still have akonadi, there will be no change in this. Moreover it make problems during migration.


I have no idea why they add it in KDE4. Kmail 3 can process thousands mails in seconds, kmail 4 have problems with dozens - progress .
Of course , akonadi still present , but ... ops kde4 , use OLD version of akonadi , 1.13 unmantained ?
plasma5 , are using akonadi 19 , then when a problem appears , you think some one go patch old 1.13 ?

If kmail3 works for you then , return to kde3 , or use xfce , or add qt3 from SBo , and try downgrade your kmail version to kmail3 , GOOD LUCK.


Or just can test a LIVE ISO , from Eric , with plasma5 , to test if the problem persist or not.

Last edited by USUARIONUEVO; 06-26-2019 at 04:34 PM.
 
  


Reply



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
[Slackware64 14.2] Loading error of ath10k firmware with latest kernel-firmware and latest kernel-huge pensador_13 Slackware 3 06-16-2018 12:31 PM
Brightness function keys not working on Slackware64 & Slackware64 current Andersen Slackware 7 01-15-2018 04:27 AM
Pan does not run as user, but does as root with slackware64-current jkh2cpu Slackware 9 12-24-2017 11:17 AM
[SOLVED] suspend to ram ( sleep) does not work on my Slackware64-current multilib afreitascs Slackware 8 06-26-2012 10:57 PM
[SOLVED] Latest slackware64-current xorg and kernel update woes veeall Slackware 10 07-19-2009 12:31 AM

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

All times are GMT -5. The time now is 10:07 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