Hello Team,

I am looking for a help to install and configure clamav, I tried 2 ways to get it done:-

1) Using repo

able to install ( zypper install -y clamav) but not able to start the service


Error logs :-

 

clamd[26656]: Received 0 file descriptor(s) from systemd.

clamd[26656]: clamd daemon 0.99.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)

Running as user vscan (UID 65, GID 480)

Log file size limited to 1048576 bytes.

Reading databases from /var/lib/clamav

Not loading PUA signatures.

Bytecode: Security mode set to "TrustSigned".

LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav

ERROR: Can't open file or directory

Can't open file or directory

clamd.service: Control process exited, code=exited status=1

Failed to start Clamav antivirus Deamon.

clamd.service: Unit entered failed state.

clamd.service: Failed with result 'exit-code'

 

2) Using a tar file clamav-0.103.1.tar.gz ,

Issue :-  


/usr/local/clamav/bin/clamscan -r


LibClamAV Error: cl_load(): No such file or directory: /usr/local/clamav/share/clamav

ERROR: Can't get file status

 

----------- SCAN SUMMARY -----------

Known viruses: 0

Engine version: 0.103.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.004 sec (0 m 0 s)

Start Date: 2021:03:23 04:52:52

End Date:   2021:03:23 04:52:52

2) Need help to know to download and update the freshclam database offline as machine don’t have internet connectivity as now getting below error.

 

/usr/local/clamav/bin/freshclam

ERROR: Please edit the example config file /usr/local/clamav/etc/freshclam.conf

ERROR: Can't open/parse the config file /usr/local/clamav/etc/freshclam.conf

 

 

Mit freundlichen Grüßen/Kind Regards
Amit Singh

Senior Consultant-IT/GIC

--------------------------------------------
Mercedes-Benz Research and Development India Private Limited.
Embassy Crest

Whitefield Road, Bangalore 560066

Mobile  : +91 9902949155

email : amit.a.singh@daimler.com

 

Default Disclaimer Daimler AG
If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.