[Pkg-openldap-devel] Bug#417405: slapd upgrade fixed
Benjamin Reed
ranger at finkdeveloper.net
Mon Apr 2 16:38:34 UTC 2007
I don't know that this fixed it, but I coincidentally had to fix a
problem with our SSL certificate, and once I did so, slapd restarted
properly.
I had the package ca-certificates installed, and it used to have a file
called cacert.org.crt. I had symlinked that to a file in /etc/ssl/certs
for use with our cacert-generated SSL certificate for finkdeveloper.net.
Unfortunately, the ca-certificates package upgrade replaced that file
with 2 files, root.crt and class3.crt so our ssl cert was now a dangling
symlink.
I control-C'd the upgrade, and had to kill off the slapcat manually.
Once I fixed the symlink, the upgrade worked.
ranger at finch:/etc/ssl/certs# ls -la cacert*
lrwxrwxrwx 1 root root 52 2007-02-17 18:48 cacert.org.pem ->
/usr/share/ca-certificates/cacert.org/cacert.org.crt
ranger at finch:/etc/ssl/certs# cd /usr/share/ca-certificates/cacert.org/
ranger at finch:/usr/share/ca-certificates/cacert.org# ls -la cacer*
ls: cacer*: No such file or directory
ranger at finch:/usr/share/ca-certificates/cacert.org# ls -la
total 16
drwxr-xr-x 2 root root 4096 2007-04-02 18:21 .
drwxr-xr-x 9 root root 4096 2007-04-02 18:21 ..
-rw-r--r-- 1 root root 2151 2007-03-04 06:23 class3.crt
-rw-r--r-- 1 root root 2569 2007-03-04 06:23 root.crt
ranger at finch:/usr/share/ca-certificates/cacert.org# cd /etc/ssl/certs/
ranger at finch:/etc/ssl/certs# sudo rm -rf cacert.org.pem ; sudo ln -s
/usr/share/ca-certificates/cacert.org/root.crt cacert.org.pem
ranger at finch:~$ sudo apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
slapd
The following packages will be upgraded:
slapd
1 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
67 not fully installed or removed.
Need to get 0B/1174kB of archives.
After unpacking 295kB of additional disk space will be used.
Do you want to continue? [Y/n]
Preconfiguring packages ...
(Reading database ... 74357 files and directories currently installed.)
Preparing to replace slapd 2.3.30-2 (using .../slapd_2.3.30-5_i386.deb) ...
Stopping OpenLDAP: slapd.
Dumping to /var/backups/slapd-2.3.30-2:
- directory dc=finkdeveloper,dc=net... bdb_db_open: Warning - No
DB_CONFIG file found in directory /var/lib/ldap: (2)
Expect poor performance for suffix dc=finkdeveloper,dc=net.
done.
Unpacking replacement slapd ...
More information about the Pkg-openldap-devel
mailing list