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.

Anacron freshclam error

Discussion in 'General Discussion' started by upsforum, Jul 22, 2015.

  1. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    446
    Likes Received:
    0
    Trophy Points:
    16
    every day I receive this message:

    subject: Anacron job 'cron.daily' on serverX

    /etc/cron.daily/freshclam:

    ERROR: Can't create temporary directory /var/lib/clamav/clamav-91a7b521b4bc912800ebb0707ca94d41.tmp
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you installed a third-party instance of ClamAV through your system package manager or via source instead of through the "Manage Plugins" option in Web Host Manager?

    Thank you.
     
  3. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    446
    Likes Received:
    0
    Trophy Points:
    16
    I reinstaller with WHM option but I get this error:

    root@vps6 [~]# /etc/cron.daily/freshclam
    ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
    ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Did you first remove any manual installation of ClamAV (installed either through source or RPM)? Check to see the file ownership of "/var/log/clamav/freshclam.log":

    Code:
    ls -al /var/log/clamav/freshclam.log
    I've seen cases where it's owned by "clam" instead of "clamav" after an unsupported ClamAV installation.

    Thank you.
     
  5. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    446
    Likes Received:
    0
    Trophy Points:
    16
    confirm owner is clam and not clamav o_O
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - Anacron freshclam error
  1. icandoit
    Replies:
    2
    Views:
    327

Share This Page