Install of clamd: Unknown option ArchiveMaxRecursion

Discussion in 'Installation/Configuration' started by daff, May 16, 2008.

  1. daff

    daff New Member

    Hello,

    I followed the Tutorial http://www.howtoforge.com/forums/showthread.php?t=16204 and used instead of the older version 0.91.2 the version 0.93 which is the actual version. When I start clamav with
    Code:
    /etc/init.d/clamav-daemon
    I get the following output:
    Code:
    Starting ClamAV daemon: clamd ERROR: Parse error at line 163: Unknown option ArchiveMaxRecursion.
    ERROR: Can't open/parse the config file /home/admispconfig/ispconfig/tools/clamav/etc/clamd.conf
     failed!
    I had an similar error before when I executed
    Code:
    ./freshclam
    but after an retry of the command it started. I had also a reboot now but it didn't help.
    Any ideas?

    daff
     
    Last edited: May 16, 2008
  2. daveb

    daveb Member

    Since version 0.93 their are some config changes.

    Code:
      * 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
     
  3. daff

    daff New Member

    Thanks! Now it works
     
  4. falko

    falko Super Moderator ISPConfig Developer

    I've just fixed this in SVN.
     

Share This Page