在windows下的命令窗口中,执行slapd -d 1报错

Plain Text code ?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
D:\OpenLDAP>slapd -d 1
ldap_url_parse_ext(ldap://localhost/)
ldap_init: trying %SYSCONFDIR%\ldap.conf
ldap_init: HOME env is NULL
ldap_init: trying ldaprc
ldap_init: LDAPCONF env is NULL
ldap_init: LDAPRC env is NULL
515a46fe OpenLDAP 2.4.34 Standalone LDAP Server (slapd)515a46fe daemon_init: listen on ldap:///
515a46fe daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
515a46fe daemon: listener initialized ldap:///
515a46fe daemon_init: 1 listeners opened
ldap_create
515a46fe slapd init: initiated server.
515a46fe slap_sasl_init: initialized!
515a46fe bdb_back_initialize: initialize BDB backend
515a46fe bdb_back_initialize: Berkeley DB 5.3.21: (May 11, 2012)
515a46fe ==>sql_back_initialize()
515a46fe <==sql_back_initialize()
515a46fe mdb_back_initialize: initialize MDB backend
515a46fe mdb_back_initialize: MDB 0.9.6: (January 10, 2013)
515a46fe ==> translucent_initialize
515a46fe bdb_db_init: Initializing BDB database
515a46fe >>> dnPrettyNormal: <o=broadengate,dc=com>
515a46fe <<< dnPrettyNormal: <o=broadengate,dc=com>, <o=broadengate,dc=com>
515a46fe >>> dnPrettyNormal: <cn=Manager,o=broadengate,dc=com>
515a46fe <<< dnPrettyNormal: <cn=Manager,o=broadengate,dc=com>, <cn=manager,o=broadengate,dc=com>
515a46fe >>> dnNormalize: <cn=Subschema>
515a46fe <<< dnNormalize: <cn=subschema>
515a46fe matching_rule_use_init
515a46fe     1.2.840.113556.1.4.804 (integerBitOrMatch): 515a46fe matchingRuleUse: ( 1.2.840.113556.1.4.804 NAME 'integerBitOrMatch' APPLIES ( supportedLDAPVersion $ entryTtl $ uidN
515a46fe     1.2.840.113556.1.4.803 (integerBitAndMatch): 515a46fe matchingRuleUse: ( 1.2.840.113556.1.4.803 NAME 'integerBitAndMatch' APPLIES ( supportedLDAPVersion $ entryTtl $ ui
515a46fe     1.3.6.1.4.1.1466.109.114.2 (caseIgnoreIA5Match): 515a46fe matchingRuleUse: ( 1.3.6.1.4.1.1466.109.114.2 NAME 'caseIgnoreIA5Match' APPLIES ( altServer $ olcDbConfig $ c
515a46fe     1.3.6.1.4.1.1466.109.114.1 (caseExactIA5Match): 515a46fe matchingRuleUse: ( 1.3.6.1.4.1.1466.109.114.1 NAME 'caseExactIA5Match' APPLIES ( altServer $ olcDbConfig $ c $
515a46fe     2.5.13.39 (certificateListMatch): 515a46fe     2.5.13.38 (certificateListExactMatch): 515a46fe matchingRuleUse: ( 2.5.13.38 NAME 'certificateListExactMatch' APPLIES ( a
515a46fe     2.5.13.35 (certificateMatch): 515a46fe     2.5.13.34 (certificateExactMatch): 515a46fe matchingRuleUse: ( 2.5.13.34 NAME 'certificateExactMatch' APPLIES ( userCertifica
515a46fe     2.5.13.30 (objectIdentifierFirstComponentMatch): 515a46fe matchingRuleUse: ( 2.5.13.30 NAME 'objectIdentifierFirstComponentMatch' APPLIES ( supportedControl $ supported
515a46fe     2.5.13.29 (integerFirstComponentMatch): 515a46fe matchingRuleUse: ( 2.5.13.29 NAME 'integerFirstComponentMatch' APPLIES ( supportedLDAPVersion $ entryTtl $ uidNumber $
515a46fe     2.5.13.28 (generalizedTimeOrderingMatch): 515a46fe matchingRuleUse: ( 2.5.13.28 NAME 'generalizedTimeOrderingMatch' APPLIES ( createTimestamp $ modifyTimestamp $ pwdCha
515a46fe     2.5.13.27 (generalizedTimeMatch): 515a46fe matchingRuleUse: ( 2.5.13.27 NAME 'generalizedTimeMatch' APPLIES ( createTimestamp $ modifyTimestamp $ pwdChangedTime $ pwdAc
515a46fe     2.5.13.24 (protocolInformationMatch): 515a46fe matchingRuleUse: ( 2.5.13.24 NAME 'protocolInformationMatch' APPLIES protocolInformation )
515a46fe     2.5.13.23 (uniqueMemberMatch): 515a46fe matchingRuleUse: ( 2.5.13.23 NAME 'uniqueMemberMatch' APPLIES uniqueMember )
515a46fe     2.5.13.22 (presentationAddressMatch): 515a46fe matchingRuleUse: ( 2.5.13.22 NAME 'presentationAddressMatch' APPLIES presentationAddress )
515a46fe     2.5.13.20 (telephoneNumberMatch): 515a46fe matchingRuleUse: ( 2.5.13.20 NAME 'telephoneNumberMatch' APPLIES ( telephoneNumber $ homePhone $ mobile $ pager ) )
515a46fe     2.5.13.18 (octetStringOrderingMatch): 515a46fe matchingRuleUse: ( 2.5.13.18 NAME 'octetStringOrderingMatch' APPLIES ( userPassword $ olcDbCryptKey $ pwdHistory $ javaSe
515a46fe     2.5.13.17 (octetStringMatch): 515a46fe matchingRuleUse: ( 2.5.13.17 NAME 'octetStringMatch' APPLIES ( userPassword $ olcDbCryptKey $ pwdHistory $ javaSerializedData ) )
515a46fe     2.5.13.16 (bitStringMatch): 515a46fe matchingRuleUse: ( 2.5.13.16 NAME 'bitStringMatch' APPLIES x500UniqueIdentifier )
515a46fe     2.5.13.15 (integerOrderingMatch): 515a46fe matchingRuleUse: ( 2.5.13.15 NAME 'integerOrderingMatch' APPLIES ( supportedLDAPVersion $ entryTtl $ uidNumber $ gidNumber $
515a46fe     2.5.13.14 (integerMatch): 515a46fe matchingRuleUse: ( 2.5.13.14 NAME 'integerMatch' APPLIES ( supportedLDAPVersion $ entryTtl $ uidNumber $ gidNumber $ olcConcurrency $
515a46fe     2.5.13.13 (booleanMatch): 515a46fe matchingRuleUse: ( 2.5.13.13 NAME 'booleanMatch' APPLIES ( hasSubordinates $ olcAddContentAcl $ olcGentleHUP $ olcHidden $ olcLastMod
515a46fe     2.5.13.11 (caseIgnoreListMatch): 515a46fe matchingRuleUse: ( 2.5.13.11 NAME 'caseIgnoreListMatch' APPLIES ( postalAddress $ registeredAddress $ homePostalAddress ) )
515a46fe     2.5.13.9 (numericStringOrderingMatch): 515a46fe matchingRuleUse: ( 2.5.13.9 NAME 'numericStringOrderingMatch' APPLIES ( x121Address $ internationaliSDNNumber ) )
515a46fe     2.5.13.8 (numericStringMatch): 515a46fe matchingRuleUse: ( 2.5.13.8 NAME 'numericStringMatch' APPLIES ( x121Address $ internationaliSDNNumber ) )
515a46fe     2.5.13.7 (caseExactSubstringsMatch): 515a46fe matchingRuleUse: ( 2.5.13.7 NAME 'caseExactSubstringsMatch' APPLIES ( serialNumber $ destinationIndicator $ dnQualifier )
515a46fe     2.5.13.6 (caseExactOrderingMatch): 515a46fe matchingRuleUse: ( 2.5.13.6 NAME 'caseExactOrderingMatch' APPLIES ( supportedSASLMechanisms $ vendorName $ vendorVersion $ r
515a46fe     2.5.13.5 (caseExactMatch): 515a46fe matchingRuleUse: ( 2.5.13.5 NAME 'caseExactMatch' APPLIES ( supportedSASLMechanisms $ vendorName $ vendorVersion $ ref $ name $ cn $
515a46fe     2.5.13.4 (caseIgnoreSubstringsMatch): 515a46fe matchingRuleUse: ( 2.5.13.4 NAME 'caseIgnoreSubstringsMatch' APPLIES ( serialNumber $ destinationIndicator $ dnQualifier
515a46fe     2.5.13.3 (caseIgnoreOrderingMatch): 515a46fe matchingRuleUse: ( 2.5.13.3 NAME 'caseIgnoreOrderingMatch' APPLIES ( supportedSASLMechanisms $ vendorName $ vendorVersion $
515a46fe     2.5.13.2 (caseIgnoreMatch): 515a46fe matchingRuleUse: ( 2.5.13.2 NAME 'caseIgnoreMatch' APPLIES ( supportedSASLMechanisms $ vendorName $ vendorVersion $ ref $ name $ cn
515a46fe     1.2.36.79672281.1.13.3 (rdnMatch): 515a46fe     2.5.13.1 (distinguishedNameMatch): 515a46fe matchingRuleUse: ( 2.5.13.1 NAME 'distinguishedNameMatch' APPLIES ( creators
515a46fe     2.5.13.0 (objectIdentifierMatch): 515a46fe matchingRuleUse: ( 2.5.13.0 NAME 'objectIdentifierMatch' APPLIES ( supportedControl $ supportedExtension $ supportedFeatures
515a46fe slapd startup: initiated.
515a46fe backend_startup_one: starting "cn=config"
515a46fe config_back_db_open
515a46fe config_build_entry: "cn=config"
515a46fe config_build_attrs: error 21 on olcConfigFile value #0
515a46fe config_build_entry: build "cn=config" failed: ""
515a46fe backend_startup_one (type=config, suffix="cn=config"): bi_db_open failed! (-1)
515a46fe slapd shutdown: initiated
515a46fe ====> bdb_cache_release_all
515a46fe slapd destroy: freeing system resources.
515a46fe slapd stopped.






解决方案

    解决方法(一):  
slapd.exe -d 1 -f ./slapd.conf  
加上 -f 和你的配置文件路径  

解决方法(二):   
安装目录下面有个 run 目录, run 目录下面有个  
run.cmd 直接双击运行; 


  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值