Questions tagged [clamav]

61 questions
22
votes
3 answers

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

When I tried to Scan the /home directory I got this error. [root@ip-172-31-34-67 ~]# clamscan /home LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav ERROR: Can't open file or directory ----------- SCAN SUMMARY…
6
votes
1 answer

Can't stop Clamav deamon in Linux

I am trying to stop Clamav service in Linux, but I am not able to do that. I have installed Clamav in a seperate directory. When running below command: $ systemctl stop clamav-daemon I get this error message: Warning: Stopping…
Abhishek Sharma
  • 153
  • 1
  • 2
  • 11
4
votes
3 answers

How kill a process using powershell without getting errors when the process does not exist

I want to kill the nodepad process if it exists. If I use this: PS C:\> get-process -name notepad | Stop-Process -Force I will get an error when the process does not exist. get-process : Cannot find a process with the name "notepad". Verify the…
puravidaso
  • 1,013
  • 1
  • 5
  • 22
4
votes
0 answers

ClamAV pod not starting in Kubernetes deployed via helm

I've recently tried to install ClamAV via helm into an existing kubernetes cluster. The install appears successful but when the pod fails to start, logs below. Would I possibly need to mount a volume and create a file? Or manually create a file in…
iswinky
  • 1,951
  • 3
  • 16
  • 47
4
votes
1 answer

How change limit file size of Clamd service for nclam

Default Limits: File size limit set to 26214400 bytes. If i scan file size > 25mb, it will occur error. The maximum stream size of 26214400 bytes has been exceeded. I try change: public ClamClient(string server, int port) { …
D T
  • 3,522
  • 7
  • 45
  • 89
3
votes
1 answer

Connecting to ClamAV with curl fails, but clamdscan succeeds

I have a ClamAV installed on a RHEL 8 box. clamd is running, listening on port 3310. If I run the command 'clamdscan' on the same host, it succeeds. As per the man page of clamd, I created a text file with clamd commands in…
Amir Katz
  • 643
  • 2
  • 10
  • 23
3
votes
1 answer

How to fix ec2 instance when I can't login via ssh after installing clamscan/clamav?

After installing clamscan clamav on ubuntu 18.04 aws ec2 instance I can't login to my aws server with ssh. Neither my website on that server shows up on browser. I have rebooted but not working. How do I fix this?
3
votes
2 answers

Using custom ports for nginx ingress in k8s

I have multiple services running on port 80. I am now deploying another service which runs on port 3310 (virus scanner), if I try to use nginx I don't seem to be able to get the ports working correctly. I read somewhere that nginx only works for…
Kevin
  • 383
  • 5
  • 16
2
votes
1 answer

How to set max_filesize for clamav in docker-compose.yml

I'm trying to setup a docker container with clamav and am struggling to allow for larger files to be scanned. I've set up my docker-compose.yml like this: version: "3.3" services: clamav: image: clamav/clamav:latest environment: …
2
votes
0 answers

ClamAV scan errors and warnings

I ran a ClamAV scan on Mac OS (on Terminal) using this command: clamscan -r --bell -i / When it ran, this error appeared about 300 times: LibClamAV Error: hfsplus_walk_catalog: failed to convert UTF-16BE to UTF-8 It also found these…
G21
  • 21
  • 2
2
votes
1 answer

How can I use ClamAV in Kubernetes to scan another pod?

I am using this k8s deployment. And this tutorial for the deployment. I can now scan the /host file. But I don't know how I could scan another pod. How would I give the rights to the k8s deployment to access another pod and how would I then get the…
MTom
  • 33
  • 1
  • 5
2
votes
1 answer

How to schedule clamdscan weekly (cron jobs on GKE)?

How to schedule "clamdscan" to run weekly on an GKE? I am able to trigger the scan manually, but I am not able to find on a way how to schedule it?
2
votes
1 answer

Error spawn /usr/bin/clamscan in NodeJS ClamScan

I am running a simple example of clamscan. const NodeClam = require('clamscan'); let options = { debug_mode: true, // clamdscan: { // socket: '/var/run/clamav/clamd.ctl', // This is pretty typical // host: '127.0.0.1', //…
1
vote
0 answers

Scanning multiple files in parallel using clamav > clamd is very slow

I am in process of using clamd as a service for scanning multiple files in parallel. My workflow: ReadFile on client machine Stream data in blocks to clamav service Open clamd socket connection and write data on UnixSocket (clamd.ctl) (using…
Rajat Doshi
  • 118
  • 7
1
vote
0 answers

how do I perform healthchecks on clamav using docker

I am deploying on AWS clamav whos Dockerfile is : FROM alpine:3.14 LABEL maintainer="Markus Kosmal " RUN apk add --no-cache bash clamav clamav-daemon clamav-libunrar COPY conf /etc/clamav COPY bootstrap.sh / COPY envconfig.sh / COPY…
bruvio
  • 853
  • 1
  • 9
  • 30
1
2 3 4