Stephen Gran schrieb:
This one time, at band camp, Christoph Kaminski said:
I cant upgrade to 2.3.24-2...
Installing new version of config file /etc/default/slapd ...
Installing new version of config file /etc/init.d/slapd ...
It hangs here, and after 10mins I have aborted it
dpkg: error processing slapd (--configure):
subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
slapd
* slapd/dump_database_destdir: /var/backups/slapd-VERSION
* slapd/dump_database: always
Can you add
set -x
as the second line in /var/lib/dpkg/info/slapd.postinst, and run
dpkg --configure -a
I assume what's happening is that it's running slapcat and that's taking
a long time for some reason (out of disk space? something else? not
sure yet).
Take care,
dpkg --configure -a
Setting up slapd (2.3.24-2) ...
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/slapd.postinst
configure 2.3.24-1
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ MODE=configure
+ OLD_VERSION=2.3.24-1
+ '[' -f /etc/default/slapd ']'
+ . /etc/default/slapd
++ SLAPD_CONF=
++ SLAPD_USER=openldap
++ SLAPD_GROUP=openldap
++ SLAPD_PIDFILE=
++ SLURPD_START=auto
++ SLAPD_OPTIONS=
++ SLURPD_OPTIONS=
+ '[' -z '' ']'
+ SLAPD_CONF=/etc/ldap/slapd.conf
+ '[' configure = configure ']'
+ create_new_user
++ getent group openldap
it hangs here!
dpkg: error processing slapd (--configure):
subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
slapd
--
MfG
Christoph Kaminski
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]