#1  
Old 24th May 2007, 10:12
xmanhattan xmanhattan is offline
Junior Member
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to xmanhattan
Question Fedora clamav config problem

Hi, I decided to implement clamav and it installed in /etc/clamd.d with a config file name of milter.conf.

I received the following email from the system:
ERROR: Parse error at line 12: Unknown option databaseDirectory.
ERROR: Parse error at line 316: Unknown option CLAMAV_FLAGS="--local.
ERROR: Can't parse the config file /etc/clamd.conf

Questions:
Why didn't clamav create the /etc/clamd.conf file?
Why are these errors appearing since I did not change any of it's files?

Thanks,
Peter
Reply With Quote
Sponsored Links
  #2  
Old 25th May 2007, 15:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Can you post the lines 12 and 316 of /etc/clamd.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 26th May 2007, 12:17
xmanhattan xmanhattan is offline
Junior Member
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to xmanhattan
Default

Hello Falko,

Well since I last wrote I have changed the file and am attaching the file for you to see.

Now I am not seeing any errors coming in my email but when I tried to start the clamav-milter in background services, it does not start.
The strange part is that I do not see any error messages even in the system log.

Peter
Attached Files
File Type: txt clamd.txt (8.2 KB, 240 views)
Reply With Quote
  #4  
Old 27th May 2007, 16:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Please take a look at the beginning of the file:

Code:
# Comment or remove the line below.
Example
You must comment out the Example line, so that it looks like this:

Code:
# Comment or remove the line below.
#Example
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 28th May 2007, 10:14
xmanhattan xmanhattan is offline
Junior Member
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to xmanhattan
Default

Hi Falko,

Duh, yes I have now done that.

I set the clamav to startup using admin services and reboot the system.
This time I saw a message on the screen during the boot that said,
clamav.milter does not agree with sendmail.

Also I noticed in /var/log that there are 2 clam log files. One I created called clamd.milter and another freshclam.log but both have nothing recorded in them.

I set the line in clamd.conf for the log file as:
LogFile /var/log/clamd.milter
which I assume is correct since the original line showed clamd.<service>

Ahhh, I just found a file in /etc/freshclam.conf that I did not see before and was not mentioned in the readme.

I made some changes for the log file in freshclam but still no luck and no messages in the log files after trying to restart clamav.

So which of the .conf files is clamav actually using now?

I have attached this file also.

Peter
Attached Files
File Type: txt freshclam.txt (3.4 KB, 208 views)

Last edited by xmanhattan; 28th May 2007 at 10:57.
Reply With Quote
  #6  
Old 29th May 2007, 13:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

/etc/clamd.conf is used by ClamAV, and /etc/freshclam.conf by Freshclam, a daemon the updates ClamAV's virus signature databases.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone figured out to integrate FuzzyOCR into ISPConfig on Ubuntu? friday Installation/Configuration 16 10th May 2007 16:25
postfix mysql on fedora core5 igongora Installation/Configuration 7 17th April 2007 04:40
CLAMAV & amavis updating problem herbie Server Operation 0 15th February 2007 23:03
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 00:09
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 10:48


All times are GMT +2. The time now is 00:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.