I need some help for solving this problem when I try to install slapd package on Debian from testing repositories.
|Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo la información de estado... Hecho Se instalarán los siguientes paquetes NUEVOS: slapd 0 actualizados, 1 se instalarán, 0 para eliminar y 2 no actualizados. Necesito descargar 1.344 kB de archivos. Se utilizarán 4.091 kB de espacio de disco adicional después de esta operación. Des:1 http://debian.linuxmint.com/latest/ testing/main slapd amd64 2.4.31-1+nmu2+b1 [1.344 kB] Descargados 1.344 kB en 50seg. (26,4 kB/s) Preconfigurando paquetes ... Seleccionando el paquete slapd previamente no seleccionado. (Leyendo la base de datos ... 260763 ficheros o directorios instalados actualmente.) Desempaquetando slapd (de .../slapd_2.4.31-1+nmu2+b1_amd64.deb) ... Procesando disparadores para man-db ... Configurando slapd (2.4.31-1+nmu2+b1) ... Omitting slapd configuration as requested. insserv: warning: script 'K01subversion' missing LSB tags and overrides insserv: warning: script 'subversion' missing LSB tags and overrides [warn] No configuration file was found for slapd at /etc/ldap/slapd.conf. ... (warning). invoke-rc.d: initscript slapd, action "start" failed. dpkg: error al procesar slapd (--configure): el subproceso instalado el script post-installation devolvió el código de salida de error 1 Se encontraron errores al procesar: slapd E: Sub-process /usr/bin/dpkg returned an error code (1) |
I do not understand why is trying to find the slapd.conf file, because this versión of slapd(2.4.31) uses cn=config. Thanks in advance.
On 03/04/15 11:33 -0300, Verónica Ovando wrote:
I need some help for solving this problem when I try to install slapd package on Debian from testing repositories.
|Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo la información de estado... Hecho Se instalarán los siguientes paquetes NUEVOS: slapd 0 actualizados, 1 se instalarán, 0 para eliminar y 2 no actualizados. Necesito descargar 1.344 kB de archivos. Se utilizarán 4.091 kB de espacio de disco adicional después de esta operación. Des:1 http://debian.linuxmint.com/latest/ testing/main slapd amd64 2.4.31-1+nmu2+b1 [1.344 kB] Descargados 1.344 kB en 50seg. (26,4 kB/s) Preconfigurando paquetes ... Seleccionando el paquete slapd previamente no seleccionado. (Leyendo la base de datos ... 260763 ficheros o directorios instalados actualmente.) Desempaquetando slapd (de .../slapd_2.4.31-1+nmu2+b1_amd64.deb) ... Procesando disparadores para man-db ... Configurando slapd (2.4.31-1+nmu2+b1) ... Omitting slapd configuration as requested. insserv: warning: script 'K01subversion' missing LSB tags and overrides insserv: warning: script 'subversion' missing LSB tags and overrides [warn] No configuration file was found for slapd at /etc/ldap/slapd.conf. ... (warning). invoke-rc.d: initscript slapd, action "start" failed. dpkg: error al procesar slapd (--configure): el subproceso instalado el script post-installation devolvió el código de salida de error 1 Se encontraron errores al procesar: slapd E: Sub-process /usr/bin/dpkg returned an error code (1) |
I do not understand why is trying to find the slapd.conf file, because this versión of slapd(2.4.31) uses cn=config.
Verónica,
I suggest filing a debian bug, or contacting: pkg-openldap-devel@lists.alioth.debian.org.
The 'Omitting slapd configuration as requested.' leads me to believe you've answered some debconf question in a way which is breaking installation, or using a debconf frontend that is not interactive. Try dpkg --purge slapd, and reinstalling.
Hi,
For Debian-specific problems, it may be better to contact pkg-openldap-devel@lists.debian.org. As I understand it, this list prefers to talk about code supplied by the OpenLDAP project itself.
On Wed, Mar 04, 2015 at 11:33:34AM -0300, Verónica Ovando wrote:
Configurando slapd (2.4.31-1+nmu2+b1) ... Omitting slapd configuration as requested.
[warn] No configuration file was found for slapd at /etc/ldap/slapd.conf. ... (warning). invoke-rc.d: initscript slapd, action "start" failed.
You told the package (via debconf) to not create an initial configuration, therefore it did not.
Put your configuration in place, and then run 'dpkg --configure -a' to complete the configuration of the slapd package.
More information: https://bugs.debian.org/596777
I do not understand why is trying to find the slapd.conf file, because this versión of slapd(2.4.31) uses cn=config.
It is a fallback for backwards compatibility in the init script. If a cn=config directory (slapd.d) is not found, it falls back to looking for a slapd.conf file.
hope that helps, Ryan
openldap-technical@openldap.org