Home > Articles > Knowledge Base > AutoInstall SSL > AutoInstall SSL Errors – Linux

AutoInstall SSL Errors – Linux

This article lists error messages sometimes experienced while installing or using AutoInstall SSL on Linux servers and provides recommended solutions.

Command not found

Problem

Getting a command not found error when trying to run AutoInstall SSL.

Example

-bash: runautoinstallssl.sh: command not found

Solution

This typically happens for one of two reasons:

  • The AutoInstall SSL agent is not installed on your server—in this case, install the program.
  • The AutoInstall SSL agent’s install location is not in your PATH variable. You can either use the full path to run AutoInstall SSL (eg. /opt/autoinstallssl/aisagent/runautoinstallssl.sh) or update your PATH and secure_path variables to include /opt and/or usr/bin.

Permission denied

Problem

Receiving permission denied errors when attempting to install the AutoInstall SSL agent.

Example

mkdir: cannot create directory ‘/opt/autoinstallssl’: Permission deniedDownloading file…Extracting file…tar (child): /opt/autoinstallssl/aisagent.tar.gz: Cannot open: No such file or directorytar (child): Error is not recoverable: exiting nowtar: Child returned status 2tar: Error is not recoverable: exiting now

Solution

AutoInstall SSL requires root level permissions. Please use sudo when running the install command and ensure that your user has been granted sudo permissions.

Operation not permitted

Problem

Receiving operation not permitted errors when attempting to run the AutoInstall SSL agent.

Example

chmod: changing permissions of ‘shellscript/’: Operation not permittedchmod: changing permissions of ‘shellscript/centos’: Operation not permittedchmod: changing permissions of ‘shellscript/centos/autoupdatecronjob.sh’: Operation not permittedchmod: changing permissions of ‘shellscript/centos/createautoupdatecron.sh’: Operation not permitted

Solution

AutoInstall SSL requires root level permissions. Please use sudo when running a command and ensure that your user has been granted sudo permissions.