Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Feb 2004
    Posts
    105

    Default clamd continuously failing

    After my last cPanel upgrade to WHM 11.15.0 cPanel 11.18.3-R21703, clamd keeps failing.

    I've tried

    /script/upcp --force

    but, no luck.

    Any ideas?
    Thanks

  2. #2
    Member
    Join Date
    Feb 2004
    Posts
    105

    Default

    I tried to run clamd

    /usr/sbin/clamd

    and it complained about non-parsable file /etc/clamd.conf with the following:

    ERROR: Parse error at line 244: Unknown option ArchiveMaxFileSize.
    ERROR: Can't open/parse the config file /etc/clamd.conf

    ERROR: Parse error at line 251: Unknown option ArchiveMaxRecursion.
    ERROR: Can't open/parse the config file /etc/clamd.conf


    ERROR: Parse error at line 256: Unknown option ArchiveMaxFiles.
    ERROR: Can't open/parse the config file /etc/clamd.conf


    After I edited /etc/clamd.conf and commented out the above directive, clamd started.

    I still don't know what's going on, although clamd is now stable.

    Any help is appreciated.

  3. #3
    Member
    Join Date
    Sep 2004
    Location
    inside a catfish
    Posts
    963
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    > clamd:
    > - NEW CONFIG FILE OPTIONS: MaxScanSize, MaxFileSize, MaxRecursion,
    > MaxFiles
    > - ** THE FOLLOWING OPTIONS ARE NO LONGER SUPPORTED **:
    > MailMaxRecursion,
    > ArchiveMaxFileSize, ArchiveMaxRecursion, ArchiveMaxFiles,
    > ArchiveMaxCompressionRatio, ArchiveBlockMax

    So the answer is to update your /etc/clamd.conf file with the appropriate new option which replaces the old option.

    Mike

Similar Threads & Tags
Similar threads

  1. clamd constantly failing/restarting
    By betoranaldi in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-29-2010, 12:30 PM
  2. clamd failing
    By richenou in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-01-2008, 08:25 AM
  3. clamd is continuously failing
    By louisg1 in forum cPanel Developers
    Replies: 2
    Last Post: 06-09-2008, 10:39 AM
  4. Replies: 3
    Last Post: 06-07-2007, 01:23 AM
  5. Clamd failing
    By fcitrolo in forum cPanel and WHM Discussions
    Replies: 34
    Last Post: 05-04-2007, 06:36 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube