# Guys ClamAV is always stopping even if if i start it

**URL:** <https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689>\
**Category:** Uncategorized\
**Created:** [April 8, 2022, 3:34pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689 "2022-04-08T15:34:29Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![donald](https://forums.interworx.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@donald](https://forums.interworx.com/u/donald)\
**Post date:** [April 8, 2022, 3:34pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/1 "2022-04-08T15:34:29Z")

</div>

guys ClamAV is always stopping even if if i start it

---

<div class="post-metadata">

**Author:** ![IWorx-Jenna](https://forums.interworx.com/user_avatar/forums.interworx.com/iworx-jenna/32/41_2.png) [@IWorx-Jenna](https://forums.interworx.com/u/IWorx-Jenna)\
**Post date:** [April 8, 2022, 3:53pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/2 "2022-04-08T15:53:10Z")

</div>

Hello–

Run` free -m`. Is there swap memory listed?

Also, in regard to your other post, ClamAV being stopped would cause the email issues you are experiencing.

Thanks,  
-Jenna

---

<div class="post-metadata">

**Author:** ![donald](https://forums.interworx.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@donald](https://forums.interworx.com/u/donald)\
**Post date:** [April 8, 2022, 3:55pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/3 "2022-04-08T15:55:42Z")

</div>

i got this  
total used free shared buff/cache available  
Mem: 1998 978 571 183 448 692  
Swap: 0 0 0

---

<div class="post-metadata">

**Author:** ![IWorx-Jenna](https://forums.interworx.com/user_avatar/forums.interworx.com/iworx-jenna/32/41_2.png) [@IWorx-Jenna](https://forums.interworx.com/u/IWorx-Jenna)\
**Post date:** [April 8, 2022, 4:10pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/4 "2022-04-08T16:10:01Z")

</div>

Hello–

That is the root of both the ClamAV issue and the email issue.

The server the Namecheap provided you does not meet the minimum requirements for InterWorx, found here: [What are the system requirements of InterWorx Control Panel? — InterWorx documentation](https://appendix.interworx.com/current/getting_started/requirements-interworx-control-panel.html)

Swap is required on all InterWorx servers, partially due to the requirements of ClamAV. ClamAV keeps its virus definitions in memory, which generally takes up about 1GB of RAM. If you do not have any swap on your server, there is no where for other processes to go when ClamAV tries to start.

ClamAV being stopped while SMTP scanning is Enabled (which is the default setting) will cause all inbound remote receiving to fail, because all outside mail will be rejected at the SMTP level, since there is nothing running to scan it.

You need to do two things:

A. Add swap to your server, in compliance with the minimum requirements in the documentation I provided. You may want to let Namecheap know that they provided you a server that did not match the requirements of the software they provided on it.

B. While you are waiting for swap to be added, in NodeWorx, under System Services \> Mail Server \> Virus Filtering. Where it says “SMTP Virus Scanning”, switch that dropdown to say Disabled. That will allow mail to come back in through the server.

Thanks,  
-Jenna

---

<div class="post-metadata">

**Author:** ![donald](https://forums.interworx.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@donald](https://forums.interworx.com/u/donald)\
**Post date:** [April 8, 2022, 4:28pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/5 "2022-04-08T16:28:52Z")

</div>

ok but when i login to he vps server panel its shows swap 17 mbs

---

<div class="post-metadata">

**Author:** ![IWorx-Jenna](https://forums.interworx.com/user_avatar/forums.interworx.com/iworx-jenna/32/41_2.png) [@IWorx-Jenna](https://forums.interworx.com/u/IWorx-Jenna)\
**Post date:** [April 8, 2022, 4:31pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/6 "2022-04-08T16:31:34Z")

</div>

Hello–

You need to talk to Namecheap about that. I don’t know anything about what shows in their interface. It doesn’t matter what their interface portal says, just what the server, itself, says.

Also, 17mb is not nearly enough. Per the documentation I provided you, at least 3GB swap is required.

-Jenna

---

<div class="post-metadata">

**Author:** ![donald](https://forums.interworx.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@donald](https://forums.interworx.com/u/donald)\
**Post date:** [April 8, 2022, 4:40pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/7 "2022-04-08T16:40:42Z")

</div>

ok so that means if someone send email its not going to be scanned as long as the situation is as it is

---

<div class="post-metadata">

**Author:** ![IWorx-Jenna](https://forums.interworx.com/user_avatar/forums.interworx.com/iworx-jenna/32/41_2.png) [@IWorx-Jenna](https://forums.interworx.com/u/IWorx-Jenna)\
**Post date:** [April 8, 2022, 4:44pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/8 "2022-04-08T16:44:08Z")

</div>

Hello–

Correct.

–Mail scanning cannot occur if ClamAV is not running.  
–ClamAV cannot run if there is not enough memory for it to start.  
–There will not be enough memory for it to start unless the min requirements for swap and memory are met  
–Since mail scanning is enabled, mail cannot enter the server. It is being rejected since it cannot be scanned, since there is nothing running to scan it.  
–Disabling SMTP scanning, as directed, will allow mail to enter the server while ClamAV is not running

-Jenna

---

<div class="post-metadata">

**Author:** ![donald](https://forums.interworx.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@donald](https://forums.interworx.com/u/donald)\
**Post date:** [April 8, 2022, 4:47pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/9 "2022-04-08T16:47:13Z")

</div>

i have disabled the mail scan and iam now receiving emails

---

<div class="post-metadata">

**Author:** ![donald](https://forums.interworx.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@donald](https://forums.interworx.com/u/donald)\
**Post date:** [April 8, 2022, 4:49pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/10 "2022-04-08T16:49:16Z")

</div>

also how to block incoming emails for a certain email like if i have one email for updates and i do not want people to sent or reply to that email how can i do it

---

<div class="post-metadata">

**Author:** ![IWorx-Jenna](https://forums.interworx.com/user_avatar/forums.interworx.com/iworx-jenna/32/41_2.png) [@IWorx-Jenna](https://forums.interworx.com/u/IWorx-Jenna)\
**Post date:** [April 8, 2022, 4:51pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/11 "2022-04-08T16:51:47Z")

</div>

Hello-

I don’t believe that is possible.

Thanks,  
-Jenna

---

<div class="post-metadata">

**Author:** ![donald](https://forums.interworx.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@donald](https://forums.interworx.com/u/donald)\
**Post date:** [April 8, 2022, 4:55pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/12 "2022-04-08T16:55:04Z")

</div>

ok but i have seen it possible with cpanel

---

<div class="post-metadata">

**Author:** ![IWorx-Jenna](https://forums.interworx.com/user_avatar/forums.interworx.com/iworx-jenna/32/41_2.png) [@IWorx-Jenna](https://forums.interworx.com/u/IWorx-Jenna)\
**Post date:** [April 8, 2022, 5:00pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/13 "2022-04-08T17:00:47Z")

</div>

It is not with InterWorx, as far as I am aware.

---

<div class="post-metadata">

**Author:** ![donald](https://forums.interworx.com/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@donald](https://forums.interworx.com/u/donald)\
**Post date:** [April 8, 2022, 5:03pm UTC](https://forums.interworx.com/t/guys-clamav-is-always-stopping-even-if-if-i-start-it/22689/14 "2022-04-08T17:03:21Z")

</div>

thank you have helped me a lot
