Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDAP and ldif

Status
Not open for further replies.

tomecki24

Programmer
Jun 13, 2001
52
DE
hello,

I've imported two ldif files using command line utility:
c:\...\slapd ldif2db -f c:\...\slapd.conf -i f:\one.ldif -i f:\two.ldif -s "o=domain" -x "o=NetscapeRoot"
[17/Jul/2001:11:06:48 +0200] - indexing attribute 'entrydn'
..500 total entries.
[17/Jul/2001:11:06:51 +0200] - storing entries from f:\one.ldif
[17/Jul/2001:11:06:54 +0200] - f:\one.ldif: entry ending line 4829 violates schema
[17/Jul/2001:11:06:54 +0200] - ldif2ldbm: Failed to create database, err=-1 Unknown error

Then I've try to start admin-server but it says:
Netscape Administration Server 4.2 will start.
Netscape Administration Server 4.2 cannot start.

System error found.
System error 1067.

Then i've correct ldif files and tried again:

C:\..\slapd ldif2db -f c:\...\slapd.conf -i f:\one.ldif -i f:\two.ldif -s "o=domain" -x "o=NetscapeRoot"
[18/Jul/2001:10:32:03 +0200] - indexing attribute 'entrydn'
[18/Jul/2001:10:32:03 +0200] - slapi_str2entry: entry has no dn: 'objectClasses'
[18/Jul/2001:10:32:03 +0200] - f:\one.ldif: bad LDIF entry ending line 1515
[18/Jul/2001:10:32:03 +0200] - ldif2ldbm: Failed to create database, err=-1 Unknown error

And of course admin-server doesn't work.
It's strange because one.ldif file has only 1438 lines, ant there is no 1515 line in it.

What should I do to start admin-server?

Thanks
Tomasz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top