This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cannot update Linux antivirus using /opt/sophos-av/bin/savupdate

Why I cannot update Sophos Antivirus for Linux (v 9.2.3) from corporate server using Primary server http://[server_ip]:8888 and Secondary server http://[server_fqdn]:8888?

I see the following error:

[root@RedHat-Sophos-test ~]# /opt/sophos-av/bin/savupdate 
Downloading http://[server_ip]:8888/CIDs/S000/savlinux/server.inf
Downloading http://[server_ip]:8888/CIDs/S000/savlinux/savlinux/server.inf
Downloading http://[server_ip]:8888/CIDs/S000/savlinux/sdds:SOPHOS/server.inf
Failed to replicate from http://[server_ip]:8888/CIDs/S000/savlinux
Downloading http://[server_fqdn]:8888/CIDs/S000/savlinux/server.inf
Downloading http://[server_fqdn]:8888/CIDs/S000/savlinux/savlinux/server.inf
Downloading http://[server_fqdn]:8888/CIDs/S000/savlinux/sdds:SOPHOS/server.inf
Failed to replicate from http://[server_fqdn]:8888/CIDs/S000/savlinux
Failed to replicate from all update sources

[root@RedHat-Sophos-test ~]#

And no one file with name "server.inf" in BootStrap directory \\SOPHOS\SophosUpdate\CIDs\S000\savlinux

Version of Sophos Enterprise Console  = 5.1.0.1839.

:43313


This thread was automatically locked due to age.
  • Hello vladlmlr,

    has it ever worked before? If not, the post Re: Unable to update Linux from WebCID might be of help.

    Christian

    :43315
  • Thanks, I have read your post and I try to move the computer out from Unassigned list to one of the Groups in Enterprise Console. But problem was not solved.

    And I check the server error codes (i use Apache for WebCID):

    client_ip client_ip - - [11/Sep/2013:17:36:13 +0300] "GET /CIDs/S000/savlinux/sdds:SOPHOS/server.inf HTTP/1.1" 403 243
    client_ip client_ip - - [11/Sep/2013:17:36:13 +0300] "GET /CIDs/S000/savlinux/savlinux/server.inf HTTP/1.1" 404 236
    client_ip client_ip - - [11/Sep/2013:17:36:13 +0300] "GET /CIDs/S000/savlinux/server.inf HTTP/1.1" 404 227
    client_ip client_ip - - [11/Sep/2013:17:36:13 +0300] "GET /CIDs/S000/savlinux/savlinux/server.inf HTTP/1.1" 404 236
    client_ip client_ip - - [11/Sep/2013:17:36:13 +0300] "GET /CIDs/S000/savlinux/server.inf HTTP/1.1" 404 227
    client_ip client_ip  - - [11/Sep/2013:17:36:13 +0300] "GET /CIDs/S000/savlinux/sdds:SOPHOS/server.inf HTTP/1.1" 403 243

    For some requests error code is 404, but update is not continue.

    :43317
  • The problem is not the 404 (file missing) - which are to be expected (server.inf is only for use by Sophos WebCIDs to allow DOS redirection).

    The problem is the 403 (Forbidden) which the server returns for the last request, which aborts the update.

    Stop the server from returning 403 for a valid (if absent) request, then the update should proceed to the cidsync.upd and update successfully.

    :43319
  • Thanks, problem solved.

    Solution: I replace default Apache error page 403 in configuration file with option

    ErrorDocument 403 http://server_fqdn/server.inf

    :43331