Mailing List ecs-isp@2rosenthals.com gearchiveerd bericht #1112

Van: "Massimo S." <ecs-isp@2rosenthals.com> Volledige berichtkoppen
Ongedecodeerd bericht
Onderwerp: Re: [eCS-ISP] (clamav) freshclam and cron/2
Datum: Tue, 24 Dec 2024 10:40:31 +0100
Aan: eCS ISP Mailing List <ecs-isp@2rosenthals.com>



Il 24/12/2024 09:38, Massimo S. ha scritto:


Il 09/12/2024 09:58, Massimo S. ha scritto:
Il 03/12/2024 05:52, Steven Levine ha scritto:
In <list-11271582@2rosenthals.com>, on 12/01/24
    at 02:20 PM, "Massimo S." <ecs-isp@2rosenthals.com> said:

Hi Massimo,

[LibClamAV] cli_rmdirs: Can't locate
X:/usr/local/clamav/share/clamav/tmp.ae3648a996: No such file or
directory

It's probably a porting error.  As long as freshclam finishes without
errors, the error can be ignored.

For the layman, this message is saying the directory cannot be deleted
because it does not exist.

on one MTA id updates correctly the signatures, on the other it fails
this maybe is due to some other reasons

This is probably true.

Steven

hi,

after further investigation i've found that if i run manually
(directly from the command prompt)
the script that update signatures (clamav + sane security)
they both updates correctly

while when the script is being started by cron schedules
it updates sane security signatures (that are simple rsync)
but do not update clamav ones (freshclam)

so, what are the differences from MTA1 VM to MTA2 VM?

on MTA1 VM i use rexx cron "cronrgf.cmd" 2.0.3 (by R. G. Flatscher)

https://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/util/schedule/CronRGF_2-0-3.zip

cron entry:  0 2 * * * x:\usr\local\clamav\bin\myscript.cmd

on MTA2 VM i use C R O N / 2 by Bob Hood and modified by Yuri Dario in 2019
i'm not able to find the file online (i've verified Netlabs repository, hobbesarchive ecsoft2 etc.)

cron2-1_4_2-1_oc00.zip

cron entry:   0 22 * * * OS2 FG WIND- x:\usr\local\clamav\bin\myscript.cmd


any suggestion?
thanks

massimo

Hi Steven and Yuri,

any help with this?

please

massimo

after activating verbose log i found this error:

*   Trying 104.16.218.84:443...
* Connected to database.clamav.net (104.16.218.84) port 443 (#0)
* ALPN, offering http/1.1
* error setting certificate verify locations:  CAfile: /@unixroot/etc/pki/tls/certs/ca-bundle.crt CApath: none
* Closing connection 0
Tue Dec 24 10:30:12 2024 -> !Download failed (77) Tue Dec 24 10:30:12 2024 -> ! Message: Problem with the SSL CA cert (path? access rights?)
Tue Dec 24 10:30:12 2024 -> !Can't download daily.cvd from https://database.clamav.net/daily.cvd
Tue Dec 24 10:30:12 2024 -> Giving up on https://database.clamav.net...
Tue Dec 24 10:30:12 2024 -> !Update failed for database: daily
Tue Dec 24 10:30:12 2024 -> !Database update process failed: Connection failed
Tue Dec 24 10:30:12 2024 -> !Update failed.
Tue Dec 24 10:30:12 2024 -> ~[LibClamAV] cli_rmdirs: Can't locate d:/usr/local/clamav/share/clamav/tmp.add81be443: No such file or directory


the content of  /@unixroot/etc/pki/tls/certs is this one:

15/11/11 18:05        662.586      0 a---  ca-bundle.crt
15/11/11 18:05        743.949      0 a---  ca-bundle.trust.crt


massimo



Aanmelden: Feed, Samenvatting, Index.
Afmelden
Mail naar ListMaster