Hello guys,
After doing an update (apt-get update) I got a problem with the samba service.
I am not allowed to access the USERs area in the GUI and I am receiving the following message:
A really nasty bug has occurred
Exception
Can't create ldapi connection
Trace
Can't create ldapi connection at /usr/share/perl5/EBox/Ldap.pm line 175
EBox::Ldap::anonymousLdapCon('EBox::Ldap=HASH(0xa42e3cc)') called at /usr/share/perl5/EBox/Ldap.pm line 243
EBox::Ldap::dn('EBox::Ldap=HASH(0xa42e3cc)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 338
EBox::UsersAndGroups::groupsDn('EBox::UsersAndGroups=HASH(0xa42e2e8)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 1678
EBox::UsersAndGroups::groups('EBox::UsersAndGroups=HASH(0xa42e2e8)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/Users.pm line 48
EBox::CGI::UsersAndGroups::Users::_process('EBox::CGI::UsersAndGroups::Users=HASH(0x9046ed0)') called at /usr/share/perl5/EBox/CGI/Base.pm line 262
EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::Users=HASH(0x9046ed0)') called at /usr/share/perl5/EBox/CGI/Run.pm line 120
EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/Users', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 19
ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0xc1b5888)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0xc257240)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xc257240)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xc1b5888)') called at -e line 0
eval {...} called at -e line 0
I chequed the /var/log/ebox/ebox.log am I am getting the following:
2010/03/27 12:10:58 ERROR> Ldap.pm:175 EBox::Ldap::anonymousLdapCon - Can't create ldapi connection
2010/03/27 12:11:41 INFO> EventDaemon.pm:303 EBox::EventDaemon::_loadModules - EBox::Event::Watcher::DiskFreeSpace loaded from registeredEvents
2010/03/27 12:11:46 ERROR> Ldap.pm:175 EBox::Ldap::anonymousLdapCon - Can't create ldapi connection
2010/03/27 12:11:46 WARN> EventDaemon.pm:189 EBox::EventDaemon::__ANON__ - Error executing run from EBox::Event::Watcher::DiskFreeSpace: Can't create ldapi connection
2010/03/27 12:12:46 INFO> EventDaemon.pm:303 EBox::EventDaemon::_loadModules - EBox::Event::Watcher::DiskFreeSpace loaded from registeredEvents
2010/03/27 12:12:51 ERROR> Ldap.pm:175 EBox::Ldap::anonymousLdapCon - Can't create ldapi connection
2010/03/27 12:12:51 WARN> EventDaemon.pm:189 EBox::EventDaemon::__ANON__ - Error executing run from EBox::Event::Watcher::DiskFreeSpace: Can't create ldapi connection
2010/03/27 12:13:51 INFO> EventDaemon.pm:303 EBox::EventDaemon::_loadModules - EBox::Event::Watcher::DiskFreeSpace loaded from registeredEvents
2010/03/27 12:13:56 ERROR> Ldap.pm:175 EBox::Ldap::anonymousLdapCon - Can't create ldapi connection
2010/03/27 12:13:56 WARN> EventDaemon.pm:189 EBox::EventDaemon::__ANON__ - Error executing run from EBox::Event::Watcher::DiskFreeSpace: Can't create ldapi connection
2010/03/27 12:14:56 INFO> EventDaemon.pm:303 EBox::EventDaemon::_loadModules - EBox::Event::Watcher::DiskFreeSpace loaded from registeredEvents
2010/03/27 12:15:01 ERROR> Ldap.pm:175 EBox::Ldap::anonymousLdapCon - Can't create ldapi connection
2010/03/27 12:15:01 WARN> EventDaemon.pm:189 EBox::EventDaemon::__ANON__ - Error executing run from EBox::Event::Watcher::DiskFreeSpace: Can't create ldapi connection
2010/03/27 12:15:08 ERROR> Ldap.pm:175 EBox::Ldap::anonymousLdapCon - Can't create ldapi connection
2010/03/27 12:16:01 INFO> EventDaemon.pm:303 EBox::EventDaemon::_loadModules - EBox::Event::Watcher::DiskFreeSpace loaded from registeredEvents
AlgĂșn error ha ocurrido en eBox:
Can't create ldapi connection
I am not familiary with LDAP, does anyone know how to recreate this ldapi connection?
This happened to a server in production, so any help will more more than welcomed.
Thanks a lot.