Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working #3

Open
maryalfred opened this issue Feb 15, 2018 · 7 comments
Open

Not working #3

maryalfred opened this issue Feb 15, 2018 · 7 comments

Comments

@maryalfred
Copy link

i follow all the steps but it give me error
Error: spawn \var\task\bin\clamscan ENOENT

would you please provide me a sample of urls in the configuration file

@maryalfred
Copy link
Author

after try it on Lambda function it give me this error

Error: spawn EACCES

@maryalfred
Copy link
Author

hello guys i manage to solve the Access permission issue but now it give me error loading shared library

error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

please advise

@c-cooperjones
Copy link
Contributor

Hi there, unfortunately we're not using slamscan at the moment, and aren't actively developing it within the organisation. I'm not sure if @randytarampi may be able to provide some assistance to you though.

@maryalfred
Copy link
Author

maryalfred commented Feb 19, 2018

Ok , can anyone provide me how db-files is included? and used in the calmscan configuration?

db-files:

  • /clamav/bytecode.cvd
  • /clamav/daily.cvd
  • /clamav/main.cvd
  • /clamav/mirrors.dat

clamscan:
clamscan:
# Path to clamscan binary on your server
path: /var/task/bin/clamscan
# Path to a custom virus definition database
db: /temp

@randytarampi
Copy link
Contributor

@maryalfred You'll want to upload those virus definitions and provide S3 urls to them.

db-files:
  - s3://my.bucket.com/share/clamav/bytecode.cvd
  - s3://my.bucket.com/share/clamav/daily.cvd
  - s3://my.bucket.com/share/clamav/main.cvd

@maryalfred
Copy link
Author

maryalfred commented Feb 20, 2018

@randytarampi ok, how it will relate the db files ? i don't see relation in the configuration file between db-files section and the calmscan configuration
should we update section db: /temp ?

@randytarampi
Copy link
Contributor

Oh. There might be a bug here: https://github.com/PeerJ/slamscan/blob/master/src/downloadClamscanDbFiles.js#L12.

That reference to /tmp should probably be something like config.get("clamscan.clamscan.db")

The S3 urls in db-files will be downloaded to /tmp, but should probably be whereever you're configuring clamscan to look for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants