slapd 2.4.21-0ubuntu5.3 install fails on Ubuntu 10.04.2 LTS
Installing slapd on Ubuntu 10.04.2 LTS seems to fail consistently...
# apt-get install slapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
slapd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1,554kB of archives.
After this operation, 4,166kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package slapd.
(Reading database ... 74834 files and directories currently installed.)
Unpacking slapd (from .../slapd_
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up slapd (2.4.21-0ubuntu5.3) ...
Creating initial slapd configuration... Loading the initial configuration from the ldif file (/usr/share/
error while running slapadd:
slapadd: could not parse entry (line=15)
dpkg: error processing slapd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A look at the file referred to in the error:
---- begin /usr/share/
# Global config:
dn: cn=config
objectClass: olcGlobal
cn: config
# Where the pid file is put. The init.d script
# will not stop the server if you change this.
olcPidFile: /var/run/
# List of arguments that were passed to the server
olcArgsFile: /var/run/
# Read slapd.conf(5) for possible values
olcLogLevel: none
# The tool-threads parameter sets the actual amount of cpu's that is used
# for indexing.
olcToolThreads: 1
# Frontend settings
dn: olcDatabase=
objectClass: olcDatabaseConfig
objectClass: olcFrontendConfig
olcDatabase: {-1}frontend
# The maximum number of entries that is returned for a search operation
olcSizeLimit: 500
# Allow unlimited access to local connection from the local root user
olcAccess: {0}to * by dn.exact=
olcAccess: {1}to dn.base="" by * read
olcAccess: {2}to dn.base=
# Config db settings
dn: olcDatabase=
objectClass: olcDatabaseConfig
olcDatabase: config
# Allow unlimited access to local connection from the local root user
olcAccess: to * by dn.exact=
# Load schemas
dn: cn=schema,cn=config
objectClass: olcSchemaConfig
cn: schema
include: file://
---- end /usr/share/
Doing 'dpkg -P slapd', 'apt-get update', 'apt-get dist-upgrade' then trying the slapd install again generated the same results.
I haven't found any bug reports about this specifically. Could this be a local problem that I can resolve?
If this is a bug, would it be reported to the Ubuntu's bug reporting system, or to Debian's?
Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu openldap Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Eliah Kagan
- Solved:
- Last query:
- Last reply: