apacheds icon indicating copy to clipboard operation
apacheds copied to clipboard

unable to connect to server after changing admin password

Open RothAndrew opened this issue 6 years ago • 1 comments

After changing the admin password according to the documentation the container is unable to start. Looks like /apacheds.sh hardcodes the password "secret"

Here's the logs:

ldap_1  | Starting ApacheDS - default...
ldap_1  | Waiting for LDAP to be available
ldap_1  | ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
ldap_1  | LDAP not up yet... retrying... (0/20)
ldap_1  | ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
ldap_1  | LDAP not up yet... retrying... (1/20)
ldap_1  | ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
ldap_1  | LDAP not up yet... retrying... (2/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (3/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (4/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (5/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (6/20)
ldap_1  | LDAP not up yet... retrying... (7/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (8/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (9/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (10/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (11/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (12/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (13/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (14/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (15/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (16/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (17/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (18/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (19/20)
ldap_1  | ldap_bind: Invalid credentials (49)
ldap_1  |       additional info: INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system
ldap_1  | LDAP not up yet... retrying... (20/20)
ldap_1  | TROUBLE!!! After [20] retries LDAP is still dead :(

RothAndrew avatar Mar 20 '18 15:03 RothAndrew

Had the same issue. Unfortunately had to switch to different image https://github.com/openmicroscopy/apacheds-docker

mickaeltardy avatar Jul 07 '18 14:07 mickaeltardy