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 suse linux installation failure

Hi,

/Sophosinstall.sh

This software is governed by the terms and conditions of a licence agreement with Sophos Limited.

Installing Sophos Anti-Virus for Linux with arguments: []

Downloading medium installer

Checking we can connect to Sophos Central (at dzr-mcs-amzn-eu-west-1-9af7.upe.p.hmr.sophos.com/.../ep)...

Finished downloading the medium installer.

Running medium installer (this may take some time)

Traceback (most recent call last):

  File "talpa_select.py", line 2365, in <module>

  File "talpa_select.py", line 2358, in main

  File "talpa_select.py", line 2353, in process

  File "talpa_select.py", line 2181, in _action

  File "talpa_select.py", line 163, in __init__

  File "/build/input/python/install64/lib/python2.7/locale.py", line 608, in getpreferredencoding

  File "/build/input/python/install64/lib/python2.7/locale.py", line 545, in getdefaultlocale

  File "/build/input/python/install64/lib/python2.7/locale.py", line 477, in _parse_localename

ValueError: unknown locale: UTF-8

 

Then I tried to uninstall , but I can't find  uninstaller under 

 opt/sophos-av/   

Thanks

Please help 

Thanks



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

    so these are actually two questions.

    unknown locale: UTF-8
    what's the output of the locale command?

    can't find  uninstaller
    so SAV has been installed and /opt/sophos-av/ exists but does not contain uninstall.sh? What does it contain?

    Christian

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

    so SAV has been installed and /opt/sophos-av/ exists but does not contain uninstall.sh? What does it contain?

    there is etc  folder and update 

    Thanks

  • Hello aims2019,

    looks ok as far as I can tell. Perhaps can tell what might be wrong.

    Christian

  • The medium installer has failed, because python doesn't like the locale setting. This leaves some bits from the initial thin installer download present in /opt/sophos-av, but those can be deleted without any problems.

     

    Your locale looks reasonable from this reply, so I'm not sure where it's going wrong - it's ending up with "UTF-8" which isn't parsable.

     

    Let's have a look at the environment:

    echo LC_ALL=$LC_ALL

    echo LC_CTYPE=$LC_CTYPE

    echo LANG=$LANG

    echo LANGUAGE=$LANGUAGE

    locale

    locale -a

     

     

     

     

    FYI: This is the wrong group for Linux questions...

  • Hi,

    Installed after setting "

    export LC_ALL=en_US.UTF-8" 

     

    Now the problem is 

     

    ./Sophosinstall.sh

    This software is governed by the terms and conditions of a licence agreement with Sophos Limited.

    Installing Sophos Anti-Virus for Linux with arguments: []

    Downloading medium installer

    Checking we can connect to Sophos Central (at dzr-mcs-amzn-eu-west-1-9af7.upe.p.hmr.sophos.com/.../ep)...

    Finished downloading the medium installer.

    Running medium installer (this may take some time)

    Updating directly from Sophos.

    Extra files updating is disabled. You can change updating settings using /opt/sophos-av/bin/savsetup.

     

    Installing Sophos Anti-Virus....

    Selecting appropriate kernel support...

    When Sophos Anti-Virus starts, it updates itself to try to find a Sophos kernel interface module update. This might cause a significant delay.

    Sophos Anti-Virus starts after installation.

     

    Installation completed.

    On-access scanning not available. It was not possible to obtain or build suitable kernel support because kernel headers are not installed.

    Failed to update Sophos Anti-Virus

    Registering with Sophos Central

    Saving Sophos Central credentials

    Starting Sophos Central Management Client

    Now managed by Sophos Central

    You have mail in /var/mail/root

     

    Thanks

Reply
  • Hi,

    Installed after setting "

    export LC_ALL=en_US.UTF-8" 

     

    Now the problem is 

     

    ./Sophosinstall.sh

    This software is governed by the terms and conditions of a licence agreement with Sophos Limited.

    Installing Sophos Anti-Virus for Linux with arguments: []

    Downloading medium installer

    Checking we can connect to Sophos Central (at dzr-mcs-amzn-eu-west-1-9af7.upe.p.hmr.sophos.com/.../ep)...

    Finished downloading the medium installer.

    Running medium installer (this may take some time)

    Updating directly from Sophos.

    Extra files updating is disabled. You can change updating settings using /opt/sophos-av/bin/savsetup.

     

    Installing Sophos Anti-Virus....

    Selecting appropriate kernel support...

    When Sophos Anti-Virus starts, it updates itself to try to find a Sophos kernel interface module update. This might cause a significant delay.

    Sophos Anti-Virus starts after installation.

     

    Installation completed.

    On-access scanning not available. It was not possible to obtain or build suitable kernel support because kernel headers are not installed.

    Failed to update Sophos Anti-Virus

    Registering with Sophos Central

    Saving Sophos Central credentials

    Starting Sophos Central Management Client

    Now managed by Sophos Central

    You have mail in /var/mail/root

     

    Thanks

Children