Dear All,
Getting the below error while try to configure the Account Manager from web console
System -> Account Manager -> Account Manager -> Account Manager Configuration -> Initialise Buit-in Directory
Nothing happens after click on the button but get following errors into the log:
Oct 13 11:37:41 s002 openldap_directory: setting base domain name
Oct 13 11:37:41 s002 openldap_directory: adding account objects
Oct 13 11:37:45 s002 engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (227): 5f85e5e7 => bdb_tool_entry_put: id2entry_add failed: BDB0067 DB_KEYEXIST: Key/data pair already exists (-30994)
Oct 13 11:37:45 s002 engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (711): execute
Oct 13 11:37:45 s002 engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (417): _add_account_objects
Oct 13 11:37:45 s002 engine: exception: debug backtrace: /usr/sbin/app-openldap-directory-initialize (116): initialize
Oct 13 11:37:45 s002 engine: exception: error: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (433): 5f85e5e7 => bdb_tool_entry_put: id2entry_add failed: BDB0067 DB_KEYEXIST: Key/data pair already exists (-30994)
Oct 13 11:37:45 s002 engine: exception: debug backtrace: /usr/sbin/app-openldap-directory-initialize (116): initialize
Oct 13 11:37:45 s002 engine: exception: error: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (433): 5f85e5e7 => bdb_tool_entry_put: id2entry_add failed: BDB0067 DB_KEYEXIST: Key/data pair already exists (-30994)
Oct 13 11:37:45 s002 engine: exception: debug backtrace: /usr/sbin/app-openldap-directory-initialize (116): initialize
it would be great if you help me fixing the issue, thanks in advance.
kind regards
roman
Getting the below error while try to configure the Account Manager from web console
System -> Account Manager -> Account Manager -> Account Manager Configuration -> Initialise Buit-in Directory
Nothing happens after click on the button but get following errors into the log:
Oct 13 11:37:41 s002 openldap_directory: setting base domain name
Oct 13 11:37:41 s002 openldap_directory: adding account objects
Oct 13 11:37:45 s002 engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (227): 5f85e5e7 => bdb_tool_entry_put: id2entry_add failed: BDB0067 DB_KEYEXIST: Key/data pair already exists (-30994)
Oct 13 11:37:45 s002 engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (711): execute
Oct 13 11:37:45 s002 engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (417): _add_account_objects
Oct 13 11:37:45 s002 engine: exception: debug backtrace: /usr/sbin/app-openldap-directory-initialize (116): initialize
Oct 13 11:37:45 s002 engine: exception: error: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (433): 5f85e5e7 => bdb_tool_entry_put: id2entry_add failed: BDB0067 DB_KEYEXIST: Key/data pair already exists (-30994)
Oct 13 11:37:45 s002 engine: exception: debug backtrace: /usr/sbin/app-openldap-directory-initialize (116): initialize
Oct 13 11:37:45 s002 engine: exception: error: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (433): 5f85e5e7 => bdb_tool_entry_put: id2entry_add failed: BDB0067 DB_KEYEXIST: Key/data pair already exists (-30994)
Oct 13 11:37:45 s002 engine: exception: debug backtrace: /usr/sbin/app-openldap-directory-initialize (116): initialize
it would be great if you help me fixing the issue, thanks in advance.
kind regards
roman
Share this post:
Accepted Answer
I've deleted your duplicate post.
What version of ClearOS were you trying to restore from. You should be able to restore from 6.x and 7.x but not from 5.x.
You should be able to reset your directory by doing:
What version of ClearOS were you trying to restore from. You should be able to restore from 6.x and 7.x but not from 5.x.
You should be able to reset your directory by doing:
/usr/clearos/apps/openldap/deploy/reset-ldap please
rm -f /var/clearos/mode/mode.conf
But that will wipe your users. The you could try initialising the directory then doing another config restore. Responses (2)
-
Accepted Answer
no, I didn't install any other directory but resore backup from old ClearOS configuration.
But reinstall following appes makes it accessible the Directory apps from web consol
yum reinstall app-administrators* app-groups* app-users* app-account-import* app-accounts* app-user-certificates* app-user-certificates*
Then now getting same error: Oct 16 00:21:37 s002 engine: exception: error: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (433): 5f893bef => bdb_tool_entry_put: id2entry_add failed: BDB0067 DB_KEYEXIST: Key/data pair already exists (-30994) -
Accepted Answer

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »