Def updates fail with freshclam error
jasonabradley opened this issue · comments
I've deployed a new build using the latest pull, timeout of 10 minutes, memory at 2048. The def update function returns:
START RequestId: b0d7086c-9bf7-4358-b749-8b948ba09811 Version: $LATEST
Script starting at 2020/09/02 14:09:17 UTC
Not downloading main.cvd because local md5 matches s3.
Not downloading daily.cld because local md5 matches s3.
Not downloading daily.cvd because local md5 matches s3.
Not downloading bytecode.cld because local md5 matches s3.
Not downloading older file in series: bytecode.cvd
Starting freshclam with defs in /tmp/clamav_defs.
freshclam output:
b'./bin/freshclam: error while loading shared libraries: libprelude.so.28: cannot open shared object file: No such file or directory\n'
Unexpected exit code from freshclam: 127.
File does not exist: main.cld
Not uploading main.cvd because md5 on remote matches local.
Not uploading daily.cld because md5 on remote matches local.
Not uploading daily.cvd because md5 on remote matches local.
Not uploading bytecode.cld because md5 on remote matches local.
File does not exist: bytecode.cvd
Script finished at 2020/09/02 14:09:18 UTC
END RequestId: b0d7086c-9bf7-4358-b749-8b948ba09811
REPORT RequestId: b0d7086c-9bf7-4358-b749-8b948ba09811 Duration: 1700.78 ms Billed Duration: 1800 ms Memory Size: 2048 MB Max Memory Used: 395 MB
`
The make/build did not report any errors. Any ideas?
@jasonabradley
Hello
I also worked with the same error
It can be solved by modifying the Docker file as described in #125 .
It may be possible to solve it, so it may be good to try it
@kaba0120 Thanks! That fixed that error and now I'm getting same error as #133 and a rebuild to pull down latest bits does not resolve.
@jasonabradley - this looks like it would be fixed by the steps recommended in #130
Edit - I have a fork at https://github.com/trevorrea/bucket-antivirus-function which includes both these fixes.