Dann gehe das mal so an:
Code: Alles auswählen
# clamd --foreground=true
Mon Jul 1 16:07:26 2024 -> Limits: Global time limit set to 120000 milliseconds.
Mon Jul 1 16:07:26 2024 -> Limits: Global size limit set to 104857600 bytes.
Mon Jul 1 16:07:26 2024 -> Limits: File size limit set to 26214400 bytes.
Mon Jul 1 16:07:26 2024 -> Limits: Recursion level limit set to 16.
Mon Jul 1 16:07:26 2024 -> Limits: Files limit set to 10000.
Mon Jul 1 16:07:26 2024 -> Limits: MaxEmbeddedPE limit set to 10485760 bytes.
Mon Jul 1 16:07:26 2024 -> Limits: MaxHTMLNormalize limit set to 10485760 bytes.
Mon Jul 1 16:07:26 2024 -> Limits: MaxHTMLNoTags limit set to 2097152 bytes.
Mon Jul 1 16:07:26 2024 -> Limits: MaxScriptNormalize limit set to 5242880 bytes.
Mon Jul 1 16:07:26 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes.
Mon Jul 1 16:07:26 2024 -> Limits: MaxPartitions limit set to 50.
Mon Jul 1 16:07:26 2024 -> Limits: MaxIconsPE limit set to 100.
Mon Jul 1 16:07:26 2024 -> Limits: MaxRecHWP3 limit set to 16.
Mon Jul 1 16:07:26 2024 -> Limits: PCREMatchLimit limit set to 10000.
Mon Jul 1 16:07:26 2024 -> Limits: PCRERecMatchLimit limit set to 5000.
Mon Jul 1 16:07:26 2024 -> Limits: PCREMaxFileSize limit set to 26214400.
Mon Jul 1 16:07:26 2024 -> Archive support enabled.
Mon Jul 1 16:07:26 2024 -> AlertExceedsMax heuristic detection disabled.
Mon Jul 1 16:07:26 2024 -> Heuristic alerts enabled.
Mon Jul 1 16:07:26 2024 -> Portable Executable support enabled.
Mon Jul 1 16:07:26 2024 -> ELF support enabled.
Mon Jul 1 16:07:26 2024 -> Mail files support enabled.
Mon Jul 1 16:07:26 2024 -> OLE2 support enabled.
Mon Jul 1 16:07:26 2024 -> PDF support enabled.
Mon Jul 1 16:07:26 2024 -> SWF support enabled.
Mon Jul 1 16:07:26 2024 -> HTML support enabled.
Mon Jul 1 16:07:26 2024 -> XMLDOCS support enabled.
Mon Jul 1 16:07:26 2024 -> HWP3 support enabled.
Mon Jul 1 16:07:26 2024 -> Self checking every 3600 seconds.
ich starte also den Clamd manuell, und sehe diesen Prozess
Code: Alles auswählen
# ps aux | grep clamd
clamav 52815 15.1 33.8 1548748 1356528 pts/0 Sl+ 16:07 0:14 clamd --foreground=true
Gleichzeitig existiert diese Verbindung auf Localhost und dem Port 3310
Code: Alles auswählen
# netstat -tulpen | grep clam
tcp 0 0 127.0.0.1:3310 0.0.0.0:* LISTEN 108 175204 52815/clamd
tcp6 0 0 ::1:3310 :::* LISTEN 108 175203 52815/clamd
Wenn ich den Prozess wieder stoppe und stattdessen
ausführe, dann existiert auch
Code: Alles auswählen
# ps aux | grep clamd
clamav 53481 3.0 34.1 1548748 1368744 ? Ssl 16:10 0:14 /usr/sbin/clamd --foreground=true
Nicht aber
Diese Ausgabe
Code: Alles auswählen
# journalctl --since="2024-07-01 16:10" -f --unit=clamav-daemon.service
Jul 01 16:10:47 mx systemd[1]: Starting clamav-daemon.service - Clam AntiVirus userspace daemon...
Jul 01 16:10:47 mx systemd[1]: Started clamav-daemon.service - Clam AntiVirus userspace daemon.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: Global time limit set to 120000 milliseconds.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: Global size limit set to 104857600 bytes.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: File size limit set to 26214400 bytes.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: Recursion level limit set to 16.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: Files limit set to 10000.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: MaxEmbeddedPE limit set to 10485760 bytes.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: MaxHTMLNormalize limit set to 10485760 bytes.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: MaxHTMLNoTags limit set to 2097152 bytes.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: MaxScriptNormalize limit set to 5242880 bytes.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: MaxPartitions limit set to 50.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: MaxIconsPE limit set to 100.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: MaxRecHWP3 limit set to 16.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: PCREMatchLimit limit set to 10000.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: PCRERecMatchLimit limit set to 5000.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Limits: PCREMaxFileSize limit set to 26214400.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Archive support enabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> AlertExceedsMax heuristic detection disabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Heuristic alerts enabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Portable Executable support enabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> ELF support enabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Mail files support enabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> OLE2 support enabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> PDF support enabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> SWF support enabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> HTML support enabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> XMLDOCS support enabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> HWP3 support enabled.
Jul 01 16:11:02 mx clamd[53481]: Mon Jul 1 16:11:02 2024 -> Self checking every 3600 seconds.
sieht ähnlich aus, wie die direkte Ausgabe des manuellen Servicestarts. Nur warum clamd jetzt nicht auf Localhost und Port 3310 lauscht steht dort nicht.
Grüße
Axel