The default /etc/openldap/slapd.d created the my.domain.com. You have to erase 
/etc/openldap/slad.d/*, and the ldap database. Run the slapadd command again, 
the database will setup in the right order.

Pressure creates diamond.

Send from Sony Tablet S 

杨峰 <[email protected]> wrote:

>I am setting up the LDAP service on primary server, I use Fedora14 with
>xcat-core-2.6.9.
>
>I double check all the configuration files, but I still get following
>message. it seems that the db was created for my-domain.com, but I did
>not set it anywhere.
>How to resolve it?
>
>#slapadd -d 3 -v -l /tmp/base.ldif
>slapadd startup: initiated.
>backend_startup_one: starting "dc=my-domain,dc=com"
>bdb_db_open: database "dc=my-domain,dc=com": dbenv_open(/var/lib/ldap).
>=> str2entry: "dn: dc=isilon,dc=cn
>dc: isilon
>objectClass: top
>objectClass: domain
>objectClass: domainRelatedObject
>associatedDomain: isilon.cn
>"
>>>> dnPrettyNormal: <dc=isilon,dc=cn>
><<< dnPrettyNormal: <dc=isilon,dc=cn>, <dc=isilon,dc=cn>
><= str2entry(dc=isilon,dc=cn) -> 0x7f70d96de118
>slapadd: line 1: database #1 (dc=my-domain,dc=com) not configured to
>hold "dc=isilon,dc=cn"; no database configured for that naming context
>slapadd shutdown: initiated
>====> bdb_cache_release_all
>slapadd destroy: freeing system resources.
>
>[root@xcat migrationtools]# slapadd -v -l /tmp/base.ldif
>slapadd: line 1: database #1 (dc=my-domain,dc=com) not configured to
>hold "dc=isilon,dc=cn"; no database configured for that naming context
>_ 0.36% eta none elapsed none spd 1.2 M/s
>Closing DB...
>#
>
>
>
>------------------------------------------------------------------------------
>Write once. Port to many.
>Get the SDK and tools to simplify cross-platform app development. Create 
>new or port existing apps to sell to consumers worldwide. Explore the 
>Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
>http://p.sf.net/sfu/intel-appdev
>_______________________________________________
>xCAT-user mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to