Archive > 19.1 Legacy Series

[Solved] ClamAV + C-ICAP (Registry 'virus_scan::engines' does not exist!)

(1/3) > >>

hbc:
I have to reopen this issue: https://forum.opnsense.org/index.php?topic=5988.0

New 19.1.6 installation, plugins clamav and c-icap installed. Even when I try this timing delay, I get error when starting c-icap.


--- Code: ---root@fw01:/var/log/c-icap # /usr/local/etc/rc.d/clamav-clamd start
Starting clamav_clamd.
WARNING: Ignoring deprecated option AllowSupplementaryGroups at /usr/local/etc/clamd.conf:14
root@fw01:/var/log/c-icap # sleep 5
root@fw01:/var/log/c-icap # /usr/local/etc/rc.d/c-icap restart
c_icap not running? (check /var/run/c-icap/c-icap.pid).
Starting c_icap.

--- End code ---

/var/log/c-icap/server.log


--- Code: ---Fri Apr 26 13:11:58 2019, main proc, clamd_init: Not valid response from server:
Fri Apr 26 13:11:58 2019, main proc, Registry 'virus_scan::engines' does not exist!
Fri Apr 26 13:12:18 2019, 41119/689028864, Registry 'virus_scan::engines' does not exist!
Fri Apr 26 13:12:18 2019, 41119/689028864, Registry 'virus_scan::engines' does not exist!
Fri Apr 26 13:13:08 2019, 41119/689028864, Registry 'virus_scan::engines' does not exist!
Fri Apr 26 13:13:08 2019, 41119/689028864, Registry 'virus_scan::engines' does not exist!
Fri Apr 26 13:14:00 2019, 41119/689028864, Registry 'virus_scan::engines' does not exist!
Fri Apr 26 13:14:00 2019, 41119/689028864, Registry 'virus_scan::engines' does not exist!

--- End code ---

Since no connection to clamav, all eicar downloads pass.

mimugmail:
I thought I had removed this already ... do you something on console when starting OPN?

hbc:

--- Quote from: mimugmail on April 26, 2019, 01:29:56 pm ---I thought I had removed this already ... do you something on console when starting OPN?

--- End quote ---

Sorry, don't get it. What shall I do in console? I activated services and rebooted. Problem exists.
I secured shelled into opnsense and applied

--- Code: ---#!/bin/sh

/usr/local/etc/rc.d/clamav-clamd start
sleep 5
/usr/local/etc/rc.d/c-icap restart
--- End code ---

like in issue https://github.com/opnsense/plugins/issues/276.

Can a machine be too powerful for opnsense? Too much memory, cores, etc.? It is pretty strange. I have less powerful machines without problems. ATM I have this issue and no firewall live view and I did not apply any manual tweaks. Configuration is not so special. ok, many 10g interfaces and chelsio cards.

I just loaded ioat module (I/O advanced technology), but this should not cause issues, could it?

mimugmail:
Sorry, was focused only on the AllowSupplementaryGroup warning ...

hbc:

--- Quote from: mimugmail on April 26, 2019, 02:12:55 pm ---Sorry, was focused only on the AllowSupplementaryGroup warning ...

--- End quote ---
Well, think that warning is easy to fix. Just remove config entry in next release. Had this warning on other clamav installations. Comment that # fix it.

But any ideas about this missing registry?

Navigation

[0] Message Index

[#] Next page

Go to full version