- 论坛徽章:
- 0
|
请问为什么会出现提示不能打开DB? 我在安装openldap时,在make时出现过提示说"找不到文件ldbl.h", 我不知道是不是/usr/share/libtool/libltdl/ltdl.h, 我不它放到/usr/local/BerkeleyDB.4.5/include/下,再安装,没有错误提示了.但是执行命令:"./slapd -d 256"却启动不了openldap. 请各位了解的大虾帮一下忙, 不胜感激!
[root@localhost libexec]# ./slapd -d 256
@(#) $OpenLDAP: slapd 2.3.27 (Dec 26 2006 16:43:56) $
root@localhost.localdomain:/root/openldap-2.3.27/servers/slapd
bdb_db_open: Database cannot be opened, err 22. Restore from backup!
bdb(dc=example,dc=com): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem
bdb(dc=example,dc=com): txn_checkpoint interface requires an environment configured for the transaction subsystem
bdb_db_close: txn_checkpoint failed: Invalid argument (22)
backend_startup_one: bi_db_open failed! (22)
bdb_db_close: alock_close failed
slapd stopped.
connections_destroy: nothing to destroy. |
|