problem adding new schema
hi to all
i am using SUN one DS. I want to use my custom schema. When i put my 99zzzz.ldif in config/schema and then i tried to restart, the following error is generated and also i cant start my DS. If i delete this file, i can start DS. can anyone resolve this problem?
[slapd-girija]: starting up server ...
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<5390> - Entry - conn=-1 op=-1 msgId=-1 - Entry error str2entry_dupcheck: entry has no dn
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<5390> - Entry - conn=-1 op=-1 msgId=-1 - Entry error str2entry_dupcheck: entry has no dn
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<4132> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error Cannot parse dse entry: attributetype ( 1.3.6.1.4.1.15490.1.11 NAME 'studentName'DESC 'description'EQUALITY caseIgnoreMatchSUBSTR caseIgnoreSubstringsMatchSYNTAX 1.3.6.1.4.1.1466.115.121.1.15SINGLE-VALUE ).
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<5390> - Entry - conn=-1 op=-1 msgId=-1 - Entry error str2entry_dupcheck: entry has no dn
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<4132> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error Cannot parse dse entry: attributetype ( 1.3.6.1.4.1.15490.1.20 NAME 'subjectCode'DESC 'description'EQUALITY caseIgnoreMatchSUBSTR caseIgnoreSubstringsMatchSYNTAX 1.3.6.1.4.1.1466.115.121.1.15SINGLE-VALUE ).
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<5390> - Entry - conn=-1 op=-1 msgId=-1 - Entry error str2entry_dupcheck: entry has no dn
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<4132> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error Cannot parse dse entry: attributetype ( 1.3.6.1.4.1.15490.1.21 NAME 'staffName'DESC 'description'EQUALITY caseIgnoreMatchSUBSTR caseIgnoreSubstringsMatchSYNTAX 1.3.6.1.4.1.1466.115.121.1.15SINGLE-VALUE ).
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<5390> - Entry - conn=-1 op=-1 msgId=-1 - Entry error str2entry_dupcheck: entry has no dn
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<4132> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error Cannot parse dse entry: objectclass ( 1.3.6.1.4.1.15490.2.1 NAME 'objCollege'SUP top STRUCTURALDESC 'object class'MUST (collegeName $ collegePrincipal $ collegePresident $ collegeSecretary )MAY (collegeBoardMember ) ).
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<5390> - Entry - conn=-1 op=-1 msgId=-1 - Entry error str2entry_dupcheck: entry has no dn
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<4132> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error Cannot parse dse entry: objectclass ( 1.3.6.1.4.1.15490.2.3 NAME 'objBranch'SUP top STRUCTURALDESC 'object class'MUST (branchHead $ branchName $ branchNumberOfStudents ) ).
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<5390> - Entry - conn=-1 op=-1 msgId=-1 - Entry error str2entry_dupcheck: entry has no dn
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<4132> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error Cannot parse dse entry: objectclass ( 1.3.6.1.4.1.15490.2.4 NAME 'objStudent'DESC 'object class'SUP top STRUCTURALMUST ( studentName $ studentNumber $ studentAddress $ studentAcademicYear $ studentCourse $studentStatus $ studentYear ) ).
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<5390> - Entry - conn=-1 op=-1 msgId=-1 - Entry error str2entry_dupcheck: entry has no dn
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<4132> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error Cannot parse dse entry: objectclass ( 1.3.6.1.4.1.15490.2.5 NAME 'objSubject'DESC 'object class'SUP top STRUCTURALMUST ( subjectCode $subjectName $ subjectMarks ) ).
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<5390> - Entry - conn=-1 op=-1 msgId=-1 - Entry error str2entry_dupcheck: entry has no dn
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<4132> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error Cannot parse dse entry: objectclass ( 1.3.6.1.4.1.15490.2.6 NAME 'objStaff'DESC 'object class'SUP top STRUCTURAL MUST ( staffName $ staffID $ staffAddress $ staffQualification$ staffDepartment $ staffBranch $ staffType) ).
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<5390> - Entry - conn=-1 op=-1 msgId=-1 - Entry error str2entry_dupcheck: entry has no dn
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<4132> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error Cannot parse dse entry: objectclass ( 1.3.6.1.4.1.15490.2.7 NAME 'objSalary'SUP top STRUCTURALDESC 'object class'MUST ( salaryBASIC $ salaryDA $ salaryHRA $ salaryAllowance $salaryTotal) ).
[slapd-girija]: [07/Jun/2006:15:37:06 +0200] - ERROR<4129> - Bootstrap config - conn=-1 op=-1 msgId=-1 - Configuration error Please edit the configuration file to correct the reported problems and then restart the server. Server exiting.
My 99zzz.ldif contains :
dn: cn=schema
objectClass: top
objectClass: ldapSubentry
objectClass: subschema
cn: schema
attributetype ( 1.3.6.1.4.1.15490.1.1 NAME 'collegeName'
DESC 'college name'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
objectclass ( 1.3.6.1.4.1.15490.2.1 NAME 'objCollege'
SUP top STRUCTURAL
DESC 'object class'
MUST (collegeName $ collegePrincipal $ collegePresident $ collegeSecretary )
MAY (collegeBoardMember ) )
Thank you,

