root@[host]:~# setup-kolab -d 9
2013-04-24 18:09:10,497 pykolab.setup DEBUG [31257]: No component selected, continuing for all components
2013-04-24 18:09:10,513 pykolab.conf DEBUG [31257]: Setting kolab_default_locale to 'en_US' (from defaults)
2013-04-24 18:09:10,514 pykolab.conf DEBUG [31257]: Setting mail_attributes to ['mail', 'alias'] (from defaults)
2013-04-24 18:09:10,514 pykolab.conf DEBUG [31257]: Setting mailserver_attribute to 'mailhost' (from defaults)
2013-04-24 18:09:10,515 pykolab.conf DEBUG [31257]: Setting loglevel to 50 (from defaults)
2013-04-24 18:09:10,516 pykolab.conf DEBUG [31257]: Setting imap_virtual_domains to 'userid' (from defaults)
2013-04-24 18:09:10,516 pykolab.conf DEBUG [31257]: Setting cyrus_annotations_retry_interval to 1 (from defaults)
2013-04-24 18:09:10,517 pykolab.conf DEBUG [31257]: Setting ldap_unique_attribute to 'nsuniqueid' (from defaults)
2013-04-24 18:09:10,517 pykolab.conf DEBUG [31257]: Setting address_search_attrs to ['mail', 'alias'] (from defaults)
2013-04-24 18:09:10,518 pykolab.conf DEBUG [31257]: Setting config_file to '/etc/kolab/kolab.conf' (from the default values for CLI options)
2013-04-24 18:09:10,518 pykolab.conf DEBUG [31257]: Setting loglevel to 'CRITICAL' (from the default values for CLI options)
2013-04-24 18:09:10,519 pykolab.conf DEBUG [31257]: Setting php_ini_path to None (from the default values for CLI options)
2013-04-24 18:09:10,519 pykolab.conf DEBUG [31257]: Setting answer_yes to False (from the default values for CLI options)
2013-04-24 18:09:10,520 pykolab.conf DEBUG [31257]: Setting quiet to False (from the default values for CLI options)
2013-04-24 18:09:10,520 pykolab.conf DEBUG [31257]: Setting fqdn to '[host].[domain]' (from the default values for CLI options)
2013-04-24 18:09:10,521 pykolab.conf DEBUG [31257]: Setting anonymous to False (from the default values for CLI options)
2013-04-24 18:09:10,521 pykolab.conf DEBUG [31257]: Setting debuglevel to 0 (from the default values for CLI options)
2013-04-24 18:09:10,522 pykolab.conf DEBUG [31257]: Setting timezone to None (from the default values for CLI options)
2013-04-24 18:09:10,522 pykolab.conf DEBUG [31257]: Setting logfile to '/var/log/kolab/pykolab.log' (from the default values for CLI options)
2013-04-24 18:09:10,523 pykolab.conf DEBUG [31257]: Setting options from configuration file
2013-04-24 18:09:10,524 pykolab.conf DEBUG [31257]: Reading configuration file /etc/kolab/kolab.conf
2013-04-24 18:09:10,531 pykolab.conf DEBUG [31257]: Setting config_file to '/etc/kolab/kolab.conf' (from CLI, verified)
2013-04-24 18:09:10,531 pykolab.conf DEBUG [31257]: Setting loglevel to 'CRITICAL' (from CLI, not checked)
2013-04-24 18:09:10,532 pykolab.conf DEBUG [31257]: Setting php_ini_path to None (from CLI, not checked)
2013-04-24 18:09:10,533 pykolab.conf DEBUG [31257]: Setting answer_yes to False (from CLI, not checked)
2013-04-24 18:09:10,533 pykolab.conf DEBUG [31257]: Setting quiet to False (from CLI, not checked)
2013-04-24 18:09:10,534 pykolab.conf DEBUG [31257]: Setting fqdn to '[host].[domain]' (from CLI, not checked)
2013-04-24 18:09:10,534 pykolab.conf DEBUG [31257]: Setting anonymous to False (from CLI, not checked)
2013-04-24 18:09:10,535 pykolab.conf DEBUG [31257]: Setting debuglevel to 9 (from CLI, verified)
2013-04-24 18:09:10,536 pykolab.conf DEBUG [31257]: Setting logfile to '/var/log/kolab/pykolab.log' (from CLI, not checked)
Please supply a password for the LDAP administrator user 'admin', used to login
to the graphical console of 389 Directory server.
Administrator password [aJ1XqciWJWmu06k]:
Confirm Administrator password:
Please supply a password for the LDAP Directory Manager user, which is the
administrator user you will be using to at least initially log in to the Web
Admin, and that Kolab uses to perform administrative tasks.
Directory Manager password [qVsxHeePUytreDV]:
Confirm Directory Manager password:
Please choose the system user and group the service should use to run under.
These should be existing, unprivileged, local system POSIX accounts with no
shell.
User [dirsrv]:
Group [dirsrv]:
This setup procedure plans to set up Kolab Groupware for the following domain
name space. This domain name is obtained from the reverse DNS entry on your
network interface. Please confirm this is the appropriate domain name space.
[domain] [Y/n]: Y
The standard root dn we composed for you follows. Please confirm this is the root
dn you wish to use.
dc=[domain,teil1],dc=[domain,teil2] [Y/n]: Y
Setup is now going to set up the 389 Directory Server. This may take a little
while (during which period there is no output and no progress indication).
2013-04-24 18:09:39,141 pykolab.setup INFO Setting up 389 Directory Server
2013-04-24 18:09:39,513 pykolab.setup DEBUG [31257]: Setup DS stdout:
2013-04-24 18:09:39,513 pykolab.setup DEBUG [31257]: Error: the server already exists at '/etc/dirsrv/slapd-[host]'
Please remove it first if you really want to recreate it,
or use a different ServerIdentifier to create another instance.
Error: Could not create directory server instance '[host]'.
Exiting . . .
Log file is '/tmp/setupfuRi6H.log'
2013-04-24 18:09:39,514 pykolab.setup DEBUG [31257]: Setup DS stderr:
2013-04-24 18:09:39,514 pykolab.setup DEBUG [31257]:
Shutting down 389 DS instance [host]: ....
Starting 389 DS instance [host]: ....
update-rc.d: using dependency based boot sequencing
Please supply a Cyrus Administrator password. This password is used by Kolab to
execute administrative tasks in Cyrus IMAP. You may also need the password
yourself to troubleshoot Cyrus IMAP and/or perform other administrative tasks
against Cyrus IMAP directly.
Cyrus Administrator password [Q-Pl2m4Efxn0K7o]:
Confirm Cyrus Administrator password:
Please supply a Kolab Service account password. This account is used by various
services such as Postfix, and Roundcube, as anonymous binds to the LDAP server
will not be allowed.
Kolab Service password [yrgvXsgoCTAAzE6]:
Confirm Kolab Service password:
2013-04-24 18:10:34,547 pykolab.setup INFO Writing out configuration to kolab.conf
2013-04-24 18:10:34,551 pykolab.setup INFO Inserting service users into LDAP.
2013-04-24 18:10:34,552 pykolab.auth DEBUG [31257]: Called for domain None
2013-04-24 18:10:34,553 pykolab.auth DEBUG [31257]: Using section kolab and domain [domain]
2013-04-24 18:10:34,553 pykolab.auth DEBUG [31257]: Using section kolab and domain [domain]
2013-04-24 18:10:34,554 pykolab.auth DEBUG [31257]: Connecting to Authentication backend for domain [domain]
2013-04-24 18:10:34,558 pykolab.auth DEBUG [31257]: Section kolab has auth_mechanism: 'ldap'
2013-04-24 18:10:34,559 pykolab.auth DEBUG [31257]: Starting LDAP...
2013-04-24 18:10:34,745 pykolab.auth DEBUG [31257]: Connecting to LDAP...
2013-04-24 18:10:34,746 pykolab.auth DEBUG [31257]: Attempting to use LDAP URI ldap://localhost:389
*** <ldap.ldapobject.ReconnectLDAPObject instance at 0x16bd710> ldap://localhost:389 - ReconnectLDAPObject.set_option
((17, 3), {})
*** <ldap.ldapobject.ReconnectLDAPObject instance at 0x16bd710> ldap://localhost:389 - ReconnectLDAPObject.set_option
((17, 3), {})
*** <ldap.ldapobject.ReconnectLDAPObject instance at 0x16bd710> ldap://localhost:389 - ReconnectLDAPObject.simple_bind
(('cn=Directory Manager', '[directority-manager-pw]', None, None), {})
*** <ldap.ldapobject.ReconnectLDAPObject instance at 0x16bd710> ldap://localhost:389 - ReconnectLDAPObject.unbind_ext
((None, None), {})
*** Try 1. reconnect to ldap://localhost:389...
*** <ldap.ldapobject.ReconnectLDAPObject instance at 0x16bd710> ldap://localhost:389 - ReconnectLDAPObject.set_option
((17, 3), {})
*** <ldap.ldapobject.ReconnectLDAPObject instance at 0x16bd710> ldap://localhost:389 - ReconnectLDAPObject.set_option
((17, 3), {})
*** 1. reconnect to ldap://localhost:389 successful, last operation will be repeated
*** <ldap.ldapobject.ReconnectLDAPObject instance at 0x16bd710> ldap://localhost:389 - ReconnectLDAPObject.simple_bind
(('cn=Directory Manager', '[directority-manager-pw]', None, None), {})
*** <ldap.ldapobject.ReconnectLDAPObject instance at 0x16bd710> ldap://localhost:389 - ReconnectLDAPObject.add_ext
(('uid=cyrus-admin,ou=Special Users,dc=[domain,teil1],dc=de',
[('surname', 'Administrator'),
('uid', 'cyrus-admin'),
('objectclass',
['top', 'person', 'inetorgperson', 'organizationalperson']),
('userPassword', '[cyrus-pw]'),
('givenname', 'Cyrus'),
('cn', 'Cyrus Administrator')],
None,
None),
{})
Traceback (most recent call last):
File "/usr/sbin/setup-kolab", line 42, in <module>
setup.run()
File "/usr/lib/python2.7/dist-packages/pykolab/setup/__init__.py", line 43, in run
components.execute('_'.join(to_execute))
File "/usr/lib/python2.7/dist-packages/pykolab/setup/components.py", line 170, in execute
execute(component)
File "/usr/lib/python2.7/dist-packages/pykolab/setup/components.py", line 202, in execute
components[component_name]['function'](conf.cli_args, kw)
File "/usr/lib/python2.7/dist-packages/pykolab/setup/setup_ldap.py", line 383, in execute
auth._auth.ldap.add_s(dn, ldif)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 194, in add_s
msgid = self.add(dn,modlist)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 191, in add
return self.add_ext(dn,modlist,None,None)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 176, in add_ext
return self._ldap_call(self._l.add_ext,dn,modlist,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 99, in _ldap_call
result = func(*args,**kwargs)
ldap.SERVER_DOWN: {'desc': "Can't contact LDAP server"}
root@[host]:~#