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.

ClamAV Issue Couldn't watch new directory

Discussion in 'General Discussion' started by renatoandrade, May 17, 2014.

  1. renatoandrade

    renatoandrade Member

    Joined:
    Feb 20, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Erros in Log /var/log/messages:
    May 16 18:00:55 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-600bd2df028a00a65a573391692eb5e1.tmp: No such file or directory

    I'm having this problem with several files generating almost 2000 lines with this error log, hourly, does anyone know how to solve this problem?

    Code:
    /var/log/messages:
    May 16 18:00:55 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-600bd2df028a00a65a573391692eb5e1.tmp: No such file or directory
    May 16 18:00:56 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-2ed92048c74feea229b89e25fbfbb62f.tmp: No such file or directory
    May 16 18:00:56 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-283a69d4cbda1c28d4b6bcaa8d2c1cf7.tmp: No such file or directory
    May 16 18:00:56 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-cba57ab58dfa98bfbf2c234bfd74bf5c.tmp: No such file or directory
    May 16 18:00:56 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-42bb6c21db899dd321b4b0bac2c63807.tmp: No such file or directory
    May 16 18:00:56 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-ace209f2812d3185728b987c127671da.tmp: No such file or directory
    May 16 18:00:56 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-4213611b90ef4d455ea4ef295968ed32.tmp: No such file or directory
    May 16 18:00:56 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-bf5d56fe524ed0e32617c0c458f02644.tmp: No such file or directory
    May 16 18:00:56 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-ded39edbbe1892faf5b8025096749325.tmp: No such file or directory
    May 16 18:00:56 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-8447cbeb6fdeffe2ea132cb1fa85bff8.tmp: No such file or directory
    May 16 18:00:57 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-9b8f97ee49d6496d0a3183489e7de0f6.tmp: No such file or directory
    May 16 18:00:57 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-df81482301e98d532dfcceb531ddb512.tmp: No such file or directory
    May 16 18:00:57 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-f1e3b63f4699dd7114df25802d9a9ee2.tmp: No such file or directory
    May 16 18:00:57 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-39ff1858c7716290515f0dc9cf5eddfc.tmp: No such file or directory
    May 16 18:00:57 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-5b7c7f98a4edeb0f52a8e3562558cc69.tmp: No such file or directory
    May 16 18:00:57 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-e9d20c3c7dadfdf3e5236cfe44deef5d.tmp: No such file or directory
    May 16 18:00:57 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-2238be5ec09623ea16e6819296a344fe.tmp: No such file or directory
    May 16 18:00:57 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-1e288045ecb39f82e644fcf90f397178.tmp: No such file or directory
    May 16 18:00:57 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-38b4daeb3678922bd75790ef191180c1.tmp: No such file or directory
    May 16 18:00:58 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-911540c2708fcfeef0c757e5f5f9d0a6.tmp: No such file or directory
    May 16 18:00:59 server inotifywait[758]: Couldn't watch new directory /var/tmp/clamav-fef5359cd6722c617a9112578feac60b.tmp: No such file or directory .....
     
  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
    The message indicates the temporary files associated with ClamAV no longer exist. You may need to modify your monitoring script (e.g. Maldet if installed) so that it excludes this directory.

    Thank you.
     
Loading...

Share This Page