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:clamav-users-boun...@lists.clamav.net] On Behalf Of 
farbod emami
Sent: Wednesday, 9 March 2016 16:34
To: ClamAV users ML <clamav-users@lists.clamav.net>
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 
<r.sterenb...@netmatch.nl> 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


-----Original Message-----
From: clamav-users [mailto:clamav-users-boun...@lists.clamav.net] On Behalf Of 
farbod emami
Sent: Wednesday, 9 March 2016 16:17
To: ClamAV users ML <clamav-users@lists.clamav.net>
Subject: Re: [clamav-users] No supported database files found

Dear Rob, hi.
there is no /usr/local/share/clamav directory exist!freshclamcommand did not 
work:ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf

 

    On Wednesday, March 9, 2016 6:36 PM, Benny Pedersen <m...@junc.eu> wrote:
 

 On 9. mar. 2016 15.56.30 farbod emami <shilat_i...@yahoo.com> wrote:

> please help

Run freshclam

If it fails, what settings are shown in clamconf

Dont post clamconf here, if need more help pastebin it and share link to it 
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

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


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

http://www.clamav.net/contact.html#ml
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

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


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

http://www.clamav.net/contact.html#ml
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

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

Reply via email to