View previous topic :: View next topic |
Author |
Message |
dfuse Guru
Joined: 07 Apr 2003 Posts: 395 Location: Belgium
|
Posted: Sun Nov 23, 2003 3:06 pm Post subject: slapd error when following the gentoo openldap guide |
|
|
Hey,
I'm following the guide for openldap and when I reach the point where I've got to start slapd I get the following error:
Code: |
* Starting ldap-server...
/etc/openldap/schema/inetorgperson.schema: line 143: AttributeType not found: "audi [ !! ]
|
Since the error comes from a file I didn't change, I don't know what to do... |
|
Back to top |
|
|
ozukir@ Apprentice
Joined: 14 Oct 2002 Posts: 209 Location: USA
|
Posted: Sun Nov 23, 2003 7:24 pm Post subject: |
|
|
Perhaps there is some corruption in that particular schema. I would check it for any obvious typos. Otherwise, untar the openldap tarball and replace that schema with one from it (it's in the servers/slapd/schema).
BTW, mine ends at line 142. What version of OpenLDAP are you using? |
|
Back to top |
|
|
dfuse Guru
Joined: 07 Apr 2003 Posts: 395 Location: Belgium
|
Posted: Sun Nov 23, 2003 10:15 pm Post subject: |
|
|
There are no typos I can see,
I use OpenLDAP 2.0.27-r4. My schema contains 144 lines, the last being blank. 143 is thus the last line containing )
With the file from the tarball I get
Code: |
/etc/openldap/schema/inetorgperson.schema: line 142: AttributeType not found: "audio" [ !! ]
|
Not much difference there although the new schema is 2 lines shorter |
|
Back to top |
|
|
ozukir@ Apprentice
Joined: 14 Oct 2002 Posts: 209 Location: USA
|
Posted: Sun Nov 23, 2003 10:44 pm Post subject: |
|
|
This looks like a problem with one of the attributes being used in inetorgperson.schema not being defined. audio is defined in the cosine.schema. Make sure this is included in your slapd.conf. According to the gentoo docs you want to include the following: Code: | include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema |
Beyond that, you'll need to post more information about your configuration. |
|
Back to top |
|
|
dfuse Guru
Joined: 07 Apr 2003 Posts: 395 Location: Belgium
|
Posted: Mon Nov 24, 2003 7:00 pm Post subject: |
|
|
Yes you're right, it was a stupid typo, I overlooked cosine.schema, I think I saw core.schema and thought that was cosine.schema, now slapd starts.
Thanks alot for your help! |
|
Back to top |
|
|
|