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

Could not connect to clamd on LocalSocket #25

Closed
BradleyDHobbs opened this issue Apr 18, 2019 · 3 comments
Closed

Could not connect to clamd on LocalSocket #25

BradleyDHobbs opened this issue Apr 18, 2019 · 3 comments
Labels
not a bug For bugs reported that are not specific to this module. question

Comments

@BradleyDHobbs
Copy link

"ERROR: Could not connect to clamd on LocalSocket /var/run/clamd.scan/clamd.sock: Permission denied"

Running this from a directory in the home folder.

Any ideas?

@kylefarris kylefarris added not a bug For bugs reported that are not specific to this module. question labels Apr 18, 2019
@kylefarris
Copy link
Owner

Hey @BradleyDHobbs,

It likely has something to do with the permissions of your clamd config. This problem isn't really in the scope of this module, but I'll see if I can help you out anyways. What OS and OS version are you running on? What does your clamav config look like?

@BradleyDHobbs
Copy link
Author

BradleyDHobbs commented Apr 19, 2019

Yeah you were right. It was a permissions issue. I had to do some messing around with the virusgroup group. Got it working eventually.

On a side note, any way to use async await and/or promises with the methods?

@kylefarris
Copy link
Owner

kylefarris commented May 8, 2019

Hey @BradleyDHobbs, I just released version 1.0.0 (big update) last week and it definitely supports Promises and Async/await now. So, please try it out and let me know if you have any issues. You will want to read the release notes for the release as there are some changes to the API (mostly to do with how you init the module).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not a bug For bugs reported that are not specific to this module. question
Projects
None yet
Development

No branches or pull requests

2 participants