Failed to start ns-slapd process on Windows

I install Sun Directory Server 6.0 on Windows:

1. Installation

dsee_deploy install -c DS -i D:\DirectoryServer

2. Create Instance

D:\DirectoryServer\ds6\bin\dsadm create D:\DirectoryServer\ds

3. Start instance

D:\DirectoryServer\ds6\bin\dsadm start D:\DirectoryServer\ds

And get folloving error:

Server not running ! Failed to start ns-slapd process

--

Server's log is empty.

What I can do to solve this problem ?

I see topic with this problem on UNiX platform, and

how about Windows 2003? I make installation as Administrator.

Michael Vasilyev

[636 byte] By [mbasil529a] at [2007-11-27 4:33:34]
# 1
Make sure ActiveDirectory is not running, or make use of an alternate Port for Sun Directory Server.If default LDAP port (389) is used by another application, the server won't start.Regards,Ludovic.
ludovicpa at 2007-7-12 9:43:25 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

Thank you, Ludovic !

I have new error when create Instance with command (changes default port number):

dsadm create -p 1525 D:\DirectoryServer\ds

Then I start DirectoryServer:

dsadm start D:\DirectoryServer\ds

And get in command line:

Waiting for server to start...

Waiting for server to start...

Waiting for server to start...

Waiting for server to start...

Waiting for server to start...

Waiting for server to start...

Waiting for server to start...

Waiting for server to start...

Waiting for server to start...

Waiting for server to start...

Waiting for server to start...

Server not running!! Failed to start ns-slapd process

--

In Dialog Window appear message:

Directory Server ds is terminating. Failed to set the EventLog source.

- --

mbasil529a at 2007-7-12 9:43:25 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

In Event Viewer (Application) I also see following message:

The description for Event ID ( 0 ) in Source ( cacao ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: com.sun.mfwk.util.log.MfLogService.init : LogFile is: D:/DIRECT~1/dsee6/mfwk/logs\agent.log.%g.

File agent.log.%g not found in directory /dsee6/mfwk/logs/

mbasil529a at 2007-7-12 9:43:25 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4
Try this, remove the instance with name "ds" using the "dsadm delete ....." command line. Add it back again using a name other than "ds". See if that helps.
AnindhyaSa at 2007-7-12 9:43:25 > top of Java-index,Web & Directory Servers,Directory Servers...