Tried to delete and install ClamAV again. No difference in behaviour from
what I can see. Downloads with freshclam still halts, appearantly because
of apparmor.

Den tors 5 sep. 2019 21:54Joel Esler (jesler) <jes...@cisco.com> skrev:

> How did you get this?
>
> Sent from my  iPad
>
> On Sep 5, 2019, at 05:06, Birger Birger via clamav-users <
> clamav-users@lists.clamav.net> wrote:
>
> 
> This might provide additional information.
>
> /usr/bin/freshclam
>  *Trying to retrieve CVD header of http://%s/%s
>  %cremote_cvdhead: write failed
>  %cremote_cvdhead: Error while reading CVD header from %s
>        %c%s not found on remote server
>         %cremote_cvdhead: Unknown response from %s (IP: %s): %s
>         %cremote_cvdhead: Unknown response from %s (IP: %s)
>     %cremote_cvdhead: Malformed CVD header (too short)
>      %cremote_cvdhead: Malformed CVD header (bad chars)
>      %cremote_cvdhead: Malformed CVD header (can't parse)
>    !getfile: Can't allocate memory for 'remotename'
>        *Trying to download http://%s/%s
>        *Trying to download http://%s/%s (IP: %s)
>       %cgetfile: Can't write to socket
>        %cgetfile: Error while reading database from %s: %s
>     %cgetfile: Error while reading database from %s (IP: %s): %s
>    ^getfile: %s not found on %s (IP: %s)
>   %cgetfile: Unknown response from %s: %s
>         %cgetfile: Unknown response from %s (IP: %s): %s
>        %cgetfile: Unknown response from %s
>     %cgetfile: Unknown response from %s (IP: %s)
>    !getfile: Can't create new file %s in %s
>        !getfile: Can't create new file %s in the current directory
>     Hint: The database directory must be writable for UID %d or GID %d
>      getfile: Can't write %d bytes to %s
>     %cgetfile: Download interrupted: %s (Host: %s)
>  %cgetfile: Download interrupted: %s (IP: %s)
>    GET %s/%s HTTP/1.0
> Host: %s
> %sUser-Agent: %s
> Connection: close
> %s%s%s
>      !Can't allocate memory for filename!
>    !Can't read CVD header of new %s database.
>      ^Mirror %s is not synchronized.
>         ^Mirror is more than 1 version out of date. Recording mirror
> failure.
>   !updatedb: Unknown database name (%s) passed.
>   ^Broken database version in TXT record.
>         ^Invalid DNS reply. Falling back to HTTP mode.
>  ^DNS record is older than 3 hours.
>      ^No timestamp in TXT record for %s
>      ^Broken database version in TXT record for %s
>   HTTPProxyUsername requires HTTPProxyPassword
>    %s is up to date (version: %d, sigs: %d, f-level: %d, builder: %s)
>      %s.%u.%u.%u.%u.%s.ping.clamav.net       ^Can't read %s header from %s
>   ^Can't read %s header from %s (IP: %s)
>  ^Current functionality level = %d, recommended = %d
>     Please check if ClamAV tools are linked against the proper version of
> libclamav
>         DON'T PANIC! Read
> https://www.clamav.net/documents/installing-clamav
>    !getpatch: Can't get path of current working directory
>  !chdir_tmp: dbname parameter value too long to create cvd file name: %s
>         !chdir_tmp: dbname parameter value too long to create cld file
> name: %s
>         !chdir_tmp: Can't access local %s database
>      !chdir_tmp: Can't create directory %s
>   !chdir_tmp: Can't unpack %s into %s
>     !chdir_tmp: Can't change directory to %s
>        Empty script %s, need to download entire database
>       %cgetpatch: Can't download %s from %s
>   !getpatch: Can't open %s for reading
>    ^Incremental update failed, trying to download %s
>       !buildcld: Can't get path of current working directory
>  !buildcld: Can't access directory %s
>    !buildcld: Can't open %s for writing
>    !buildcld: Can't open directory %s
>      !buildcld: gzopen() failed for %s
>       !buildcld: COPYING file not found
>       !buildcld: Can't add COPYING to new %s.cld - please check if there
> is enough disk space available
>       Updates to main.cvd or safebrowsing.cvd may require 200MB of disk
> space or more
>         !buildcld: Can't add %s to new %s.cld - please check if there is
> enough disk space available
>    !buildcld: Can't add daily.cfg to new %s.cld - please check if there is
> enough disk space available
>     !buildcld: gzclose() failed for %s
>      !buildcld: close() failed for %s
>        !buildcld: Can't return to previous directory %s
>        ^Can't unlink the old database file %s. Please remove it manually.
>      %s updated (version: %d, sigs: %d, f-level: %d, builder: %s)
>    ^Your ClamAV installation is OUTDATED!
>  !Can't create temporary directory %s
>    ClamAV update process started at %s     *Software version from DNS: %s
>  ^Local version: %s Recommended version: %s
>      DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
>     !DatabaseCustomURL: URL must be shorter than %llu
>       !DatabaseCustomURL: Incorrect URL
>       DatabaseCustomURL: Incorrect URL
>        %s is up to date (version: custom database)
>     DatabaseCustomURL: file %s missing
>      DatabaseCustomURL: Can't copy file %s into database directory
>   !DatabaseCustomURL: Not supported protocol
>      %s updated (version: custom database, sigs: %u)
>         !--update-db=custom requires DatabaseCustomURL
>  ^SafeBrowsing is disabled but can't remove old %s
>       ^Bytecode is disabled but can't remove old %s
>   !checkdbdir: Can't open directory %s
>    !Corrupted database file %s: %s
>         !Can't remove broken database file %s, please delete it manually
> and restart freshclam
>  Corrupted database file renamed to %s
>   Database updated (%d signatures) from %s
>        Database updated (%d signatures) from %s (IP: %s)
>       !downloadmanager: OnOutdatedExecute: Incorrect version number string
>    !downloadmanager: Can't allocate memory for buffer
>  %s:%s *Loading signatures from %s
>   [...]  ^pipe() failed: %s
>  ^dup2() failed: %s
>  ^fork() failed: %s
>  LibClamAV Warning: *%s ^waitpid() failed: %s
>  gmtime: %s
>  %a, %d %b %Y %X GMT TCP webcache %cinet_ntop() failed
>  Trying host %s (%s)...
>  !Can't create new socket: %s
>  ^Using default client ip.
>  *Using ip '%s' for fetching.
>  http://%s *If-Modified-Since: %s
>  Reading CVD header (%s):  *Connected to %s.
>  *Connected to %s (IP: %s).
>  HTTP/1.1 404 HTTP/1.0 404 HTTP/1.1 304 HTTP/1.0 304 OK (IMS)
>  HTTP/1.1 200 HTTP/1.0 200 HTTP/1.1 206 HTTP/1.0 206 HTTP/1.0  HTTP/1.1  OK
>
> ---------- Forwarded message ---------
> Från: Joel Esler (jesler) <jes...@cisco.com>
> Date: ons 4 sep. 2019 kl 12:20
> Subject: Re: [clamav-users] Fwd: Fwd: freshclam incremental update
> To: Birger Birger via clamav-users <clamav-users@lists.clamav.net>
> Cc: Birger Birger <birger.so...@gmail.com>
>
>
> This looks promising to troubleshoot.
>
> Sent from my  iPhone
>
> > On Sep 4, 2019, at 03:01, Birger Birger via clamav-users <
> clamav-users@lists.clamav.net> wrote:
> >
> > Sep 4 08:40:01 zentyal kernel: [345190.998397] audit: type=1400
> audit(1567579201.044:83): apparmor="DENIED" operation="connect"
> profile="/usr/bin/freshclam" name="/run/samba/winbindd/pipe" pid=1269
> comm="freshclam" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
>
_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to