LinuxQuestions.org
Review your favorite Linux distribution.
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 03-25-2015, 11:43 PM   #1
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Slackware64 14.1 Claws-mail 3.11.1 Clamd init error and ClamTK won't run.


Desktop with Slackware 64 14.1 full install. Installed Claws-mail 3.11.1 and clamav from slackbuilds. When I install the clamav plugin and try to start claws-mail I get an error message that clamd isn't running. I have followed the instructions from the slackbuild README.Slackware which says to edit the /etc/clamd.conf and /etc/freshclam.conf. I have modified the /etc/rc.d/rc.M as directed so that clamd is started. When the rc.M runs I see clamd started, in fact it takes a little. But when I then start Claws-mail it gives me the clamd init failure message. I see that rc.clamav is executable, and the two modified files are owned by root root, consistent for the /etc/rc.d folder. What have I overlooked that isn't allowing claws-mail to access clamd? Note that I don't believe claws-mail uses the sendmail.

Question 1) Clamd.conf has a statement to limit the number of clamd sessions to one and I'm wondering if that is where the problem starts? Thoughts or confirmation from anyone on this thought?

Question 2) I found where Klamav is available for older versions of KDE and Kmail. Claws-mail uses MH local mail storage and IMAPCACHE for the IMAP connection. KMail uses maildir for local storage, althuogh I've read some don't consider it a standard maildir. If I migrated/switch to using Kmail on this newer install is the Klamav still a maintained usable option to scan my mail attachments for virus?

Question 3) I've been unable to get ClamTK, also installed from slackbuilds to run. I think it is failing for the same reason.
Suggestions for how to troubleshoot this is appreciated.
 
Old 03-26-2015, 12:33 AM   #2
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: Slackware64-current
Posts: 167

Rep: Reputation: 39
On question 1, I don't think so. Clam works fine here but I never touched the config file. Have you run freshclam to get definitions?

On 2, ClamTK doesn't like the Oxygen theme. It needs an edit for ClamTK to work:
Code:
open  /usr/share/icons/oxygen/index.theme
Look for the line:
Inherits=hicolor and make it like:
Inherits=gnome,hicolor
Then save it. Now ClamTK should work.
 
1 members found this post helpful.
Old 03-26-2015, 09:52 AM   #3
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,456

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
bamunds,

if you are indeed using KDE with the default oxygen theme, try setting some other theme, at least for the GTK applications. Log off and on and start ClamTK. Have you installed all dependencies for it?
 
Old 03-26-2015, 12:37 PM   #4
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Original Poster
Rep: Reputation: 260Reputation: 260Reputation: 260
JackHair,
Thank you for the reply and suggestions they have moved me closer but not yet solved.
Adding your suggestion now allows ClamTK to start the GUI interface. Progress However not solved yet because it reports that there are no signatures in the database. If I have root check the /var/lib/clamav location of the signatures they are present but ClamTK in user isn't seeing them. I'm wondering if I have a group permissions issue and that I must add my user to the clamav group?

solarfields,
Thank you for the help and suggestions, yes I am using the standard KDE 4.10. All dependencies are install.

I'm going to go back and check the ClamAV documents to see if I not only need to add a uid/gid for clamav, but if I must add my user to that group also. Any other suggestions?
 
Old 03-26-2015, 12:56 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
If you're suspecting permissions, what are the permissions of /var/lib/clamav and the files contained in that folder? If the group ownership is clamav, and your user is not part of that group, that explains why you wouldn't have access.
 
Old 03-27-2015, 10:26 PM   #6
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Original Poster
Rep: Reputation: 260Reputation: 260Reputation: 260
Thanks bassmadrigal, that was the issue, the files were owned by clamav,clamav and my user wasn't part of the clamav group. The slackbuilds package had a note for adding clamav to amavisd and vice-versa, but didn't say anything about adding yourself to the clamav group, I'll send a note to maintainer that it might help to include that advice. ClamTK now sees the signature file and scans files with correct results, ie it shows x files scanned instead of 0. Clawsmail isn't throwing an error, but I'll have to test a couple of files to see if they actually are scanned. As soon as that is accomplished I'll mark this as solved.
 
Old 04-06-2015, 10:06 AM   #7
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Original Poster
Rep: Reputation: 260Reputation: 260Reputation: 260
This is now solved per bassmadrigal's suggestion about ownership and permissions. Thanks again. I also updated ClamTK from source since it was reporting a new version available.
 
  


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
[SOLVED] Claws mail won't start up anymore... FTIO Slackware 8 03-24-2015 06:48 AM
Google Chrome 29 won't run on Slackware64 13.37 multilib Col-Panic Slackware 3 09-17-2013 05:33 PM
[SOLVED] Claws Mail extra plugins Slackbuild error Gerard Lally Slackware 2 11-03-2011 08:14 PM
VirtualBox won't run after upgrade to slackware64 current Ook Slackware 9 06-18-2011 07:13 AM
Ubutnu won't boot. Error: Target file system doesn't have /sbin/init. No init found. Zeljka_Lin Linux - Newbie 9 05-02-2011 06:56 AM

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

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