Problema Solved...
Uninstalled Apache DS, erased the folder C:\Program Files\Apache
Directory Server, installed Apache DS again.
I guess the file C:\Program Files\Apache Directory
Server\instances\default\conf\server.xml was corrupted.
Em 16/06/2010 15:27, Fabiano Louzada escreveu:
Yes, sure...
[12:03:27] ERROR
[org.apache.directory.shared.ldap.schema.loader.ldif.LdifSchemaLoader]
- ERR_10004 Expecting to find a schema.ldif file in provided
baseDirectory path 'C:\Program Files\Apache Directory
Server\instances\default\partitions\schema\ou=schema.ldif' but no such
file found.
[12:03:27] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed
on null.init(InstallationLayout, String[])
java.io.FileNotFoundException: ERR_10004 Expecting to find a
schema.ldif file in provided baseDirectory path 'C:\Program
Files\Apache Directory
Server\instances\default\partitions\schema\ou=schema.ldif' but no such
file found.
at
org.apache.directory.shared.ldap.schema.loader.ldif.LdifSchemaLoader.<init>(LdifSchemaLoader.java:113)
at
org.apache.directory.server.configuration.ApacheDS.initSchema(ApacheDS.java:488)
at
org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:124)
at org.apache.directory.server.Service.initLdap(Service.java:136)
at org.apache.directory.server.Service.init(Service.java:77)
at
org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:154)
at
org.apache.directory.daemon.TanukiBootstrapper.start(TanukiBootstrapper.java:54)
at
org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
[12:07:35] ERROR
[org.apache.directory.shared.ldap.schema.loader.ldif.LdifSchemaLoader]
- ERR_10004 Expecting to find a schema.ldif file in provided
baseDirectory path 'C:\Program Files\Apache Directory
Server\instances\default\partitions\schema\ou=schema.ldif' but no such
file found.
[12:07:35] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed
on null.init(InstallationLayout, String[])
java.io.FileNotFoundException: ERR_10004 Expecting to find a
schema.ldif file in provided baseDirectory path 'C:\Program
Files\Apache Directory
Server\instances\default\partitions\schema\ou=schema.ldif' but no such
file found.
at
org.apache.directory.shared.ldap.schema.loader.ldif.LdifSchemaLoader.<init>(LdifSchemaLoader.java:113)
at
org.apache.directory.server.configuration.ApacheDS.initSchema(ApacheDS.java:488)
at
org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:124)
at org.apache.directory.server.Service.initLdap(Service.java:136)
at org.apache.directory.server.Service.init(Service.java:77)
at
org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:154)
at
org.apache.directory.daemon.TanukiBootstrapper.start(TanukiBootstrapper.java:54)
at
org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
[13:58:25] ERROR
[org.apache.directory.shared.ldap.schema.loader.ldif.LdifSchemaLoader]
- ERR_10004 Expecting to find a schema.ldif file in provided
baseDirectory path 'C:\Program Files\Apache Directory
Server\instances\default\partitions\schema\ou=schema.ldif' but no such
file found.
[13:58:25] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed
on null.init(InstallationLayout, String[])
java.io.FileNotFoundException: ERR_10004 Expecting to find a
schema.ldif file in provided baseDirectory path 'C:\Program
Files\Apache Directory
Server\instances\default\partitions\schema\ou=schema.ldif' but no such
file found.
at
org.apache.directory.shared.ldap.schema.loader.ldif.LdifSchemaLoader.<init>(LdifSchemaLoader.java:113)
at
org.apache.directory.server.configuration.ApacheDS.initSchema(ApacheDS.java:488)
at
org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:124)
at org.apache.directory.server.Service.initLdap(Service.java:136)
at org.apache.directory.server.Service.init(Service.java:77)
at
org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:154)
at
org.apache.directory.daemon.TanukiBootstrapper.start(TanukiBootstrapper.java:54)
at
org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
[15:21:36] ERROR
[org.apache.directory.shared.ldap.schema.loader.ldif.LdifSchemaLoader]
- ERR_10004 Expecting to find a schema.ldif file in provided
baseDirectory path 'C:\Program Files\Apache Directory
Server\instances\default\partitions\schema\ou=schema.ldif' but no such
file found.
[15:21:36] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed
on null.init(InstallationLayout, String[])
java.io.FileNotFoundException: ERR_10004 Expecting to find a
schema.ldif file in provided baseDirectory path 'C:\Program
Files\Apache Directory
Server\instances\default\partitions\schema\ou=schema.ldif' but no such
file found.
at
org.apache.directory.shared.ldap.schema.loader.ldif.LdifSchemaLoader.<init>(LdifSchemaLoader.java:113)
at
org.apache.directory.server.configuration.ApacheDS.initSchema(ApacheDS.java:488)
at
org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:124)
at org.apache.directory.server.Service.initLdap(Service.java:136)
at org.apache.directory.server.Service.init(Service.java:77)
at
org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:154)
at
org.apache.directory.daemon.TanukiBootstrapper.start(TanukiBootstrapper.java:54)
at
org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
Em 16/06/2010 14:30, Pierre-Arnaud Marcelot escreveu:
Hi,
Can you provide any logs ?
They should be located under 'C:\Program Files\Apache Directory
Server\instances\default\log' on Windows if you've used the default
installation path.
Thanks,
Pierre-Arnaud
On 16 juin 2010, at 19:15, Fabiano Louzada wrote:
I have a Apache DS instaled in a computer with Windows Server 2k3.
It was working until yesterday, when I tried to add a new entry. I
was getting the following message:
#!RESULT ERROR
#!CONNECTION ldap://ipajm-06:10389
#!DATE 2010-06-15T15:21:30.578
#!ERROR [LDAP: error code 68 - ENTRY_ALREADY_EXISTS: failed for
Add Request : ClientEntry dn: 2.5.4.3=fulano de
tal,2.5.4.11=people,2.5.4.10=ipajm objectclass: top
objectclass: person objectclass: organizationalPerson
objectclass: inetOrgPerson sn: de tal ou: SCO cn: Fulano
de Tal telephonenumber: 12345678 title: Auxiliar Técnico
Previdenciário givenname: fulano mail: [email protected] :
cn=Fulano de Tal,ou=people,o=ipajm already exists!]
However, this entry wasn't duplicated because I'd just deleted it.
So, I openned the "services.msc" console and restared the service
apacheds-default, but the service didn't restart, with the following
message:
"Could not start the Apache Directory Server - default service on
local computer.
Error 1067: The process terminated unexpectedly."
Since that, I can't start the service anymore. I had the version
1.5.4 of apacheds and then I updated to version 1.5.7, but the
problem persists.
I suspect this is a problem with an installed Windows Update but the
last installed update was on 17/04/2010, and apache was working
until yesterday.
Do you have any idea about this problem?
Tks,
Fabiano Louzada.