View Full Version : KMail, Clam, oops i broke it!

28-07-2005, 11:24 AM
Hello peoples,
Now don't laugh, but i thought i'd give Clam a go. I don't know why seeing viri isn't realy an issue in Linux, but i saw a tick box, and i ticked it. Now Kmail can not be started. :waughh:

The KDE error says:

"KDEInit could not lauch kmail"
starting it with a commandline gives:

[~]# kmail
Segmentation fault
This is supposed to be helpful? yes? :p

So i figure that either i move the files worth keeping from /home/sweet/home to /home/sweet/new-home and start again, which may have advantages as a clean up is well overdue

I find whatever file says send mail to clam first, and edit accordingly...
Of course i have no idea where to look, or what i'm looking for. :groan:

All help appreciated!
Chris/personthingy :D

28-07-2005, 06:01 PM
OK... the problem is system wide, i've run the debian configeration program thing, done a general update with "apt-get update" and am wondering how to restore Kmail back to its default settings, or remove and reinstall it safely.

I'm also considering reformating and giving Mepis a fresh install.

Any ideas? :badpc:

28-07-2005, 06:39 PM
IIRC you can rm -rf ~/.kde/apps/share/kmail

Or something to that effect :)

28-07-2005, 06:45 PM
[~]# su -
root@2[~]# rm -rf ~/.kde/apps/share/kmail

still no go.... :badpc:
but i have to Mepis disk in front of me, and am ready to "restore all defaults" :D

28-07-2005, 06:50 PM
root@2[~]# rm -rk ~/.kde/share/apps/kmail
rm: invalid option -- k
Try `rm --help' for more information.

Mepis in CD rom, rebooting now!

28-07-2005, 06:59 PM
Not as root :)

~/ means "My home dir", and if you're root it'll be /root
If you're not, then it'll be /home/personthingy

bash-2.05b$ ls -la ~/.kde/share/apps/ | grep mail
drwx------ 7 user users 4096 Jul 24 22:38 kmail

So rm -rf ~/.kde/share/apps/kmail will fix it (As personthingy, not root)

28-07-2005, 08:44 PM
o right... :blush:

O well too late!
I'm reformated, rebuilt and back.

I love linux, even i can't screw it up for long.


28-07-2005, 09:39 PM
I love linux, even i can't screw it up for long.

:DDitto, though lord knows I have tried :cool:

28-07-2005, 09:45 PM
OK... now i'm an annoyed personthingy. i just put reformated "/", everything worked, till it didn't. Same problem now KMail wont start, allthough it did when i first logged in :rolleyes: .

Obviously the problem is in /home

I've just run
rm -rf ~/.kde/share/apps/kmail
as personthingy, but still no go (yet).

I'll log out and back in just to see what happens.

28-07-2005, 10:31 PM
It seems as though running Kmail as /personthingy now calls something that makes a change at root level preventing Kmail from ever running again!

It won't even run as root
I even rebooted, and Kmail wont run even for root with all new system and settings!

Mind you, thats a very good way of stopping a virus dead in its tracks! :p

I think i'll just give in for the night.

This weekend may see a furthur rebuild of the system, and a new set of users with default settings who will have to pilfer files from the old

28-07-2005, 10:36 PM
tail /var/log/messages ?

29-07-2005, 07:18 AM
tail /var/log/messages ?

I've sent a copy via PM to you. From what i can work out, its mainly going on and on about an error with a comunication between me and another telstra owned address. possibly evolution failing to retrieve my @paradise email. (pop.paradise has been doing that a bit recently, i don't think the problems here.)

29-07-2005, 08:18 AM
Im trying to think of where to go to from here.

Another mail client perhaps?

No, that'd defeat the purpose :-/

Try running kmail from a konsole and see what happens :)

29-07-2005, 08:29 AM
Try running kmail from a konsole and see what happens :)

[~]# kmail
Segmentation fault

29-07-2005, 08:40 AM
What i'm thinking might work well is to reformat "/" reinstall everything again, and this time create a fresh new /home/personthingy and move my mail and other select files into it. This way i could avoid the "Poison Kmail by trying to run Clam" setting from being imported, or activated.

Of course i'm assuming that trying to run Clam is whats doing the damage. This seems likely, but i can't yet be sure.

In the interests of talking myself into it, a clean up is well overdue, and what better way than to move?


29-07-2005, 08:42 PM
oops... got called to work, but now i have a chance to get back to the machine now before i go to work again.

OK.. this is an interesting one.

I formatted the system, except /home . I then created a new user and started updates and stuff. I installed evolution, Kmail was happy and ran, allthough it was an earlier version than what i was used to.

I imported my mail directory for Kmail taking care to change ownership of all files etc. Kmail was happy.

I installed Knewsticker, updated Kmail (apt-get install kmail)

I then ran Kmail, and it fell over, permanantly.

So either updating Kmail is a bad move, or installing knewsticker is.

I had installed knewsticker just before all this started, but made no connection.

OK, i'm off to work in half an hour, and it looks like i'm tearing it all down and building it all up again, just for fun, later on in the weekend, if i get time.

30-07-2005, 02:27 AM
Well dont i feel like a right twit. :blush:

Kmail works. Somewhere in the updating process Kontact appeared, Kmail got embedded into Kontact and nolonger works as a stand alone.

I only discovered it by looking at the buttons in the template made "personthingy" desktop. Clicked kontact, and saw the graphic display of the mail folder i copied over.

Perhaps that's what Segmentation fault means?

O well, the tidyup has now begun, may as well keep going.

So i'm back, fully functional, and deleting all shortcuts to open Kmail.