Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nethserver-directory installation failed #5002

Closed
DavidePrincipi opened this issue Dec 21, 2015 · 1 comment
Closed

nethserver-directory installation failed #5002

DavidePrincipi opened this issue Dec 21, 2015 · 1 comment
Labels
bug A defect of the software
Milestone

Comments

@DavidePrincipi
Copy link
Member

Package
nethserver-directory-2.2.0-1.1.ga90636c.ns7.noarch

Symptom
After installing nethserver-directory the admin user is missing and the -update event fails

Expected result
The admin user exists with uid=500

In /var/log/messages

Dec 21 16:46:30 vm5 esmith::event[4495]: Event: nethserver-directory-update
...
Dec 21 16:46:32 vm5 esmith::event[4495]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.267819]
Dec 21 16:46:32 vm5 systemd: Starting OpenLDAP Server Daemon...
Dec 21 16:46:33 vm5 systemd: Started OpenLDAP Server Daemon.
Dec 21 16:46:34 vm5 esmith::event[4495]: Error modifying olcDatabase={2}bdb,cn=config
Dec 21 16:46:34 vm5 esmith::event[4495]: LDAP_INVALID_SYNTAX objectClass: value #1 invalid per syntax at /etc/e-smith/events/nethserver-directory-update/S10nethserver-directory-conf line 163.
Dec 21 16:46:34 vm5 esmith::event[4495]: Error adding "relay" backend database: objectClass: value #1 invalid per syntax at /etc/e-smith/events/nethserver-directory-update/S10nethserver-directory-conf line 171.
Dec 21 16:46:34 vm5 esmith::event[4495]: Action: /etc/e-smith/events/nethserver-directory-update/S10nethserver-directory-conf FAILED: 1 [1.410326]
Dec 21 16:46:34 vm5 esmith::event[4495]: LDAP_UNWILLING_TO_PERFORM no global superior knowledge at /etc/e-smith/events/nethserver-directory-update/S11nethserver-directory-dit-setup line 116.
...
Dec 21 16:46:34 vm5 esmith::event[4495]: error merging  at /etc/e-smith/events/nethserver-directory-update/S11nethserver-directory-dit-setup line 128.
Dec 21 16:46:34 vm5 esmith::event[4495]: Action: /etc/e-smith/events/nethserver-directory-update/S11nethserver-directory-dit-setup FAILED: 9 [0.125024]
...
Dec 21 16:46:35 vm5 esmith::event[4733]: Event: user-create admin
Dec 21 16:46:35 vm5 esmith::event[4733]: Error initializing libuser: could not bind to LDAP server, first attempt as `cn=libuser,dc=directory,dc=nh': Invalid credentials.
Dec 21 16:46:35 vm5 esmith::event[4733]: Failed to create user private group account `admin`.
Dec 21 16:46:35 vm5 esmith::event[4733]: Action: /etc/e-smith/events/user-create/S04user-create-unix FAILED: 1 [0.210669]
Dec 21 16:46:35 vm5 esmith::event[4733]: LDAP_UNWILLING_TO_PERFORM no global superior knowledge at /etc/e-smith/events/user-create/S20nethserver-directory-organization-modify line 86.
Dec 21 16:46:35 vm5 esmith::event[4733]: [ERROR] Failed to set contact info on entry `uid=admin,ou=People,dc=directory,dc=nh`: no global superior knowledge at /etc/e-smith/events/user-create/S20nethserver-directory-organization-modify line 88.
Dec 21 16:46:35 vm5 esmith::event[4733]: Action: /etc/e-smith/events/user-create/S20nethserver-directory-organization-modify FAILED: 1 [0.068379]
Dec 21 16:46:35 vm5 esmith::event[4733]: Action: /etc/e-smith/events/user-create/S25count-active-user-accounts SUCCESS [0.032729]
...
@DavidePrincipi DavidePrincipi added the bug A defect of the software label Dec 21, 2015
@DavidePrincipi DavidePrincipi added this to the v7-alpha2 milestone Dec 21, 2015
@DavidePrincipi DavidePrincipi self-assigned this Dec 22, 2015
DavidePrincipi added a commit to NethServer/nethserver-directory that referenced this issue Dec 22, 2015
@DavidePrincipi
Copy link
Member Author

In nethserver-base/7:
nethserver-directory-2.3.0-1.9.g7c0a11e.ns7.noarch.rpm

@DavidePrincipi DavidePrincipi removed their assignment Jan 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect of the software
Projects
None yet
Development

No branches or pull requests

1 participant