[clamav-users] Received more than two file descriptors from systemd

Brian Morrison bdm at fenrir.org.uk
Sun Jul 8 17:28:44 EDT 2018


On Sun, 8 Jul 2018 22:45:09 +0200
"Maurizio Caloro" <mauric at gmx.ch> wrote:

>  
> 
> Nobody knows this?
> 

Have a look here. I am not a Debian user so I am unsure of the detail.


https://serverfault.com/questions/798587/debian-8-cant-get-clamav-to-listen-on-tcp-3310

>  
> 
> Sun Jul  8 22:42:25 2018 -> +++ Started at Sun Jul  8 22:42:25 2018
> 
> Sun Jul  8 22:42:25 2018 -> Received 3 file descriptor(s) from
> systemd.
> 
> Sun Jul  8 22:42:25 2018 -> clamd daemon 0.100.0 (OS: linux-gnu, ARCH:
> x86_64, CPU: x86_64)
> 
> Sun Jul  8 22:42:25 2018 -> Running as user clamav (UID 117, GID 123)
> 
> Sun Jul  8 22:42:25 2018 -> Log file size limited to 4294967295 bytes.
> 
> Sun Jul  8 22:42:25 2018 -> Reading databases from /var/lib/clamav
> 
> Sun Jul  8 22:42:25 2018 -> Not loading PUA signatures.
> 
> Sun Jul  8 22:42:25 2018 -> Bytecode: Security mode set to
> "TrustSigned".
> 
> Sun Jul  8 22:42:38 2018 -> Loaded 6567119 signatures.
> 
> Sun Jul  8 22:42:40 2018 -> ERROR: TCP: Received more than two file
> descriptors from systemd.
> 
> Sun Jul  8 22:42:40 2018 -> +++ Started at Sun Jul  8 22:42:40 2018
> 
> Sun Jul  8 22:42:40 2018 -> Received 3 file descriptor(s) from
> systemd.
> 
> Sun Jul  8 22:42:40 2018 -> clamd daemon 0.100.0 (OS: linux-gnu, ARCH:
> x86_64, CPU: x86_64)
> 
> Sun Jul  8 22:42:40 2018 -> Running as user clamav (UID 117, GID 123)
> 
> Sun Jul  8 22:42:40 2018 -> Log file size limited to 4294967295 bytes.
> 
> Sun Jul  8 22:42:40 2018 -> Reading databases from /var/lib/clamav
> 
> Sun Jul  8 22:42:40 2018 -> Not loading PUA signatures.
> 
> Sun Jul  8 22:42:40 2018 -> Bytecode: Security mode set to
> "TrustSigned".
> 
>  
> 
>  
> 
>  
> 
> Von: clamav-users [mailto:clamav-users-bounces at lists.clamav.net] Im
> Auftrag von Maurizio Caloro
> Gesendet: Sonntag, 8. Juli 2018 11:00
> An: clamav-users at lists.clamav.net
> Betreff: [clamav-users] Received more than two file descriptors from
> systemd
> 
>  
> 
> Hello
> 
>  
> 
> Please i need little help:. I fighting with me Clamav - deamon on
> Debian 8.11
> 
>  
> 
> I found this error on Clamav.log
> 
> 2018 -> ERROR: TCP: Received more than two file descriptors from
> systemd
> 
>  
> 
>  
> 
> But this are compilted
> 
> ~# cat /etc/systemd/system/clamav-daemon.socket.d/extend.conf
> 
> [Socket]
> 
> ListenStream=127.0.0.1:3310
> 
> SocketUser=clamav
> 
>  
> 
>  
> 
> #dpkg
> 
> ii              clamav
> 0.100.0+dfsg-0+deb8u1               amd64  anti-virus utility for
> Unix - command-line interface
> 
> ii              clamav-base                      0.100.0+dfsg-0+deb8u1
> all           anti-virus utility for Unix - base package
> 
> ii              clamav-daemon               0.100.0+dfsg-0+deb8u1
> amd64  anti-virus utility for Unix - scanner daemon
> 
> ii              clamav-freshclam            0.100.0+dfsg-0+deb8u1
> amd64  anti-virus utility for Unix - virus database update utility
> 
> ii              libclamav7
> 0.100.0+dfsg-0+deb8u1 amd64  anti-virus utility for Unix - library
> 
>  
> 
> Clamav-daemon.socket                Running
> 
> Listen: /run/clamav/clamd.ctl (Stream)
> 
>            127.0.0.1:10025 (Stream)
> 
>            127.0.0.1:3310 (Stream)
> 
>  
> 
> clamav-daemon.service                 Running
> 
> Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled)
> 
> Active: active (running) since Sun 2018-07-08 10:25:50 CEST; 12s ago
> 
>                Main PID: 27413 (clamd)
> 
> CGroup: /system.slice/clamav-daemon.service
> 
>            L-27413 /usr/sbin/clamd --foreground=true
> 
>  
> 
> # telnet 127.0.0.1 10025
> 
> Trying 127.0.0.1...
> 
> Connected to 127.0.0.1.
> 
>  
> 
> # telnet 127.0.0.1 10026
> 
> Trying 127.0.0.1...
> 
> Connected to 127.0.0.1.
> 
>  
> 
> root at mail:/run# telnet 127.0.0.1 3310
> 
> Trying 127.0.0.1...
> 
> Connected to 127.0.0.1.
> 
>  
> 
> Cat /etc/clamsmtp.conf
> 
> OutAddress: 10026
> 
> Listen: 127.0.0.1:10025
> 
>  
> 
>  
> 
> /var/run/clamav
> 
> drwxr-xr-x  2 clamav   clamav     60 Jul  8 10:30 clamav
> 
> w-rw-rw-  1 clamav clamav   0 Jul  8 10:30 clamd.ctl
> 
>  
> 
> Clamav never write to this ?
> 
> Also socket file dont write down
> 
>  
> 
> user clamav exist
> 
> group clamav exist
> 
> 




More information about the clamav-users mailing list