OPNsense Forum

English Forums => General Discussion => Topic started by: nitro on February 22, 2018, 11:57:20 pm

Title: C-ICAP error?
Post by: nitro on February 22, 2018, 11:57:20 pm
I have already submitted the error report however just wondering if anyone on the forum can help me with this?

[22-Feb-2018 22:01:38 Etc/Greenwich] PHP Fatal error:  Uncaught Error: Class 'OPNsense\CICAP\Api\General' not found in /usr/local/opnsense/mvc/app/controllers/OPNsense/CICAP/Api/ServiceController.php:52
Stack trace:
#0 [internal function]: OPNsense\CICAP\Api\ServiceController->checkclamavAction()
#1 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(OPNsense\CICAP\Api\ServiceController), 'checkclamavActi...', Array)
#2 [internal function]: Phalcon\Dispatcher->dispatch()
#3 /usr/local/opnsense/www/api.php(26): Phalcon\Mvc\Application->handle()
#4 {main}
  thrown in /usr/local/opnsense/mvc/app/controllers/OPNsense/CICAP/Api/ServiceController.php on line 52


Title: Re: C-ICAP error?
Post by: mimugmail on February 23, 2018, 06:41:24 am
Are you on the latest version?
Do you have ClamAV plugin installed?
On which action does this error occur?
Title: Re: C-ICAP error?
Post by: nitro on February 23, 2018, 04:14:29 pm
Im on version 18.1.2
I have ClamAV plugin installed and enabled - tested with Eicar website and seems to work fine.
Im not sure what caused it I can provide further logs if it would help.

thanks
Title: Re: C-ICAP error?
Post by: bitman on March 03, 2018, 07:23:43 pm
got the same thing happening here 64bit latest version altho Freshclam claims this:

Quote
Sat Mar   3 16:47:32 2018 -> WARNING: Local version: 0.99.3 Recommended version: 0.99.4
Sat Mar   3 16:47:32 2018 -> WARNING: Your ClamAV installation is OUTDATED!


UPDATE;

have been poking around the Internet and found it's a known error and caused by C-iCap started before ClamAV and can be resolved by restarting C-iCap

Title: Re: C-ICAP error?
Post by: franco on March 05, 2018, 08:21:52 am
As a side note: ClamAV 0.99.4 was released late on Thursday. It's not included in 18.1.3, but will be in 18.1.4.


Cheers,
Franco