Modify

Ticket #3054 (closed defect: fixed)

Opened 22 months ago

Last modified 22 months ago

Bug report from Zentyal Server

Reported by: ruigarcia.mail@… Owned by: cperez@…
Milestone: 2.2 Component: users
Severity: normal Keywords:
Cc:

Description (last modified by jacalvo@…) (diff)

I was trying to configure a LDAP Master and Slave configuration, and the error above occurred at the Master Server.

Regards, Rui Garcia

Error

root command /etc/init.d/slapd start failed. 
Error output: 
Command output: Starting OpenLDAP: slapd - failed.
 The operation failed but no output was produced. For hints on what went
 wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
 try running the daemon in Debug mode like via 'slapd -d 16383' (warning:
 this will create copious output).
 
 Below, you can find the command line options used by this script to 
 run slapd. Do not forget to specify those options if you
 want to look to debugging output:
   slapd -h 'ldap:/// ldapi:/// ldaps:///' -g openldap -u openldap -F /etc/ldap/slapd.d/ 
. 
Exit value: 1

Trace

root command /etc/init.d/slapd start failed. 
Error output: 
Command output: Starting OpenLDAP: slapd - failed.
 The operation failed but no output was produced. For hints on what went
 wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
 try running the daemon in Debug mode like via 'slapd -d 16383' (warning:
 this will create copious output).
 
 Below, you can find the command line options used by this script to 
 run slapd. Do not forget to specify those options if you
 want to look to debugging output:
   slapd -h 'ldap:/// ldapi:/// ldaps:///' -g openldap -u openldap -F /etc/ldap/slapd.d/ 
. 
Exit value: 1 at /usr/share/perl5/Error.pm line 182
	Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', '/etc/init.d/slapd start', 'output', 'ARRAY(0xbca00848)', 'error', 'ARRAY(0xbca00ea8)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 212
	EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/zd0aBYJZor.cmd 2>...', '/etc/init.d/slapd start', 256, 'ARRAY(0xbca00848)', 'ARRAY(0xbca00ea8)') called at /usr/share/perl5/EBox/Sudo.pm line 181
	EBox::Sudo::_root(1, '/etc/init.d/slapd start') called at /usr/share/perl5/EBox/Sudo.pm line 136
	EBox::Sudo::root('/etc/init.d/slapd start') called at /usr/share/perl5/EBox/Ldap.pm line 1103
	EBox::Ldap::_tryToStartSlapd() called at /usr/share/perl5/EBox/Ldap.pm line 1119
	EBox::Ldap::safeConnect('ldapi://%2fvar%2frun%2fslapd%2fldapi') called at /usr/share/perl5/EBox/Ldap.pm line 158
	EBox::Ldap::anonymousLdapCon('EBox::Ldap=HASH(0xbca00b68)') called at /usr/share/perl5/EBox/Ldap.pm line 222
	EBox::Ldap::dn('EBox::Ldap=HASH(0xbca00b68)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 534
	EBox::UsersAndGroups::groupsDn('EBox::UsersAndGroups=HASH(0xbc12de68)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 1972
	EBox::UsersAndGroups::groups('EBox::UsersAndGroups=HASH(0xbc12de68)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/Users.pm line 47
	EBox::CGI::UsersAndGroups::Users::_process('EBox::CGI::UsersAndGroups::Users=HASH(0xbc241f20)') called at /usr/share/perl5/EBox/CGI/Base.pm line 264
	EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::Users=HASH(0xbc241f20)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
	EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/Users', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0xbc982a10)') 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(0xbc9a59e0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xbc9a59e0)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xbc982a10)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (77.5 KB) - added by anonymous 22 months ago.
zentyal.log

Change History

Changed 22 months ago by anonymous

zentyal.log

comment:1 Changed 22 months ago by jacalvo@…

  • Owner changed from jacalvo@… to cperez@…
  • Description modified (diff)

comment:2 Changed 22 months ago by jacalvo@…

  • Component changed from base to users

comment:3 Changed 22 months ago by cperez@…

  • Status changed from new to closed
  • Resolution set to fixed

(In [22624]) Do not stop slapd daemons after slave enable (closes #3082, #3070 and #3054)

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.