Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-3742

"useradd command has been disabled" when installing



    • 1


      Summary: Error message "useradd command has been disabled because this system is connected to an LDAP server" when installing Couchbase Community on Ubuntu 16.04.


      1. connect to Ubuntu with an LDAP user
      2. apt-get install couchbase-server-community


      Error message (see below)

      Expected: Couchbase to install. Or possibly updating the documentation to reflect why this doesn't work.

      Full error message:

      Fetched 337 kB in 1s (257 kB/s)
      Reading package lists… Done
      hduser@akswnc5:/tmp$ sudo apt-get install couchbase-
      couchbase-release couchbase-server couchbase-server-community
      hduser@akswnc5:/tmp$ sudo apt-get install couchbase-server-community
      Reading package lists… Done
      Building dependency tree
      Reading state information… Done
      The following NEW packages will be installed:
      0 upgraded, 1 newly installed, 0 to remove and 35 not upgraded.
      Need to get 96,9 MB of archives.
      After this operation, 308 MB of additional disk space will be used.
      Get:1 htt://packages.couchbase.com/releases/couchbase-server/community/deb xenial/xenial/main amd64 couchbase-server-community amd64 5.0.0-3519-1 [96,9 MB]
      Fetched 96,9 MB in 19s (5.051 kB/s)
      Selecting previously unselected package couchbase-server-community.
      (Reading database … 251092 files and directories currently installed.)
      Preparing to unpack …/couchbase-server-community_5.0.0-3519-1_amd64.deb …
      Warning: Transparent hugepages looks to be active and should not be.
      Please look at https://developer.couchbase.com/documentation/server/current/install/thp-disable.htmlas for how to PERMANENTLY alter this setting.
      Warning: Swappiness is not set to 0.
      Please look at htts://developer.couchbase.com/documentation/server/current/install/install-swap-space.html as for how to PERMANENTLY alter this setting.
      Minimum RAM required : 4 GB
      System RAM configured : 251.89 GB
      Minimum number of processors required : 4 cores
      Number of processors on the system : 64 cores
      Error: useradd command has been disabled because this system is connected
      to an LDAP server.
      dpkg: error processing archive /var/cache/apt/archives/couchbase-server-community_5.0.0-3519-1_amd64.deb (–unpack):
      subprocess new pre-installation script returned error exit status 1
      Errors were encountered while processing:
      E: Sub-process /usr/bin/dpkg returned an error code (1)



        No reviews matched the request. Check your Options in the drop-down menu of this sections header.



            eric.schneider Eric Schneider (Inactive)
            matthew.groves Matthew Groves
            0 Vote for this issue
            6 Start watching this issue



              Gerrit Reviews

                There are no open Gerrit changes