From: "Шигапов Ринат" <srk@nevod.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Openldap-2.3.43 - howto по созданию новой базы
Date: Thu, 17 Sep 2009 13:08:07 +0600
Message-ID: <4AB1E057.3020601@nevod.ru> (raw)
In-Reply-To: <4AB1AFA5.1030006@nevod.ru>
Шигапов Ринат пишет:
> Здравствуйте!
>
> Установил openldap из 5.0. Хочу создать новую базу. Конфиг взял на
> основе slapd-hdb-db01.conf, изменил suffix, rootdn, roopw, directory.
> Подключил конфиг в slapd.conf. Slapd перестал запускаться.
>
Инициализировал базу загрузкой ldif через slapadd. Появились bdb файлы,
сделал chown R ldap:ldap на файлы базы.
slaptest говорит config file testing succeeded
Но slapd не запускается всё равно.
В выводе strace -ff /etc/init.d/slapd start наиболее подозрительным
оказалось следующее:
[pid 1087] socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
[pid 1087] connect(3, {sa_family=AF_FILE, path="/dev/log"}, 110) = -1
ECONNREFUSED (Connection refused)
[pid 1087] close(3) = 0
[pid 1087] shutdown(5, 2 /* send and receive */) = -1 ENOTSOCK (Socket
operation on non-socket)
[pid 1087] close(5) = 0
[pid 1087] shutdown(4, 2 /* send and receive */) = -1 ENOTSOCK (Socket
operation on non-socket)
[pid 1087] close(4) = 0
[pid 1087] close(6) = 0
[pid 1087] exit_group(1) = ?
Process 1087 detached
[pid 1086] <... poll resumed> ) = 1 ([{fd=3, revents=POLLHUP}])
[pid 1086] waitpid(1087, 0xbfc2b86c, WNOHANG) = 0
[pid 1086] poll([{fd=3, events=POLLIN|POLLPRI}, {fd=5,
events=POLLIN|POLLPRI}], 2, 500) = 1 ([{fd=3, revents=POLLHU
P}])
[pid 1086] waitpid(1087, 0xbfc2b86c, WNOHANG) = 0
[pid 1086] poll([{fd=3, events=POLLIN|POLLPRI}, {fd=5,
events=POLLIN|POLLPRI}], 2, 500) = 1 ([{fd=3, revents=POLLHUP}])
....
(повторяется много раз)
Куда дальше копать?
--
С уважением,
Шигапов Ринат
инженер-программист ООО "Невод"
тел. (342)2196960
JabberID: dxist эт ya.ru
next prev parent reply other threads:[~2009-09-17 7:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-17 3:40 Шигапов Ринат
2009-09-17 7:08 ` Шигапов Ринат [this message]
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=4AB1E057.3020601@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