Re: [clamav-users] No supported database files found
On 09.03.16 17:05, farbod emami wrote: I have done both:compiling manually and by apt-grt install and I even install the graphic panel. remove the manually installed part. It's rarely a good idea to have two versions of the same software installed. after that, use clamav installed by apt-get (both debian and ubuntu should have newest version). -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. 99 percent of lawyers give the rest a bad name. ___ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
Re: [clamav-users] No supported database files found
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 >> <r.sterenb...@netmatch.nl> 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: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 > > -Al- -Al- -- Al Varnell Mountain View, CA 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
Re: [clamav-users] No supported database files found
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 > <r.sterenb...@netmatch.nl> 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: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 -Al- -- Al Varnell Mountain View, CA 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
Re: [clamav-users] No supported database files found
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 <r.sterenb...@netmatch.nl> 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: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 ___ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
Re: [clamav-users] No supported database files found
So there *is* a clamav user in /etc/passwd, which has /var/lib/clamav as home directory. It is probably configured by apt-get. I don't know where clamd.conf5 comes from: the file is usually called clamd.conf. Install from source or from apt-get, not both, so remove either one. If you remove the apt package, the clamav user will probably be removed and have to be created afterwards. If you're new to all this I suggest you use the package from apt-get and go from there. -Original Message- From: clamav-users [mailto:clamav-users-boun...@lists.clamav.net] On Behalf Of farbod emami Sent: Wednesday, 9 March 2016 17:19 To: ClamAV users ML <clamav-users@lists.clamav.net> Subject: Re: [clamav-users] No supported database files found 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 7:37 PM, Matus UHLAR - fantomas <uh...@fantomas.sk> wrote: On 09.03.16 14:54, farbod emami wrote: >I encountered this error when running the " sudo clamscan -r " command >LibClamAV Error: cli_loaddbdir(): No supported database files found in >/usr/local/share/clamav >ERROR: Can't open file or directory did you compile clamav manually? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. 42.7 percent of all statistics are made up on the spot. ___ 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
Re: [clamav-users] No supported database files found
On 09.03.16 14:54, farbod emami wrote: I encountered this error when running the " sudo clamscan -r " command LibClamAV Error: cli_loaddbdir(): No supported database files found in /usr/local/share/clamav ERROR: Can't open file or directory did you compile clamav manually? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. 42.7 percent of all statistics are made up on the spot. ___ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
Re: [clamav-users] No supported database files found
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
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
Re: [clamav-users] No supported database files found
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
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 Pedersenwrote: On 9. mar. 2016 15.56.30 farbod emami 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
Re: [clamav-users] No supported database files found
On 9. mar. 2016 15.56.30 farbod emamiwrote: 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
Re: [clamav-users] No supported database files found
- Make sure directory /usr/local/share/clamav exists. - Start freshclam to update your virus definition databases. -- Rob -Original Message- From: clamav-users [mailto:clamav-users-boun...@lists.clamav.net] On Behalf Of farbod emami Sent: Wednesday, 9 March 2016 15:55 To: clamav-users@lists.clamav.net Subject: [clamav-users] No supported database files found Dear sir, hi I encountered this error when running the " sudo clamscan -r " command LibClamAV Error: cli_loaddbdir(): No supported database files found in /usr/local/share/clamav ERROR: Can't open file or directory --- SCAN SUMMARY --- Known viruses: 0 Engine version: 0.99.1 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.002 sec (0 m 0 s) please help ___ 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