Dear Community,
I hope this email finds you well. I am writing to seek assistance regarding an issue I am facing after installing a custom Debian Linux Docker image. The error message I am encountering is as follows: "LOCAL: Socket file /var/run/clamav/clamd.ctl is in use by another process."
I have attempted various troubleshooting steps to resolve the issue, including:
* Using the Official ClamAV image with both freshclam and clamd.
* Restarting freshclam and clamd using the command "service clamav-freshclam restart."
* Reconfiguring freshclam by executing "dpkg-reconfigure clamav-freshclam."
* Removing the files "clamd.ctl" and "freshclam.pid."
* Killing both processes.
Despite these efforts, the issue persists and I have been unable to resolve it. As I intend to deploy the application on a live EKS (Elastic Kubernetes Service) environment once the problem is resolved, I require assistance from an active member of the community.
Docker file:
FROM debian:latest
RUN apt-get update && \
apt-get install -y clamav-daemon clamav-freshclam
RUN mkdir -p /var/run/clamav && chown -R clamav:clamav /var/run/clamav
RUN freshclam
CMD ["/usr/sbin/clamd"]
clamd error:
root@2d7d8f3e55b0:/# clamd
ERROR: Mon Jul 3 09:58:01 2023 -> LOCAL: Socket file /var/run/clamav/clamd.ctl is in use by another process.
If you could kindly provide guidance or suggestions to help resolve this error, I would greatly appreciate it, please do share them as well. Screenshot and files attached for reference.
Thank you very much for your time and support. I look forward to your response.
Best regards,
-
PARMESHWAR GUDADHE
Mobile: +91-8855919797 | Email: paramscc@outlook.com | param@mail.com
I hope this email finds you well. I am writing to seek assistance regarding an issue I am facing after installing a custom Debian Linux Docker image. The error message I am encountering is as follows: "LOCAL: Socket file /var/run/clamav/clamd.ctl is in use by another process."
I have attempted various troubleshooting steps to resolve the issue, including:
* Using the Official ClamAV image with both freshclam and clamd.
* Restarting freshclam and clamd using the command "service clamav-freshclam restart."
* Reconfiguring freshclam by executing "dpkg-reconfigure clamav-freshclam."
* Removing the files "clamd.ctl" and "freshclam.pid."
* Killing both processes.
Despite these efforts, the issue persists and I have been unable to resolve it. As I intend to deploy the application on a live EKS (Elastic Kubernetes Service) environment once the problem is resolved, I require assistance from an active member of the community.
Docker file:
FROM debian:latest
RUN apt-get update && \
apt-get install -y clamav-daemon clamav-freshclam
RUN mkdir -p /var/run/clamav && chown -R clamav:clamav /var/run/clamav
RUN freshclam
CMD ["/usr/sbin/clamd"]
clamd error:
root@2d7d8f3e55b0:/# clamd
ERROR: Mon Jul 3 09:58:01 2023 -> LOCAL: Socket file /var/run/clamav/clamd.ctl is in use by another process.
If you could kindly provide guidance or suggestions to help resolve this error, I would greatly appreciate it, please do share them as well. Screenshot and files attached for reference.
Thank you very much for your time and support. I look forward to your response.
Best regards,
-
PARMESHWAR GUDADHE
Mobile: +91-8855919797 | Email: paramscc@outlook.com | param@mail.com