October 13, 2017 at 7:04 am #19125
I am trying to install DS-5 on my windows machine. I executed setup.bat in interactive mode with the following equivalent command:
D:\FR5\DS5\opendj\setup.bat directory-server –instancePath “D:\FR5\DS5\opendj” –rootUserDn “cn=Directory Manager” –rootUserPassword “******” –hostname “abcd.com” –adminConnectorPort “5444” –doNotStart –enableWindowsService –ldapPort “1389” –enableStartTls –ldapsPort “1636” –addBaseEntry –baseDn “dc=example,dc=com” –backendType “je-backend”
and got the following response:
Validating parameters….. Done
Configuring certificates….. Done
Configuring server….. Done
Enabling Windows service……. Done
Creating base entry dc=example,dc=com………… Done
To see basic server status and configuration, you can launch
I ran start-ds.bat. The net1.exe window appeared and just vanished. But the server is not starting. In the logs folder I have only the native-window.out file and it says “Service ‘OpenDJ Server’ is enabled. main returning 0.”
And the following error:
serviceMain: doStartApplication: batch command spawn failed. ERROR: serviceMain: doStartApplication() failed. Updating the service status. statusToSet=1 win32ExitCode=1066 serviceExitCode=-1 checkPoint=0 waitHint=0
And I am not able to start the server. I tried disabling windows service and starting the server. Then the request is getting timed out with logs stopping at “start-ds.bat: Waiting for “D:\FR5\DS5\opendj\logs\server.starting” to be deleted “
October 13, 2017 at 7:44 am #19127
- This topic was modified 3 years, 11 months ago by Arya.
Actually while trying to disable windows service and start the server the timeout is happening with logs as follows:
start-ds.bat: Waiting for “D:\FR5\DS5\opendj\logs\server.starting” to be deleted
start-ds.bat: check started
(pid=10792) ————— FIRST LOG MESSAGE FROM ‘D:\FR5\DS5\opendj\lib\opendj_service.exe’ —————
(pid=10792) main called.
(pid=10792) argv = ‘D:\FR5\DS5\opendj\lib\opendj_service.exe’
(pid=10792) argv = ‘state’
(pid=10792) argv = ‘D:\FR5\DS5\opendj’
(pid=10792) argv = ‘–debug’
(pid=10792) Getting service state.
(pid=10792) When determining the service bin path, the module file name is ‘D:\FR5\DS5\opendj\lib\opendj_service.exe’.
(pid=10792) Created the service bin path. code=0. cmdToRun='”D:\FR5\DS5\opendj\lib\opendj_service.exe” start “D:\FR5\DS5\opendj”‘.
(pid=10792) Attempting to get the service name assuming command to run is ‘”D:\FR5\DS5\opendj\lib\opendj_service.exe” start “D:\FR5\DS5\opendj”‘.
(pid=10792) Successfully opened the Service Control Manager.
(pid=10792) The service name was found to be ”.
(pid=10792) Service ” is disabled.
(pid=10792) main returning 1.
start-ds.bat: finishedOctober 13, 2017 at 8:58 am #19129LudoModerator
Is there a file named server.out under D:\FR5\DS5\opendj\logs ? If so, can you post the content ?
Normally, the setup command would start the server. Output will appear in server.out and also in logs\errors as soon as the logging system is initialized.November 10, 2017 at 8:23 am #19533
D:\FR5\DS5\opendj\logs is having only one file(native-windows.out).January 25, 2018 at 11:31 am #20682aanandsriParticipant
Is this issue fixed? I am facing the same issue on my Windows 10 machine with OpenDS 5.5.0 and any help would be appreciated!March 26, 2018 at 9:29 am #21311Sandeep_kParticipant
I am also facing same issue with openDS installation in Win 10 machine. Could you please help me out. Quick response will be appreciated.November 28, 2018 at 3:49 pm #24006[email protected]Participant
Please check your java bit version, with 64 bit java8 i got luck both for windows10 & windows7.
Cheers!! Sivaji Kummamuri
You must be logged in to reply to this topic.