Chinaunix首页 | 论坛 | 博客
  • 博客访问: 399072
  • 博文数量: 100
  • 博客积分: 3893
  • 博客等级: 中校
  • 技术积分: 1040
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-11 13:50
文章分类

全部博文(100)

文章存档

2013年(2)

2012年(3)

2011年(8)

2010年(38)

2009年(40)

2008年(9)

我的朋友

分类: LINUX

2011-06-02 11:08:26

正在检查 slapd 的配置文件: bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap:
解决办法:
1) cp /etc/openldap/DB_CONFIG.example /var/lib/ldap/DB_CONFIG

2) chown ldap:ldap /var/lib/ldap/DB_CONFIG

3) service ldap restart
Note, you will get this warning:
bdb_db_open: Recovery skipped in read-only mode. Run manual recovery if errors are encountered.
config file testing succeeded

4) service ldap restart
And now there will be no errors.

阅读(2087) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~