• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] clamd.service startet nicht

Hallo,

ich habe installiert:
Code:
zypper se -i clam
S | Name       | Zusammenfassung                                     | Typ  
--+------------+-----------------------------------------------------+------
i | ClamAV-GUI | Front-End for ClamAV                                | Paket
i | clamav     | Antivirus-Werkzeugkasten                            | Paket
Danach:
Code:
systemctl enable clamd.service
und:
Code:
systemctl start clamd.service
Allerdings bekomme ich beim Start des Dienstes folgende Meldungen:
Code:
clamd.service - Clamav antivirus Deamon
   Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled)
   Active: failed (Result: exit-code) since Mo 2016-01-11 13:02:48 CET; 2 days ago
  Process: 5340 ExecStart=/usr/sbin/clamd (code=exited, status=1/FAILURE)

Jan 11 13:02:48 lvwadm2 clamd[5340]: LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
Jan 11 13:02:48 lvwadm2 clamd[5340]: ERROR: Can't open file or directory
Beim Suchen habe ich diesen Thread gefunden und blöderweise "/usr/sbin/clamd start" ausgeführt.
Da gibts keine Fehlermeldungen, aber mein Claws-Mail meint immer noch, dass clamd nicht läuft.
Irgendwie "bekriegt" sich das auch *grrrr* /usr/sbin/clamd habe ich inzwischen wieder gestoppt, nur meint clamd.service immer noch:
Code:
clamd[29129]: ERROR: TCP: Cannot bind to [127.0.0.1]:3310: Address already in use
clamd[29129]: ERROR: LOCAL: Socket file /var/run/clamav/clamd-socket is in use by another process.
Hint: Some lines were ellipsized, use -l to show in full.
Das sollte aber ein reboot richten.

Nun aber meine Frage: Woran kann es liegen, dass clamd.service nicht startet?

Die GUI im Übrigen funzt und ich kann von da manuell Scans starten und die laufen.
freshclam lief manuell auch problemlos.
 
Nach einem Reboot hat sich das alles irgendwie "eingespielt" ... es läuft :)

Code:
systemctl status clamd.service 
clamd.service - Clamav antivirus Deamon
   Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled)
   Active: active (running) since Do 2016-01-14 12:06:19 CET; 2h 16min ago
  Process: 1420 ExecStart=/usr/sbin/clamd (code=exited, status=0/SUCCESS)
 Main PID: 1508 (clamd)
   CGroup: /system.slice/clamd.service
           └─1508 /usr/sbin/clamd

Jan 14 12:06:09 lvwadm2 clamd[1420]: LibClamAV Warning: cli_loadldb: logical signature for Win.Trojan.ssid18332 uses PCREs but support is disabled, skipping
Hint: Some lines were ellipsized, use -l to show in full.
 
Oben