Hi. i installed the clam av plugin. when i tried to run a scheduled scan, i got this error:http://pasteall.org/pic/83bdc5139705e4e7c9d4c4266332cd96
i ran this : ps -ef|grep clamd
output is this : root 21830 21821 0 18:58 pts/1 00:00:00 grep clamd
(i found this after googling the issue)
clamav error: Could not connect to clamd on LocalSocket /var/run/clamav/clamd.ctl: No such file or directory
-
- gelöst
- OMV 4.x
- thisisatestacc
-
-
ps: maybe there is a communication error?
-
hello?
-
-
Which OMV version?
-
votdev, Release: 4.1.22-1
Codename: Arrakis -
-
-
● clamav-daemon.service - Clam AntiVirus userspace daemon
Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/clamav-daemon.service.d
└─extend.conf
Active: active (running) since Sun 2019-05-26 14:35:39 +0430; 28s ago
Docs: man:clamd(8)
man:clamd.conf(5)
https://www.clamav.net/documents/
Main PID: 30601 (clamd)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/clamav-daemon.service
└─30601 /usr/sbin/clamd --foreground=trueMay 26 14:35:39 openmediavault systemd[1]: Starting Clam AntiVirus userspace daemon...
May 26 14:35:39 openmediavault systemd[1]: Started Clam AntiVirus userspace daemon.
May 26 14:35:42 openmediavault clamd[30601]: LibClamAV Warning: **************************************************
May 26 14:35:42 openmediavault clamd[30601]: LibClamAV Warning: *** The virus database is older than 7 days! ***
May 26 14:35:42 openmediavault clamd[30601]: LibClamAV Warning: *** Please update it as soon as possible. ***
May 26 14:35:42 openmediavault clamd[30601]: LibClamAV Warning: ************************************************** -
it says its running but i still cant start a scheduled scan. (tried it w/ the webGUI)
-
I came across an privileges problem while testing this issue. I've opened a PR for discussion: https://github.com/openmediavault/openmediavault/pull/381
-
-
oh i see. you have that issue marked as a bug. so what can i do right now? manually run clamav using the terminal?
-
As told in the github pull request you have to set the privileges for the clamav user or group for every shared folder that is scanned by clamav.
-
ok so looks like its working. however i get this error on some files. http://pasteall.org/pic/0be1411adab4eee3279c2207d1461240
-
-
Did some more research... Closed PR because it is NOT necessary to adapt the privileges for clamdscan. It seems ClamAV requires some time to settle up after a scan job has been created and the configuration has been applied. After 30 seconds or so i was able to scan a shared folder as expected.
-
ok so looks like its working. however i get this error on some files. http://pasteall.org/pic/0be1411adab4eee3279c2207d1461240
It seems you have too less memory to allow ClamAV to perform the scan.
-
looks like you are right. i just monitored cpu usage levels while it was scanning a few files. it was almost 99 % . n=and the nas was notably performing slow. so i have decided to ditch this whole clamav thing. what i think im gonna do is to schedule a scan every month using my PC's own antivirus software.
tho, thanks for your time and you commitment to this thread. -
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!