Error -1266 when deploying eDirectory Docker container on Ubuntu

  • 7024893
  • 02-Nov-2020
  • 02-Nov-2020


eDirectory 9.2.x Container
Ubuntu 20.04.1 LTS
Docker CE 19.03.13


When deploying a new eDirectory 9.2.x container on Ubuntu 20.04.1 as a new tree, the following error is reported:

Configuring SAS service... Failed to configure SAS service: unknown error -1266 (fffffb0e hex) err=-1266


First, if Docker was installed using snapcraft (snapd, snap store) or any other unofficial method, follow the instructions in the official Docker documentation to uninstall and reinstall Docker using the official Docker repository:

Second, the /etc/hosts file contains a second local loopback entry: <hostname>. Comment this out. Append an entry using the server's IP address. Here is a correct example of an /etc/hosts file:

root@ubuntu1:/# cat /etc/hosts localhost
# ubuntu1

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters ubuntu1