Jinesh Thacker

Registered
Apr 7, 2015
2
0
1
India
cPanel Access Level
Root Administrator
Service Name: clamd
Service Status: failed
Notification: The service “clamd” appears to be down.
Service Check Method: The system’s command to check or to restart this service failed.
Number of Restart Attempts: 15
Service Check Raw Output:
clamd is not running or is crashed.
Startup Log:
No startup log

Memory Information:
  • Used: 661 MB
  • Available: 328 MB
  • Installed: 990 MB
Load Information: 1.82 1.45 1.33
Uptime: 10 days, 17 hours, 15 minutes, and 12 seconds
IOStat Information:
avg-cpu: %user %nice %system %iowait %steal %idle
9.06 0.08 2.59 10.02 0.00 78.24
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
xvda 117.33 2709.69 698.46 2509474342 646850936
ChkServd Version: 15.9

I get this email about 3-4 times a day. How can I fix this?

Thanks!
 

madmanmachines

Well-Known Member
Nov 28, 2014
94
4
8
cPanel Access Level
Root Administrator
Hi,

I this a VPS? Have you ensured your server is not exhausting it's RAM? You can check `/var/log/messages' for "OOM" errors; however, depending on the virtualization used, this may differ. You may want to check with your host as well to see if this is the case.

Thanks,
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Do you notice any error messages when attempting to restart it manually when this happens? EX:

Code:
/usr/local/cpanel/scripts/restartsrv_clamd
Also, do you see any noticeable entries in /var/log/exim_mainlog or /var/log/exim_paniclog at the time of the failures?

Thank you.
 

craigedmonds

Well-Known Member
Oct 29, 2007
115
1
68
Europe
cPanel Access Level
Root Administrator
Twitter
I get this error when I run /usr/local/cpanel/scripts/restartsrv_clamd


Service Error
The system could not find the “/usr/local/cpanel/3rdparty/bin/clamd” binary.
clamd has failed. Contact your system administrator if the service does not automagically recover.
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

As per the logs, I can see clamd binary is not present in /usr/local/cpanel/3rdparty/bin directory and due to that you are getting this issues, Can you please try to reinstall clamav on your server through WHM OR use following command to install clamav

Code:
/scripts/update_local_rpm_versions --edit target_settings.clamav installed
/scripts/check_cpanel_rpms --fix --targets=clamav
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463