From: "Шигапов Ринат" <srk@nevod.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: [Sysadmins] Openldap-2.3.43 - howto по созданию новой базы Date: Thu, 17 Sep 2009 09:40:21 +0600 Message-ID: <4AB1AFA5.1030006@nevod.ru> (raw) Здравствуйте! Установил openldap из 5.0. Хочу создать новую базу. Конфиг взял на основе slapd-hdb-db01.conf, изменил suffix, rootdn, roopw, directory. Подключил конфиг в slapd.conf. Slapd перестал запускаться. Вывод slaptest: [root@mydomain openldap]# slaptest hdb_db_open: db_open(/var/lib/ldap/bases/mydomain/id2entry.bdb) failed: No such file or directory (2) bdb(dc=portal,dc=pspo,dc=perm,dc=ru): Unknown locker ID: 0 backend_startup_one: bi_db_open failed! (2) slap_startup failed (test would succeed using the -u switch) bdb файла действительно нет: [root@mydomain openldap]# ls -l /var/lib/ldap/bases/mydomain/ total 17448 -rw-r--r-- 1 root ldap 1354 Sep 17 09:32 DB_CONFIG -rw------- 1 root root 24576 Sep 17 09:32 __db.001 -rw------- 1 root root 20144128 Sep 17 09:32 __db.002 -rw------- 1 root root 83894272 Sep 17 09:32 __db.003 -rw------- 1 root root 1310720 Sep 17 09:32 __db.004 -rw------- 1 root root 352256 Sep 17 09:32 __db.005 -rw------- 1 root root 24576 Sep 17 09:32 __db.006 -rw-r--r-- 1 root root 2048 Sep 17 09:32 alock Что я упустил при создании новой базы? Версии пакетов: [root@mydomain openldap]# rpm -qa |grep ldap libldap2.3-2.3.43-alt2 php5-ldap-5.2.7.20080920-alt1 openldap-2.3.43-alt2 openldap-servers-2.3.43-alt2 perl-ldap-0.39-alt1 [root@mydomain openldap]# rpm -qa |grep bdb libdb4.7-4.7.25-alt4 libdb4.4-4.4.20-alt3 -- С уважением, Шигапов Ринат инженер-программист ООО "Невод" тел. (342)2196960 JabberID: dxist эт ya.ru
next reply other threads:[~2009-09-17 3:40 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-09-17 3:40 Шигапов Ринат [this message] 2009-09-17 7:08 ` Шигапов Ринат 2009-09-17 7:13 ` Timur Batyrshin 2009-09-17 7:25 ` Шигапов Ринат
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4AB1AFA5.1030006@nevod.ru \ --to=srk@nevod.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git