Git Product home page Git Product logo

Comments (8)

michaelwittig avatar michaelwittig commented on May 29, 2024

hi! When you say you looked at /var/log/messages you where on the EC2 machine? If yes, can you run the following command clamdscan /path/to/some.file and see if this works?

from aws-s3-virusscan.

lithiumoxide avatar lithiumoxide commented on May 29, 2024

Hi,

No, I viewed the messages file in CloudWatch Logs. I didn't deploy the template with SSH access but I'll try to change that now.

from aws-s3-virusscan.

lithiumoxide avatar lithiumoxide commented on May 29, 2024

Looks like clamdscan isn't present:

[ec2-user@ip-10-100-38-224 ~]$ clamdscan /tmp/hi.txt
-bash: clamdscan: command not found

from aws-s3-virusscan.

michaelwittig avatar michaelwittig commented on May 29, 2024

I released a new version. Can you check if this works for you?

from aws-s3-virusscan.

lithiumoxide avatar lithiumoxide commented on May 29, 2024

That works! Thanks very much! Looking forward to using this solution.

from aws-s3-virusscan.

RamblingRambo avatar RamblingRambo commented on May 29, 2024

@michaelwittig I am having the same issue with an installation that has been working fine for 6 months, then when autoscaling replaced an unhealthy instance this error has been occuring. I can also see
bash: clamdscan: command not found

How do i perform an update without using the cloudformation script?

from aws-s3-virusscan.

michaelwittig avatar michaelwittig commented on May 29, 2024

The only supported way is to use the CloudFormation template.

from aws-s3-virusscan.

lmf66 avatar lmf66 commented on May 29, 2024

@michaelwittig We are running into the same issue - initial deployment was months ago with everything working fine. As of the last autoscale, the new ec2 instance is throwing the same error: clamdscan: command not found with error code 127.

Is it possible to fix this on our current deployments/ec2 instances without updating our cloudformation template? Would we be able to do a yum update or config update for clam.d-conf for example?

What is the root cause of the new autoscaled instances not finding clamd?

Thanks in advance for your advice.

from aws-s3-virusscan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.