Announcement

Collapse
No announcement yet.

ClamAV not running anymore

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ClamAV not running anymore

    Hi,

    I have have the problem getting my emails. They are retrieved from the internet but not delivered to the account in OXAE.

    Looking in mail.log:
    Code:
    Error in processing, id=04156-06, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: Clam Antivirus-clamd av-scanner FAILED: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 44) line 268. (in reply to end of DATA command))
    /var/run/clamav/clamd.ctl does not exist and in clamav.log I have
    Code:
    ERROR: Malformed database
    I tried to empty/delete and refresh db files in /var/lib/clamav with command freshclam already.
    DB files are downloaded and created, but when I restart ClamAV it tells me:

    Code:
    Starting ClamAV daemon: clamd executing: /usr/sbin/univention-mount-homedir.
    executing: /usr/bin/univention-skel.
    executing: /usr/sbin/univention-user-quota.
    LibClamAV Warning: ***********************************************************
    LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
    LibClamAV Warning: *** DON'T PANIC! Read [url]http://www.clamav.net/support/faq[/url] ***
    LibClamAV Warning: ***********************************************************
    LibClamAV Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information see  [url]www.clamav.net/eol-clamav-094[/url] and [url]www.clamav.net/download[/url] (length: 169)
    LibClamAV Error: Problem parsing database at line 742
    LibClamAV Error: Can't load /tmp/clamav-67ed808337d5f3ae1c356d8b44f13583/daily.ndb: Malformed database
    LibClamAV Error: Can't load /var/lib/clamav/daily.cvd: Malformed database
    ERROR: Malformed database
     failed!
    Is there anything else I can do?

    Many thanks
    openIT

  • #2
    clamav not running

    Starting from 15 April 2010 our CVD will contain a special signature which disables all clamd installations older than 0.95 – that is to say older than 1 year.


    I found this on www.clamav.net


    I stoped /etc/init.d/clamav-freshclam as first solution.

    Comment


    • #3
      Thanks ... I was looking on ClamAV homepage already but seems that I was looking on wrong subpages.

      Do you have an idea how to get back to old database files as well?

      I guess all OXAE installations will be affected. I have two customers running into this problem already.

      Comment


      • #4
        Hi,

        > I guess all OXAE installations will be affected.

        Yepp.
        OX-Support is waiting on a fix from UCS.

        We made a manual update on a demo-machine, it works, but not sure to put that on a productive server.

        Comment


        • #5
          First delete /var/lib/clamav/daily.cvd

          etc/init.d/clamav-freshclam stop
          etc/init.d/clamav-daemon start


          and

          postsuper -r ALL


          If freshclam disabled - clamav works with the database from yesterday.

          I have sent a mail to ox-support --- and wait.

          Comment


          • #6
            same problem here...had nearly a heart attack this morning
            any time-line when the fix will come?

            wbrgds

            here is the original announcment from the CLAMAV page:


            End of Life Announcement: ClamAV 0.94.x

            October 5th, 2009 Posted by - webmaster

            All ClamAV releases older than 0.95 are affected by a bug in freshclam which prevents incremental updates from working with signatures longer than 980 bytes.
            You can find more details on this issue on our bugzilla (see bug #1395)

            This bug affects our ability to distribute complex signatures (e.g. logical signatures) with incremental updates.

            So far we haven’t released any signatures which exceed this limit.
            Before we do we want as many users as possible to upgrade to the latest version of ClamAV.

            Starting from 15 April 2010 our CVD will contain a special signature which disables all clamd installations older than 0.95 – that is to say older than 1 year.

            This move is needed to push more people to upgrade to 0.95 .
            We would like to keep on supporting all old versions of our engine, but unfortunately this is no longer possible without causing a disservice to people running a recent release of ClamAV.
            The traffic generated by a full CVD download, as opposed to an incremental update, cannot be sustained by our mirrors.

            We plan to start releasing signatures which exceed the 980 bytes limit on May 2010.

            We recommend that you always run the latest version of ClamAV to get optimal protection, reliability and performance.

            Thanks for your cooperation!
            Last edited by lukasz; 04-16-2010, 10:55 AM.
            company | private

            Comment


            • #7
              Cool ... thanks. That worked.
              I sent a support request to OX with reference to this thread as well.

              Comment


              • #8
                Yes, you did it. ;-)

                rm /var/lib/clamav/daily.cvd
                /etc/init.d/clamav-freshclam stop
                /etc/init.d/clamav-daemon start
                postsuper -r ALL
                postfix flush

                and all mails will be delivered ...

                It's a workaround until OX/UCS will send an update.

                Comment


                • #9
                  We just released a fix for the problem:

                  http://www.open-xchange.com/forum/showthread.php?t=4631
                  Markus Wagner
                  Open-Xchange Quality Assurance

                  Comment


                  • #10
                    THANKS!

                    Thanks for this quick workaround and fix!

                    You saved my day :-)

                    Comment


                    • #11
                      Hello, I get the following errors, unfortunately, what can I do?

                      I do not want to install the new update from oxae because I only had problems after every update.

                      Therefore, I would meet a bug fix.
                      -----------
                      root@mail:/# rm /var/lib/clamav/daily.cvd
                      rm: Entfernen von â/var/lib/clamav/daily.cvdâ nicht möglich: Datei oder Verzeichnis nicht gefunden
                      root@mail:/# /etc/init.d/clamav-freshclam stop
                      root@mail:/# /etc/init.d/clamav-daemon start
                      Starting ClamAV daemon: clamd executing: /usr/sbin/univention-mount-homedir.
                      executing: /usr/bin/univention-skel.
                      executing: /usr/sbin/univention-user-quota.
                      LibClamAV Warning: ************************************************** *********
                      LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
                      LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
                      LibClamAV Warning: ************************************************** *********
                      LibClamAV Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information see www.clamav.net/eol-clamav-094 and www.clamav.net/download (length: 169)
                      LibClamAV Error: Problem parsing database at line 742
                      LibClamAV Error: Can't load daily.ndb: Malformed database
                      LibClamAV Error: cli_tgzload: Invalid size in header
                      LibClamAV Error: Can't load /var/lib/clamav/daily.cld: Malformed database
                      ERROR: Malformed database
                      failed!
                      Pokerkarten Webshop - Stempel online bestellen -

                      Comment


                      • #12
                        i think you have to do this:

                        rm /var/lib/clamav/daily.cvd
                        /etc/init.d/clamav-freshclam stop
                        /etc/init.d/clamav-daemon start
                        postsuper -r ALL
                        postfix flush

                        and all mails will be delivered ...

                        It's a workaround until OX/UCS will send an update.
                        or just update and do the fix...

                        Comment


                        • #13
                          the filenamne from my daily clamav are daily.cld, whats the problem.
                          I delete this and try again with your wordaround and already are best.
                          Pokerkarten Webshop - Stempel online bestellen -

                          Comment

                          Working...
                          X