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

Sophos for Linux Failed to replicate from sdds:SOPHOS. Fresh install, is Sophos for Linux no longer supported?

<code>

$ ./bin/savupdate -v5 --debug
2016-06-23 13:46:36,773 DEBUG savupdate.util.Logger: Logging to /opt/sophos-av/log/savupdate-debug.log
2016-06-23 13:46:37,360 INFO savupdate.util.Logger: Update to include '*' priority 10
Update to include '*' priority 10
2016-06-23 13:46:37,361 INFO savupdate.util.Logger: Update to exclude 'sav-*' priority 20
Update to exclude 'sav-*' priority 20
2016-06-23 13:46:37,362 INFO savupdate.util.Logger: Update to exclude 'sdf.xml' priority 20
Update to exclude 'sdf.xml' priority 20
2016-06-23 13:46:37,362 INFO savupdate.util.Logger: Update to include 'sav-linux/licence*' priority 30
Update to include 'sav-linux/licence*' priority 30
2016-06-23 13:46:37,363 INFO savupdate.util.Logger: Update to include 'sav-linux/manifest.dat' priority 30
Update to include 'sav-linux/manifest.dat' priority 30
2016-06-23 13:46:37,363 INFO savupdate.util.Logger: Update to include 'sav-linux/manifest.spec' priority 30
Update to include 'sav-linux/manifest.spec' priority 30
2016-06-23 13:46:37,363 INFO savupdate.util.Logger: Update to include 'sav-linux/cidsync.upd' priority 30
Update to include 'sav-linux/cidsync.upd' priority 30
2016-06-23 13:46:37,364 INFO savupdate.util.Logger: Update to include 'sav-linux/common/*' priority 30
Update to include 'sav-linux/common/*' priority 30
2016-06-23 13:46:37,364 INFO savupdate.util.Logger: Update to include 'sav-linux/x86/*' priority 30
Update to include 'sav-linux/x86/*' priority 30
2016-06-23 13:46:37,365 INFO savupdate.util.Logger: Update to include 'uncdownload/*' priority 20
Update to include 'uncdownload/*' priority 20
2016-06-23 13:46:37,365 INFO savupdate.util.Logger: Update to exclude 'talpa/*' priority 20
Update to exclude 'talpa/*' priority 20
2016-06-23 13:46:37,366 INFO savupdate.util.Logger: Update to include 'talpa/talpa-srcpack.tar.gz' priority 30
Update to include 'talpa/talpa-srcpack.tar.gz' priority 30
2016-06-23 13:46:37,366 INFO savupdate.util.Logger: Update to include 'talpa/manifest.dat' priority 30
Update to include 'talpa/manifest.dat' priority 30
2016-06-23 13:46:37,367 INFO savupdate.util.Logger: Update to include 'talpa/cidsync.upd' priority 30
Update to include 'talpa/cidsync.upd' priority 30
2016-06-23 13:46:37,367 INFO savupdate.util.Logger: Update to include 'talpa/copying' priority 30
Update to include 'talpa/copying' priority 30
2016-06-23 13:46:37,368 INFO savupdate.util.Logger: Update to include 'talpa/talpa-debian/combined.tgz' priority 30
Update to include 'talpa/talpa-debian/combined.tgz' priority 30
2016-06-23 13:46:37,368 INFO savupdate.util.Logger: Update to include 'talpa/talpa-debian/talpa-binpack-debian-x86_64-3.16.0-4-amd64-1smpdebian3167ckt25120160306.tar.gz' priority 30
Update to include 'talpa/talpa-debian/talpa-binpack-debian-x86_64-3.16.0-4-amd64-1smpdebian3167ckt25120160306.tar.gz' priority 30
2016-06-23 13:46:37,369 INFO savupdate.util.Logger: Update to include 'talpa/talpa-debian/talpa-binpack-debian-x86_64-3.16.0-4-amd64.tar.gz' priority 30
Update to include 'talpa/talpa-debian/talpa-binpack-debian-x86_64-3.16.0-4-amd64.tar.gz' priority 30
2016-06-23 13:46:37,369 INFO savupdate.util.Logger: Update to exclude 'sav-linux/x86/32/*' priority 40
Update to exclude 'sav-linux/x86/32/*' priority 40
2016-06-23 13:46:37,370 INFO savupdate.util.Logger: Update to exclude 'uncdownload/32/*' priority 40
Update to exclude 'uncdownload/32/*' priority 40
2016-06-23 13:46:37,549 DEBUG savupdate.util.Logger: This system is SLS capable
This system is SLS capable
2016-06-23 13:46:37,550 WARNING savupdate.util.Logger: SDDS_UPDATE_SOURCE_IS SOPHOS
SOPHOS source is either SOPHOS, or the warehouse update source address.
2016-06-23 13:46:37,562 INFO savupdate.sdds.SddsUpdater: Setting default Sophos Aliases
2016-06-23 13:46:38,944 INFO savupdate.sdds.SddsUpdater: Setting default Sophos Aliases
2016-06-23 13:46:38,944 DEBUG savupdate.util.Logger: read_remote_metadata failed: result=4
read_remote_metadata failed: result=4
2016-06-23 13:46:38,945 DEBUG savupdate.util.Logger: log_entry: [I40394] Successfully downloaded customer file
log_entry: [I40394] Successfully downloaded customer file
2016-06-23 13:46:38,945 DEBUG savupdate.util.Logger: log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:38,945 DEBUG savupdate.util.Logger: log_entry: [I86539] No proxy was used.
log_entry: [I86539] No proxy was used.
2016-06-23 13:46:38,945 DEBUG savupdate.util.Logger: log_entry: [I40394] Successfully downloaded customer file
log_entry: [I40394] Successfully downloaded customer file
2016-06-23 13:46:38,945 DEBUG savupdate.util.Logger: log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:38,945 DEBUG savupdate.util.Logger: log_entry: [I86539] No proxy was used.
log_entry: [I86539] No proxy was used.
2016-06-23 13:46:38,945 DEBUG savupdate.util.Logger: log_entry: [I40394] Successfully downloaded customer file
log_entry: [I40394] Successfully downloaded customer file
2016-06-23 13:46:38,946 DEBUG savupdate.util.Logger: log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:38,946 DEBUG savupdate.util.Logger: log_entry: [I86539] No proxy was used.
log_entry: [I86539] No proxy was used.
2016-06-23 13:46:38,946 DEBUG savupdate.util.Logger: log_entry: [I40394] Successfully downloaded customer file
log_entry: [I40394] Successfully downloaded customer file
2016-06-23 13:46:38,946 DEBUG savupdate.util.Logger: log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:38,946 DEBUG savupdate.util.Logger: log_entry: [I86539] No proxy was used.
log_entry: [I86539] No proxy was used.
2016-06-23 13:46:38,946 DEBUG savupdate.util.Logger: log_entry: [I40394] Successfully downloaded customer file
log_entry: [I40394] Successfully downloaded customer file
2016-06-23 13:46:38,946 DEBUG savupdate.util.Logger: log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:38,946 DEBUG savupdate.util.Logger: log_entry: [I86539] No proxy was used.
log_entry: [I86539] No proxy was used.
2016-06-23 13:46:38,947 DEBUG savupdate.util.Logger: log_entry: [E41450] locale::facet::_S_create_c_locale name not valid
log_entry: [E41450] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:38,947 DEBUG savupdate.util.Logger: FAILED-TO-UPDATE-FROM sdds:SOPHOS
Failed to replicate from sdds:SOPHOS
Exception recorded in /opt/sophos-av/tmp/savupdateException.log
SDDSException for read_remote_metadata failed
2016-06-23 13:46:38,947 DEBUG savupdate.util.Logger: SECONDARY-REPORT-AS-ERROR
Failed to update from primary update source. Redirecting to secondary update source.
2016-06-23 13:46:39,094 DEBUG savupdate.util.Logger: This system is SLS capable
This system is SLS capable
2016-06-23 13:46:39,094 WARNING savupdate.util.Logger: SDDS_UPDATE_SOURCE_IS SOPHOS
SOPHOS source is either SOPHOS, or the warehouse update source address.
2016-06-23 13:46:39,094 INFO savupdate.sdds.SddsUpdater: Setting default Sophos Aliases
2016-06-23 13:46:40,465 INFO savupdate.sdds.SddsUpdater: Setting default Sophos Aliases
2016-06-23 13:46:40,465 DEBUG savupdate.util.Logger: read_remote_metadata failed: result=4
read_remote_metadata failed: result=4
2016-06-23 13:46:40,466 DEBUG savupdate.util.Logger: log_entry: [I40394] Successfully downloaded customer file
log_entry: [I40394] Successfully downloaded customer file
2016-06-23 13:46:40,467 DEBUG savupdate.util.Logger: log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:40,467 DEBUG savupdate.util.Logger: log_entry: [I86539] No proxy was used.
log_entry: [I86539] No proxy was used.
2016-06-23 13:46:40,468 DEBUG savupdate.util.Logger: log_entry: [I40394] Successfully downloaded customer file
log_entry: [I40394] Successfully downloaded customer file
2016-06-23 13:46:40,468 DEBUG savupdate.util.Logger: log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:40,468 DEBUG savupdate.util.Logger: log_entry: [I86539] No proxy was used.
log_entry: [I86539] No proxy was used.
2016-06-23 13:46:40,468 DEBUG savupdate.util.Logger: log_entry: [I40394] Successfully downloaded customer file
log_entry: [I40394] Successfully downloaded customer file
2016-06-23 13:46:40,468 DEBUG savupdate.util.Logger: log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:40,468 DEBUG savupdate.util.Logger: log_entry: [I86539] No proxy was used.
log_entry: [I86539] No proxy was used.
2016-06-23 13:46:40,469 DEBUG savupdate.util.Logger: log_entry: [I40394] Successfully downloaded customer file
log_entry: [I40394] Successfully downloaded customer file
2016-06-23 13:46:40,469 DEBUG savupdate.util.Logger: log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:40,469 DEBUG savupdate.util.Logger: log_entry: [I86539] No proxy was used.
log_entry: [I86539] No proxy was used.
2016-06-23 13:46:40,469 DEBUG savupdate.util.Logger: log_entry: [I40394] Successfully downloaded customer file
log_entry: [I40394] Successfully downloaded customer file
2016-06-23 13:46:40,469 DEBUG savupdate.util.Logger: log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
log_entry: [E32429] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:40,469 DEBUG savupdate.util.Logger: log_entry: [I86539] No proxy was used.
log_entry: [I86539] No proxy was used.
2016-06-23 13:46:40,469 DEBUG savupdate.util.Logger: log_entry: [E41450] locale::facet::_S_create_c_locale name not valid
log_entry: [E41450] locale::facet::_S_create_c_locale name not valid
2016-06-23 13:46:40,470 DEBUG savupdate.util.Logger: FAILED-TO-UPDATE-FROM sdds:SOPHOS
Failed to replicate from sdds:SOPHOS
Exception recorded in /opt/sophos-av/tmp/savupdateException.log
SDDSException for read_remote_metadata failed
2016-06-23 13:46:40,470 DEBUG savupdate.util.Logger: ALL_UPDATE_SOURCES_FAILED
Failed to replicate from all update sources
2016-06-23 13:46:43,477 ERROR savupdate.Updater: Failed to report update to savlog: 20

$ cat /opt/sophos-av/tmp/savupdateException.log
STR:SDDSException for read_remote_metadata failed
REPR:SDDSException()
Traceback (most recent call last):
File "Updater.py", line 158, in tryUpdate
File "Updater.py", line 129, in update
File "SddsUpdater.py", line 994, in update
File "SddsUpdater.py", line 763, in throwOnError
SDDSException: SDDSException for read_remote_metadata failed

</code>

Second update source is another set of free credentials from a previous install. Same error when only using one update source. Seems to be the read_remote_metadata causing issues.



This thread was automatically locked due to age.
Parents
  • Could you run `locale` since it looks like your environment possibly messed up.

    Also you could try running savupdate in the 'C' locale: set LC_ALL and LANG to C and try savupdate again:

    export LANG=C

    export LC_ALL=C

    /opt/sophos-av/bin/savupdate -v5 --debug

Reply
  • Could you run `locale` since it looks like your environment possibly messed up.

    Also you could try running savupdate in the 'C' locale: set LC_ALL and LANG to C and try savupdate again:

    export LANG=C

    export LC_ALL=C

    /opt/sophos-av/bin/savupdate -v5 --debug

Children
  • Would you look at that, now it updates correctly. Maybe this should be documented in some Knowledge base article.

    For reference, my `locale` settings are en_US.UTF-8

    <code>

    LANG=en_US
    LANGUAGE=
    LC_CTYPE=en_US.UTF-8
    LC_NUMERIC="en_US"
    LC_TIME="en_US"
    LC_COLLATE="en_US"
    LC_MONETARY="en_US"
    LC_MESSAGES="en_US"
    LC_PAPER="en_US"
    LC_NAME="en_US"
    LC_ADDRESS="en_US"
    LC_TELEPHONE="en_US"
    LC_MEASUREMENT="en_US"
    LC_IDENTIFICATION="en_US"
    LC_ALL=

    </code>

  • You might want to try setting LANG and LC_ALL to 'en_US.UTF-8' to make your environment more consistent.