ClearFoundation Tracker - ClearOS
View Issue Details
0001135ClearOSapp-openldap-directory - Directory Serverpublic2013-05-05 19:352019-09-24 02:43
bchambers 
 
normalminorsometimes
closedsuspended 
6.4.0 
 
0001135: Chainging base domain can result in borked directory
It's not 100% reproducible, but I've reproduced the error twice in about 20 base domain changes.

Webconfig will display:

bdb_db_open: database "cn=accesslog": database already in use.

On page refresh, the directory server page is blank.

/var/log/system

May 5 21:28:35 devel openldap: preparing system...
May 5 21:28:37 devel openldap: generating configuration...
May 5 21:28:37 devel openldap: importing data...
May 5 21:28:40 devel clearsync: mail_filter - event triggered
May 5 21:28:40 devel clearsync: samba - event triggered - configuration_change_event
May 5 21:28:40 devel engine: exception: error: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (663): Invalid credentials
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (538): _bind
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/libraries/Group_Driver.php (930): search
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/libraries/Group_Driver.php (1049): _load_group_from_ldap
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/libraries/Group_Driver.php (379): _load_group_info
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (416): exists
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/sbin/initialize-plugins (54): initialize_plugin_groups
May 5 21:28:40 devel engine: exception: error: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (426): Invalid credentials
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/sbin/initialize-plugins (54): initialize_plugin_groups
May 5 21:28:40 devel engine: exception: error: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (426): Invalid credentials
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/sbin/initialize-plugins (54): initialize_plugin_groups
May 5 21:28:40 devel clearsync: samba - no interfaces changes required
May 5 21:28:40 devel engine: exception: error: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (663): Invalid credentials
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (538): _bind
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/clearos/apps/samba/libraries/OpenLDAP_Driver.php (735): search
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/clearos/apps/samba/deploy/cleanup-ldap (53): cleanup_entries
May 5 21:28:40 devel engine: exception: error: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (663): Invalid credentials
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (538): _bind
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/clearos/apps/samba/libraries/OpenLDAP_Driver.php (735): search
May 5 21:28:40 devel engine: exception: debug backtrace: /usr/clearos/apps/samba/deploy/cleanup-ldap (53): cleanup_entries
May 5 21:28:41 devel engine: exception: error: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (663): Invalid credentials
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (386): _bind
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap/libraries/LDAP_Driver.php (1099): is_online
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap/libraries/LDAP_Driver.php (539): _get_system_status_message
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/controllers/information.php (113): get_system_status
May 5 21:28:41 devel engine: exception: debug backtrace: GUI (0): get_info
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (359): call_user_func_array
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (222): require_once
May 5 21:28:41 devel engine: exception: error: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (663): Invalid credentials
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (386): _bind
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap/libraries/LDAP_Driver.php (1099): is_online
May 5 21:28:41 devel engine: exception: error: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (663): Invalid credentials
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (386): _bind
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap/libraries/LDAP_Driver.php (1099): is_online
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap/libraries/LDAP_Driver.php (539): _get_system_status_message
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/controllers/information.php (113): get_system_status
May 5 21:28:41 devel engine: exception: debug backtrace: GUI (0): get_info
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (359): call_user_func_array
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (222): require_once
May 5 21:28:41 devel engine: exception: error: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (663): Invalid credentials
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (386): _bind
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap/libraries/LDAP_Driver.php (1099): is_online
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap/libraries/LDAP_Driver.php (539): _get_system_status_message
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/controllers/information.php (113): get_system_status
May 5 21:28:41 devel engine: exception: debug backtrace: GUI (0): get_info
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (359): call_user_func_array
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (222): require_once
May 5 21:28:41 devel engine: exception: error: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (663): Invalid credentials
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (538): _bind
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/samba/libraries/OpenLDAP_Driver.php (807): search
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/samba/deploy/cleanup-sids (53): cleanup_sids
May 5 21:28:41 devel engine: exception: error: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (663): Invalid credentials
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (538): _bind
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/samba/libraries/OpenLDAP_Driver.php (807): search
May 5 21:28:41 devel engine: exception: debug backtrace: /usr/clearos/apps/samba/deploy/cleanup-sids (53): cleanup_sids
May 5 21:28:42 devel engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (207): bdb_db_open: database "cn=accesslog": database already in use.
May 5 21:28:42 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap/libraries/LDAP_Driver.php (1400): execute
May 5 21:28:42 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap/libraries/LDAP_Driver.php (900): _import_ldif
May 5 21:28:42 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/libraries/OpenLDAP.php (447): set_base_internet_domain
May 5 21:28:42 devel engine: exception: debug backtrace: /usr/clearos/apps/openldap_directory/controllers/settings.php (118): set_base_internet_domain
May 5 21:28:42 devel engine: exception: debug backtrace: GUI (0): action
May 5 21:28:42 devel engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (359): call_user_func_array
May 5 21:28:42 devel engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (222): require_once
May 5 21:28:43 devel clearsync: zarafa - event triggered - directory_online_event
May 5 21:28:43 devel clearsync: samba - event triggered - directory_online_event
May 5 21:28:43 devel engine: exception: error: /usr/clearos/apps/ldap/libraries/LDAP_Client.php (663): Invalid credentials
No tags attached.
Issue History
2013-05-05 19:35bchambersNew Issue
2013-05-05 19:36bchambersSummaryChainging base domain can result on borked directory => Chainging base domain can result in borked directory
2013-05-08 08:09user2Assigned To => user2
2013-05-08 08:09user2Statusnew => confirmed
2018-12-14 12:11user2Statusconfirmed => assigned
2018-12-14 12:11user2Assigned Touser2 => tracker
2019-09-24 02:43NickHNote Added: 0012311
2019-09-24 02:43NickHStatusassigned => closed
2019-09-24 02:43NickHAssigned Totracker =>
2019-09-24 02:43NickHResolutionopen => suspended

Notes
(0012311)
NickH   
2019-09-24 02:43   
Migrated to https://gitlab.com/clearos/clearfoundation/app-openldap-directory/issues/3 [^]