openldap 起動エラー #  /etc/init.d/slapd start Checking configuration files for slapd:                    [FAILED] str2entry: invalid value for attributeType objectClass #1 (syntax 1.3.6.1.4.1.1466.115.121.1.38)

openldapの起動エラーが発生した。

#  /etc/init.d/slapd start
Checking configuration files for slapd:                    [FAILED]
str2entry: invalid value for attributeType objectClass #1 (syntax 1.3.6.1.4.1.1466.115.121.1.38)

レプリケーション設定思案中に起きたため、レプリケーション関連と認識し、設定ファイルを戻すが、上記エラーがでる。

以下のファイルを削除してみたら、起動できた。
# rm /etc/openldap/slapd.d/cn=config/olcDatabase={2}bdb
/olcOverlay={1}syncprov.ldif

# /etc/init.d/slapd start
Starting slapd: [ OK ]

おすすめの記事