Der Server ist nicht mal 24 Stunden alt und ich bin schon versucht noch mal alles neu zu machen. Irgendwas stimmt mit ClamAV nicht und ich bekomme das Problem nicht in den Griff. Hellhörig bin ich geworden nachdem ich in den Mail Logs geschaut habe ob ich einen Grund finde, warum weder Mails auf dem Server ankommen noch verschickt werden. In den Mail Logs sind folgende Einträge zu finden.
Ich hab mir gedacht bevor ich jetzt lange rum mache installier ich ClamAV einfach ganz neu und fertig. Folgenden Fehler bekomme ich dabei dann.
Und wieso sagt mir apt-get update && apt-get update eigentlich es gibt keine Updates wenn z.B. ClamAV in der vorliegenden Version schon "End of Life" ist und man mindestens 095 oder neuer nehmen soll?
Kann es nach dem Log her wirklich sein, dass der Server keine Mails empfängt oder versendet nur wegen dem ClamAV oder was is da los?
Sorry das ich den gesamten Teil aus dem Log hier rein packe aber ich wollte nichts auslassen. Wobei der wirklich beunruhigende Teil in der darauf folgenden Zeile kommt.Jun 21 22:01:47 server1 amavis[4978]: (04978-05) (!)ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: 2, retrying (2)
Jun 21 22:01:53 server1 amavis[4978]: (04978-05) (!!)ClamAV-clamd av-scanner FAILED: run_av error: 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 88) line 309.
Jun 21 22:01:53 server1 amavis[4978]: (04978-05) (!!)WARN: all primary virus scanners failed, considering backups
Jun 21 22:01:53 server1 amavis[4978]: (04978-05) (!!)run_av (ClamAV-clamscan) FAILED - unexpected exit 50, output="LibClamAV Warning: ***********************************************************\nLibClamAV Warning: *** This version of the ClamAV engine is outdated. ***\nLibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***\nLibClamAV Warning: ***********************************************************\nLibClamAV 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)\nLibClamAV Error: Problem parsing database at line 740\nLibClamAV Error: Can't load daily.ndb: Malformed database\nLibClamAV Error: cli_tgzload: Can't load daily.ndb\nLibClamAV Error: Can't load /var/lib/clamav//daily.cld: Malformed database\nERROR: Malformed database"
Jun 21 22:01:53 server1 amavis[4978]: (04978-05) (!!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 50, output="LibClamAV Warning: ***********************************************************\nLibClamAV Warning: *** This version of the ClamAV engine is outdated. ***\nLibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***\nLibClamAV Warning: ***********************************************************\nLibClamAV 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)\nLibClamAV Error: Problem parsing database at line 740\nLibClamAV Error: Can't load daily.ndb: Malformed database\nLibClamAV Error: cli_tgzload: Can't load daily.ndb\nLibClamAV Error: Can't load /var/lib/clamav//daily.cld: Malformed database\nERROR: Malformed database" at (eval 88) line 527.
Jun 21 22:01:53 server1 amavis[4978]: (04978-05) (!!)TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: run_av error: 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 88) line 309.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 50, output="LibClamAV Warning: ***********************************************************\nLibClamAV Warning: *** This version of the ClamAV engine is outdated. ***\nLibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***\nLibClamAV Warning: ***********************************************************\nLibClamAV 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)\nLibClamAV Error: Problem parsing d...
Jun 21 22:01:53 server1 amavis[4978]: (04978-05) (!!)...atabase at line 740\nLibClamAV Error: Can't load daily.ndb: Malformed database\nLibClamAV Error: cli_tgzload: Can't load daily.ndb\nLibClamAV Error: Can't load /var/lib/clamav//daily.cld: Malformed database\nERROR: Malformed database" at (eval 88) line 527.
Jun 21 22:01:53 server1 amavis[4978]: (04978-05) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20100621T220146-04978
Das hört sich für mich so an, dass der Server keine Mails empfängt, da mit ClamAV was nicht grade is.Jun 21 22:01:53 server1 postfix/smtp[5948]: 876B242201DA: to=<info@mailadomäne.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.4, delays=0.28/0/0/7.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451-4.5.0 Error in processing, id=04978-05, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: run_av error: 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 88) line 309.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 50, output="LibClamAV Warning: *********************************************************** 451-4.5.0 LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** 451-4.5.0 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** 451-4.5.0 LibClamAV Warning: *********************************************************** 451-4.5.0 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) 451-4.5.0 LibClamAV Error: Problem parsing database at line 740 451-4.5.0 LibClamAV Error: Can't load daily.ndb: Malformed database 451-4.5.0 LibClamAV Error: cli_tgzload: Can't load daily.ndb 451-4.5.0 LibClamAV Error: Can't load /var/lib/clamav//daily.cld: Malformed database 451 4.5.0 ERROR: Malformed database" at (eval 88) line 527. (in reply to end of DATA command))
Ich hab mir gedacht bevor ich jetzt lange rum mache installier ich ClamAV einfach ganz neu und fertig. Folgenden Fehler bekomme ich dabei dann.
Das heißt einfach so neu installieren is auch nicht drin.server1:/# apt-get install --reinstall clamav-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/238kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 33478 files and directories currently installed.)
Preparing to replace clamav-daemon 0.94.dfsg.2-1lenny2 (using .../clamav-daemon_0.94.dfsg.2-1lenny2_amd64.deb) ...
Stopping ClamAV daemon: clamd.
Unpacking replacement clamav-daemon ...
Processing triggers for man-db ...
Setting up clamav-daemon (0.94.dfsg.2-1lenny2) ...
Starting ClamAV daemon: clamd 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 740
LibClamAV Error: Can't load daily.ndb: Malformed database
LibClamAV Error: cli_tgzload: Can't load daily.ndb
LibClamAV Error: Can't load /var/lib/clamav/daily.cld: Malformed database
ERROR: Malformed database
failed!
Und wieso sagt mir apt-get update && apt-get update eigentlich es gibt keine Updates wenn z.B. ClamAV in der vorliegenden Version schon "End of Life" ist und man mindestens 095 oder neuer nehmen soll?
Kann es nach dem Log her wirklich sein, dass der Server keine Mails empfängt oder versendet nur wegen dem ClamAV oder was is da los?