Unable to start kolabd after install

Bug #606262 reported by karaluh on 2010-07-16
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kolabd (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: kolabd

According to /usr/share/doc/kolabd/README.Debian.gz you have to run kolab_bootstrap -b to configure kolab, which fails with:

prepare LDAP database...
temporarily starting slapd
chown: nie ma dostępu do `/var/lib/ldap/*': No such file or directory
/etc/kolab/rootDSE.ldif: Permission denied
Could not start temporary slapd: at /usr/sbin/kolab_bootstrap line 470.

/var/log/messages

Jul 13 14:48:57 gwservertest kolabd: C Error: One or more required configuration variables (`bind_dn', `bind_pw', `ldap_uri' and/or `base_dn') are missing in `kolab.conf'
Jul 13 14:48:57 gwservertest kolabd: C Error: Unable to bind to DN `'
Jul 13 14:48:57 gwservertest kolabd: C Error: Unable to find kolab object `k=kolab,'
Jul 13 14:48:57 gwservertest kolabd: Kolab is starting up
Jul 13 14:49:01 gwservertest kolabd: Y Error: Unable to authenticate with Cyrus admin interface, Error = `'
Jul 13 14:49:01 gwservertest kolabd: K Error: Can't call method "code" on an undefined value at /usr/share/perl5/Kolab/LDAP.pm line 346.
Jul 13 15:05:07 gwservertest kolab_bootstrap: Warning: Could not read /etc/kolab/kolab.conf
Jul 13 15:16:20 gwservertest kernel: [430593.426556] type=1503 audit(1279026980.466:12): operation="open" pid=13328 parent=13302 profile="/usr/sbin/slapd" requested_mask="::r" denied_mask="::r" fsuid=103 ouid=0 name="/etc/kolab/rootDSE.ldif"
Jul 13 15:20:09 gwservertest kernel: [430822.291534] type=1503 audit(1279027209.331:13): operation="open" pid=13354 parent=13332 profile="/usr/sbin/slapd" requested_mask="::r" denied_mask="::r" fsuid=103 ouid=0 name="/etc/kolab/rootDSE.ldif"

ProblemType: Bug
Architecture: i386
Date: Fri Jul 16 14:19:18 2010
DistroRelease: Ubuntu 9.10
Package: kolabd 2.2.2-20090514-1
PackageArchitecture: all
ProcEnviron:
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-22.60-generic-pae
SourcePackage: kolabd
Uname: Linux 2.6.31-22-generic-pae i686

karaluh (karaluh) wrote :
Christoph Wickert (cwickert) wrote :

Did you run with the script with superuser privileges?

karaluh (karaluh) wrote :

Yes, I did. I don't recall what I had to do to fix it unfortunately, it was some problems with apparmor and slapd, but I might be wrong.

Mathieu Parent (math-parent) wrote :

The version of libkolab-perl which is currently in Debian testing (1:2.2.4-20100624-2) is now compatible with cn=config. This should fix this bug.

Can someone test and confirm?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers