Guest User!

You are not Sophos Staff.

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 Central Linux Server Protection (Installation failed)

FormerMember
FormerMember

Hello

 

I tried to install "Sophos Central Server Protection for Linux" on my CentOS 7 (cPanel) server. The "SophosInstall.sh" scripts fails to download the medium installer. I am logged in as root user.

Error Code: 126

Error Message: installer/bin64/installer (No permission)

 

Does anyone know how to fix this problem?

 

Thank you for your help and kind regards



This thread was automatically locked due to age.
  • Nevermind, I think I found a workable solution. Instead of downloading the installer, then uploading it to the destination server, I copied the URL of the installer from the Sophos Central Protect Devices page and ran wget on the url on the destination machine. Once doing this, I was able to `sudo sh SophosInstall.sh` the file and it installed fine. Must have been corrupted when I downloaded or uploaded it.

  • Try mounting $TMPDIR (or /tmp) executable with below command, 

    sudo mount -o remount,exec /tmp /var/tmp

    then,

    sudo sh ./SophosInstall.sh

     

    You'll be able to install. Then change the directory /tmp back to non-executable for security:

    sudo mount -o remount,noexec /tmp /var/tmp

     

    Cheers

    Jin

     

  • Jin,

    Yes, I understand that works for centos, however, Ubuntu doesn't mount /tmp on a separate partition, so it doesn't work for Ubuntu. 

  • Scott Noel-Hemming said:

    Nevermind, I think I found a workable solution. Instead of downloading the installer, then uploading it to the destination server, I copied the URL of the installer from the Sophos Central Protect Devices page and ran wget on the url on the destination machine. Once doing this, I was able to `sudo sh SophosInstall.sh` the file and it installed fine. Must have been corrupted when I downloaded or uploaded it.

     

    This info helped me with my ubuntu install too, nice one mate!!

    JK

    JK