Try running /usr/local/bin/clamconf as root and post those results somewhere.  
That will tell you how clamd.conf and freshclam.conf are set.

-Al-

On Wed, Mar 09, 2016 at 10:31 AM, Al Varnell wrote:
> 
> clamd.conf.5 is the man page for clamd.conf and should be in 
> /usr/local/share/man/man5/
> 
> clamd.conf might be in /usr/local/etc/
> 
> -Al-
> 
> On Wed, Mar 09, 2016 at 09:05 AM, farbod emami wrote:
>> 
>> hi 
>> I have done both:compiling manually and by apt-grt install and I even 
>> install the graphic panel.
>> I do not have any clamd.conf but clamd.conf5
>> which there is not any DatabaseOwner entry in it !
>> in my passwd, I just have "clamav:x*********::/var/lib/clamav:/bin/false" 
>> 
>>   On Wednesday, March 9, 2016 8:17 PM, Rob Sterenborg 
>> <[email protected]> wrote:
>> 
>> 
>> I don't know what username you need to use.
>> - Check your freshclam.conf for the DatabaseOwner to know which username you 
>> need.
>> - Check your /etc/passwd file to make sure this username does not exist.
>> - If it doesn't exist, check if another username exist that has almost the 
>> same name and was meant for you to use.
>> - If still can't find such username, create it.
>> - If such username does exist, modify your freshclam.conf and/or clamd.conf 
>> to use this username.
>> - chown the directory and set permissions accordingly.
>> 
>> This is basic *nix stuff, not really ClamAV related..
>> 
>> 
>> --
>> Rob
>> 
>> 
>> -----Original Message-----
>> From: clamav-users [mailto:[email protected]] On Behalf 
>> Of farbod emami
>> Sent: Wednesday, 9 March 2016 16:34
>> To: ClamAV users ML <[email protected]>
>> Subject: Re: [clamav-users] No supported database files found
>> 
>> Dear Rob, I have created the clamav directory with mkdir command, but its 
>> owner is "roort" ,Do I must change its owner to "clamav " ? as I have not 
>> any user by this name in my system
>> 
>> 
>>    On Wednesday, March 9, 2016 7:59 PM, Rob Sterenborg 
>> <[email protected]> wrote:
>> 
>> 
>> You skipped my first step: "make sure the directory exists". This means: if 
>> it doesn't exist, create it and set the owner/group to the user clamav runs 
>> as and permissions accordingly. When you've done that, run freshclam again.
>> 
>> 
>> --
>> Rob
> 
> -Al-

-Al-
-- 
Al Varnell
Mountain View, CA





Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to