directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Duan" <nd...@dtechspace.com>
Subject Redeploying ApacheDS from Mac to Linux
Date Tue, 16 Jul 2013 14:53:07 GMT
We created ApacheDS LDAP entries on Mac and running without any problems.   When I redeployed
the same installation on Linux (packaged the entire apacheds directory into a tar.gz file),
I got the following exception.   However, the same installation can be deployed to another
Mac without any problems.  No problem occurs when deploying from Linux to Mac, either.

Any hints/suggestions are highly appreciated.

Thanks!

Nick
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Starting ApacheDS instance 'default'...
[10:48:01] ERROR [org.apache.directory.shared.ldap.model.ldif.LdifReader] - ERR_12016_DN_EXPECTED
A ldif entry must start with a DN
[10:48:01] ERROR [org.apache.directory.server.core.api.schema.SchemaPartition] - ERR_90 Failed
to initialize wrapped partition.
org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_12013_NO_DN No DN
for entry
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:77)
	at org.apache.directory.server.core.api.schema.SchemaPartition.doInit(SchemaPartition.java:220)
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:72)
	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1832)
	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1269)
	at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:308)
	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:176)
	at org.apache.directory.server.UberjarMain.main(UberjarMain.java:58)
Caused by: org.apache.directory.shared.ldap.model.ldif.LdapLdifException: ERR_12013_NO_DN
No DN for entry
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdifFile(LdifReader.java:1662)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdifFile(LdifReader.java:1615)
	at org.apache.directory.server.core.partition.ldif.LdifPartition.loadEntries(LdifPartition.java:461)
	at org.apache.directory.server.core.partition.ldif.LdifPartition.doInit(LdifPartition.java:162)
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:72)
	... 7 more
Caused by: org.apache.directory.shared.ldap.model.ldif.LdapLdifException: ERR_12013_NO_DN
No DN for entry
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseDn(LdifReader.java:543)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseEntry(LdifReader.java:1300)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdif(LdifReader.java:1909)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdifFile(LdifReader.java:1653)
	... 11 more
org.apache.directory.shared.ldap.model.exception.LdapOtherException: org.apache.directory.shared.ldap.model.exception.LdapOtherException:
ERR_12013_NO_DN No DN for entry
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:77)
	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1832)
	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1269)
	at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:308)
	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:176)
	at org.apache.directory.server.UberjarMain.main(UberjarMain.java:58)
Caused by: java.lang.RuntimeException: org.apache.directory.shared.ldap.model.exception.LdapOtherException:
ERR_12013_NO_DN No DN for entry
	at org.apache.directory.server.core.api.schema.SchemaPartition.doInit(SchemaPartition.java:227)
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:72)
	... 5 more
Caused by: org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_12013_NO_DN
No DN for entry
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:77)
	at org.apache.directory.server.core.api.schema.SchemaPartition.doInit(SchemaPartition.java:220)
	... 6 more
Caused by: org.apache.directory.shared.ldap.model.ldif.LdapLdifException: ERR_12013_NO_DN
No DN for entry
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdifFile(LdifReader.java:1662)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdifFile(LdifReader.java:1615)
	at org.apache.directory.server.core.partition.ldif.LdifPartition.loadEntries(LdifPartition.java:461)
	at org.apache.directory.server.core.partition.ldif.LdifPartition.doInit(LdifPartition.java:162)
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:72)
	... 7 more
Caused by: org.apache.directory.shared.ldap.model.ldif.LdapLdifException: ERR_12013_NO_DN
No DN for entry
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseDn(LdifReader.java:543)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseEntry(LdifReader.java:1300)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdif(LdifReader.java:1909)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdifFile(LdifReader.java:1653)
	... 11 more
[10:48:01] ERROR [org.apache.directory.server.UberjarMain] - Failed to start the service.
org.apache.directory.shared.ldap.model.exception.LdapOtherException: org.apache.directory.shared.ldap.model.exception.LdapOtherException:
ERR_12013_NO_DN No DN for entry
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:77)
	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1832)
	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1269)
	at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:308)
	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:176)
	at org.apache.directory.server.UberjarMain.main(UberjarMain.java:58)
Caused by: java.lang.RuntimeException: org.apache.directory.shared.ldap.model.exception.LdapOtherException:
ERR_12013_NO_DN No DN for entry
	at org.apache.directory.server.core.api.schema.SchemaPartition.doInit(SchemaPartition.java:227)
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:72)
	... 5 more
Caused by: org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_12013_NO_DN
No DN for entry
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:77)
	at org.apache.directory.server.core.api.schema.SchemaPartition.doInit(SchemaPartition.java:220)
	... 6 more
Caused by: org.apache.directory.shared.ldap.model.ldif.LdapLdifException: ERR_12013_NO_DN
No DN for entry
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdifFile(LdifReader.java:1662)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdifFile(LdifReader.java:1615)
	at org.apache.directory.server.core.partition.ldif.LdifPartition.loadEntries(LdifPartition.java:461)
	at org.apache.directory.server.core.partition.ldif.LdifPartition.doInit(LdifPartition.java:162)
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:72)
	... 7 more
Caused by: org.apache.directory.shared.ldap.model.ldif.LdapLdifException: ERR_12013_NO_DN
No DN for entry
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseDn(LdifReader.java:543)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseEntry(LdifReader.java:1300)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdif(LdifReader.java:1909)
	at org.apache.directory.shared.ldap.model.ldif.LdifReader.parseLdifFile(LdifReader.java:1653)
	... 11 more


Mime
View raw message