Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2007
    Location
    Ohio
    Posts
    44

    Clamd.conf ArchiveMaxCompressRatio (ClamAV nub)

    I have a VPS that started sending me emails last night (in mass) giving me failures saying
    clamd failed @ Thu Apr 17 13:11:50 2008. A restart was attempted automagically.
    I ran a yum update, and since the server isn't critical I just gave it a restart. Still getting the errors, I checked the boot.log file, where I saw errors like:

    Code:
    Apr 17 12:37:56 host exim: Starting clamd: 
    Apr 17 12:37:56 host clamd: ERROR: Parse error at line 299: Unknown option ArchiveMaxCompressionRatio.
    Apr 17 12:37:56 host clamd: ERROR: Can't open/parse the config file /etc/clamd.conf
    Apr 17 12:37:56 host exim: ERROR: Can't open/parse the config file /etc/clamd.conf
    Apr 17 12:37:56 host exim: clamd startup failed
    The clamd.conf file hasn't been edited since it was installed in August, I'm not sure why it decided to have issues now. So I just commented out the ArchiveMaxCompressionRatio directive in the config file to get it up and running again.

    I have no knowledge of ClamAV (clamd), so I'm not sure exactly what it archives or how it compresses it, but I was just wondering if this will a) cause any noticeable issues and/or b) if theres a new directive equivalent to this one I should use instead (man just said "outdated").
    Much thanks in advanced.
    T.J.
    ----
    The lone under qualified web/graphic/server guy.

  2. #2
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,750
    Did you try updating clamd?
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  3. #3
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,506
    Here is the news released on the ClamAV Mailing List.

    Dear ClamAV users,

    This release introduces many new features and engine enhancements, please
    see the notes below for the list of major changes. The most visible one
    is the new logic in scan limits which affects some command line and config
    options of clamscan and clamd. Please see clamscan(1) and clamd.conf(5)
    and the example config file for more information on the new options.

    Most important changes include:

    * libclamav:
    - New logic in scan limits: provides much more efficient protection against
    DoS attacks but also results in different command line and config options
    to clamscan and clamd (see below)
    - New/improved modules: unzip, SIS, cabinet, CHM, SZDD, text normalisator,
    entity converter
    - Improved filetype detection; filetype definitions can be remotely updated
    - Support for .cld containers (which replace .inc directories)
    - Improved pattern matcher and signature formats
    - More efficient scanning of HTML files
    - Many other improvements

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

    * clamscan:
    - NEW CMDLINE OPTIONS: --max-filesize, --max-scansize
    - REMOVED OPTIONS: --block-max, --max-space, --max-ratio

    * freshclam:
    - NEW CONFIG OPTION CompressLocalDatabase
    - NEW CMDLINE SWITCH --no-warnings
    - main.inc and daily.inc directories are no longer used by ClamAV; please
    remove them manually from your database directory

    --
    The ClamAV team (http://www.clamav.net/team)
    tanfwc
    Singapore Managed Colocation
    Singapore BGP Announcement

  4. #4
    Join Date
    Jun 2007
    Location
    Ohio
    Posts
    44
    Ahh, thanks for that, Google failed me on that one. After looking at the logs more, looks like the VPS host ran some updates last night, failed to check the status afterwords though. Looks like I should be OK without it, I hope.
    T.J.
    ----
    The lone under qualified web/graphic/server guy.

  5. #5
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,506
    Sure, you are most welcome
    tanfwc
    Singapore Managed Colocation
    Singapore BGP Announcement

  6. #6
    @tanfwc Thank you for sharing this with the community (those that aren't on the Clam AV email-list)

  7. #7
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,506
    I'm glad to hear this
    tanfwc
    Singapore Managed Colocation
    Singapore BGP Announcement

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •