The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

clamd errors since update to cpanel 11.40

Discussion in 'General Discussion' started by Kent Brockman, Dec 11, 2013.

Thread Status:
Not open for further replies.
  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    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?
     
  2. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    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
     
  3. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Good one. I did it and freshclam now appears to download everything without errors.
    Thank you very much pal.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...
Thread Status:
Not open for further replies.

Share This Page