Skip to content
For help with the Sophos Protection for Linux agent on your devices, see Sophos Protection for Linux help.

Sophos Protection for Linux installation troubleshooting

This page details how to troubleshoot common installation errors in Sophos Protection for Linux (SPL).

Tip

If you need more insight into an error, turn debug logging on and run the installer again. See Debug thin installer.

./SophosSetup.sh: Permission denied

You must add the execute permission to SophosSetup.sh. Run the following command:

chmod +x SophosSetup.sh

Please run this installer as root

You must run SophosSetup.sh with root privileges. Use the sudo command or switch to the root user.

Found an existing installation of SAV in /opt/sophos-av/. This product cannot be run alongside Sophos Anti-Virus

You must run SophosSetup.sh with the --uninstall-sav flag to remove Sophos Anti-Virus for Linux during the SPL installation.

SPL installation will fail, can not install to '<path>'.

The installation will fail if you reference a symlink. You must re-run the installer with the --install-dir command and use the path to the directory where the symlink points.

Cannot connect to Sophos Central - please check your network connections

Your Linux machine must be able to connect to the internet and traffic to all Sophos Central domains must be allowed before you can install SPL. See Domains and ports to allow.

SPL installation will fail as a connection to Sophos Central could not be established

Sophos pre-installation checks will fail if curl isn't installed on the Linux device. Install curl and try again. You may also see the following messages:

  • SPL installation will fail as a connection to the SUS server could not be established
  • SPL installation will fail as a connection to a CDN server could not be established

Failed to connect to repository: error:

Your Linux devices are assigned to a software package that's been retired. Change your Update Management policy and assign your Linux devices to a current software package. See Server Update Management Policy.

Components not running or failing to install.

If a product is missing, make sure you have the correct license for the missing product.

If the product is installed but not running, check the logs for the relevant components. To do this, do as follows:

  • Check the log for the affected component at /opt/sophos-spl/plugins/<plugin name>/log.
  • Check the installation log for the relevant component at /opt/sophos-spl/logs/installation/<component>_install.log.
  • Check the watchdog log to see whether a component failed to start at /opt/sophos-spl/logs/base/watchdog.log.

More resources