[Bug 573048] Re: package slapd 2.4.21-0ubuntu5 failed to install/upgrade:
** Attachment removed: VarLogDistupgradeSystemstatetargz.gz https://bugs.launchpad.net/bugs/573048/+attachment/1363726/+files/VarLogDistupgradeSystemstatetargz.gz -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/573048 Title: package slapd 2.4.21-0ubuntu5 failed to install/upgrade: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/573048/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 573048] Re: package slapd 2.4.21-0ubuntu5 failed to install/upgrade:
[Expired for openldap (Ubuntu) because there has been no activity for 60 days.] ** Changed in: openldap (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. https://bugs.launchpad.net/bugs/573048 Title: package slapd 2.4.21-0ubuntu5 failed to install/upgrade: -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 573048] Re: package slapd 2.4.21-0ubuntu5 failed to install/upgrade:
** Changed in: openldap (Ubuntu) Status: Invalid = Incomplete -- package slapd 2.4.21-0ubuntu5 failed to install/upgrade: https://bugs.launchpad.net/bugs/573048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 573048] Re: package slapd 2.4.21-0ubuntu5 failed to install/upgrade:
** Changed in: openldap (Ubuntu) Importance: Undecided = Medium ** Changed in: openldap (Ubuntu) Status: New = Invalid -- package slapd 2.4.21-0ubuntu5 failed to install/upgrade: https://bugs.launchpad.net/bugs/573048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 573048] Re: package slapd 2.4.21-0ubuntu5 failed to install/upgrade:
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/46964388/Dependencies.txt ** Attachment added: VarLogDistupgradeAptlog.gz http://launchpadlibrarian.net/46964389/VarLogDistupgradeAptlog.gz ** Attachment added: VarLogDistupgradeApttermlog.gz http://launchpadlibrarian.net/46964390/VarLogDistupgradeApttermlog.gz ** Attachment added: VarLogDistupgradeLspcitxt.gz http://launchpadlibrarian.net/46964391/VarLogDistupgradeLspcitxt.gz ** Attachment added: VarLogDistupgradeMainlog.gz http://launchpadlibrarian.net/46964392/VarLogDistupgradeMainlog.gz ** Attachment added: VarLogDistupgradeSystemstatetargz.gz http://launchpadlibrarian.net/46964393/VarLogDistupgradeSystemstatetargz.gz -- package slapd 2.4.21-0ubuntu5 failed to install/upgrade: https://bugs.launchpad.net/bugs/573048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 573048] Re: package slapd 2.4.21-0ubuntu5 failed to install/upgrade:
Looking through VarLogDistupgradeApttermlog, I see that slapd is restarted successfully a few times (i.e. when packages such as libc6, libpam0g, and libssl are upgraded). Then later on these lines appear: === Подготовка к замене пакета ldap-utils 2.4.9-0ubuntu0.8.04.3 (используется файл .../ldap-utils_2.4.21-0ubuntu5_i386.deb) ... Распаковывается замена для пакета ldap-utils ... Подготовка к замене пакета libldap2-dev 2.4.9-0ubuntu0.8.04.3 (используется файл .../libldap2-dev_2.4.21-0ubuntu5_i386.deb) ... Распаковывается замена для пакета libldap2-dev ... Подготовка к замене пакета libldap-2.4-2 2.4.9-0ubuntu0.8.04.3 (используется файл .../libldap-2.4-2_2.4.21-0ubuntu5_i386.deb) ... Распаковывается замена для пакета libldap-2.4-2 ... Выбор ранее не выбранного пакета libltdl7. Распаковывается пакет libltdl7 (из файла .../libltdl7_2.2.6b-2ubuntu1_i386.deb)... Подготовка к замене пакета slapd 2.4.9-0ubuntu0.8.04.3 (используется файл .../slapd_2.4.21-0ubuntu5_i386.deb) ... Stopping OpenLDAP: slapd. Dumping to /var/backups/slapd-2.4.9-0ubuntu0.8.04.3: - directory dc=trct,dc=local... slapcat: Symbol `ldap_int_global_options' has different size in shared object, consider re-linking /etc/ldap/slapd.conf: line 116: rootdn is always granted unlimited privileges. /etc/ldap/slapd.conf: line 133: rootdn is always granted unlimited privileges. done. Распаковывается замена для пакета slapd ... [ *** lines skipped ] Настраивается пакет libldap-2.4-2 (2.4.21-0ubuntu5) ... Настраивается пакет ldap-utils (2.4.21-0ubuntu5) ... [ *** lines skipped ] Настраивается пакет slapd (2.4.21-0ubuntu5) ... Устанавливается новая версия файла настройки /etc/ldap/schema/README ... Устанавливается новая версия файла настройки /etc/ldap/schema/cosine.ldif ... Устанавливается новая версия файла настройки /etc/ldap/schema/inetorgperson.ldif ... Устанавливается новая версия файла настройки /etc/ldap/schema/nis.ldif ... Устанавливается новая версия файла настройки /etc/ldap/schema/openldap.ldif ... Устанавливается новая версия файла настройки /etc/ldap/schema/duaconf.schema ... Устанавливается новая версия файла настройки /etc/ldap/schema/dyngroup.schema ... Устанавливается новая версия файла настройки /etc/ldap/schema/inetorgperson.schema ... Устанавливается новая версия файла настройки /etc/ldap/schema/misc.schema ... Устанавливается новая версия файла настройки /etc/ldap/schema/nis.schema ... Устанавливается новая версия файла настройки /etc/ldap/schema/openldap.schema ... Устанавливается новая версия файла настройки /etc/apparmor.d/usr.sbin.slapd ... Файл настройки `/etc/default/slapd' == Изменён после установки (вами или сценарием). == Автор пакета предоставил обновлённую версию. Что вы будете с этим делать? У вас есть следующие варианты: Y или I : установить версию, предлагаемую сопровождающим пакета N или O : оставить установленную на данный момент версию D: показать различия между версиями Z: перевести этот процесс в фоновый режим для проверки ситуации По умолчанию сохраняется текущая версия файла настройки. *** slapd (Y/I/N/O/D/Z) [по умолчанию N] ? o Устанавливается новая версия файла настройки /etc/init.d/slapd ... Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.9-0ubuntu0.8.04.3... done. Moving old database directories to /var/backups: - directory dc=trct,dc=local... done. Loading from /var/backups/slapd-2.4.9-0ubuntu0.8.04.3: - directory dc=trct,dc=local... done. - chowning database directory (openldap:openldap)... done failed. Migrating slapd.conf file (/etc/ldap/slapd.conf) to slapd.d failed with the following error while running slaptest: /etc/ldap/slapd.conf: line 116: rootdn is always granted unlimited privileges. /etc/ldap/slapd.conf: line 133: rootdn is always granted unlimited privileges. config_build_entry: build cn={11}gosa+samba3 failed: (null) backend_startup_one (type=config, suffix=cn=config): bi_db_open failed! (-1) slap_startup failed (test would succeed using the -u switch) dpkg: не удалось обработать параметр slapd (--configure): подпроцесс установлен сценарий post-installation возвратил код ошибки 1 [ *** end of log file *** ] === -- package slapd 2.4.21-0ubuntu5 failed to install/upgrade: https://bugs.launchpad.net/bugs/573048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 573048] Re: package slapd 2.4.21-0ubuntu5 failed to install/upgrade:
deutsche Makar, I'm thinking something may have gone wrong setting the permissions on the BDB database files. Can you post the output of the following commands? ls -ld /var/backups/dc* ls -l /var/backups/dc* uname -a grep ^directory /etc/ldap/slapd.conf* ls -la path listed in output of preceding line -- package slapd 2.4.21-0ubuntu5 failed to install/upgrade: https://bugs.launchpad.net/bugs/573048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 573048] Re: package slapd 2.4.21-0ubuntu5 failed to install/upgrade:
Looking more closely at the slapd.postinst script, I see that the word failed. is actually associated with the Migrating slapd.conf file message below it, not with the chowning database directory message above it. So I don't think there's problem with the permissions after all. What happens if you run slaptest -f /etc/ldap/slapd.conf ? (Do you get the same messages as those found in the VarLogDisupgradeApttermlog file?) If so, what happens if you comment out lines 116 and 133 of the slapd.conf file and then try the test again? -- package slapd 2.4.21-0ubuntu5 failed to install/upgrade: https://bugs.launchpad.net/bugs/573048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs