clamd errors since update to cpanel 11.40

Status
Not open for further replies.

Kent Brockman

Well-Known Member
PartnerNOC
Jan 20, 2008
1,248
50
178
Buenos Aires, Argentina
cPanel Access Level
Root Administrator
Hello guys. Since I updated to cPanel 11.40 one of my servers is reporting this error.
It's noticeable that this server runs under "CENTOS 6.5 i686 virtuozzo – vps" with Apache 2.4 and PHP 5.4, and the other one without the issue is running under "CENTOS 6.5 x86_64 virtuozzo – vps" with Apache 2.2 and PHP 5.2.
This email is arriving once a day.

Code:
Subject: /usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings

Content:

ERROR: Can't create temporary directory /usr/local/cpanel/3rdparty/share/clamav/clamav-ea2d90c13a4c5722ec0975436003f9d0.tmp
How can I fix this?
 

mtindor

Well-Known Member
Sep 14, 2004
1,363
65
178
inside a catfish
cPanel Access Level
Root Administrator
Do this:

chown clamav:clamav /usr/local/cpanel/3rdparty/share/clamav

Then you can re-run freshclam if you like to verify that it is working.

It's trying to write temp files into that directory, and that directory is currently owned by root.

cPanel is aware of this and it will likely be remedied in a future update.

There are at least two other threads on here discussing this, with cPanel staff suggesting the above command to resolve the problem. So there should be no worries doing this.

Mike
 
Status
Not open for further replies.