View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002508||SymmetricDS||Bug||public||2016-02-26 07:54||2019-08-26 08:49|
|Status||closed||Resolution||unable to reproduce|
|Target Version||Fixed in Version|
|Summary||0002508: Starting service failing after installing the service|
|Description||I am trying to install SymmetricDS as a service. The SymmetricDS version I am using is symmetric-server-3.7.29(also tried with 3.7.27). I am following the process mentioned in the SymmetricDS documentation webpage (http://www.symmetricds.org/doc/3.7/html/user-guide.html#_running_as_a_windows_service). It uses sym_service to install and then start the service. The installation seems to be successful but when I am trying to start it from console, I am getting the following error:|
"Error 19: Start Service returned error 1053: The service did not respond respond in a timely fashion to the start or control request. Native error 19"
|Steps To Reproduce||Symm_DS_installation_path/bin/sym_service.bat install|
sc start SymmetricDS_service_name
||Make sure the path to Java exists and works. Look in conf/sym_service.conf at the line for wrapper.java.command. An upgrade to Java can change the path. If you have java.exe on the PATH, then you can set wrapper.java.command=java. After making a change, you need to uninstall and reinstall the service.|
Actually I am using a custom java path for the SymmDS. Not the one installed in the windows. And in setenv.bat I have set java using "set SYM_JAVA=java_path\bin\java" instead of the following:
if /i NOT "%JAVA_HOME%" == "" set SYM_JAVA=%JAVA_HOME%\bin\java
and in conf/sym_service.conf it is set to wrapper.java.command=java. The same process works fine on Ubuntu-64 bit.
||The sym utility uses setenv, but the sym_service uses conf/sym_service.conf. (The sym utility is meant as an easy command line launcher for testing, while the sym_service is meant for automating the startup and monitoring the main server process.) In order to use the Windows service, you need to configure conf/sym_service.conf with the correct Java to use.|
I have changed wrapper.java.command=java to wrapper.java.command=java_path/bin/java
But still have the same issue. Plus I also have java installed in the windows, so wouldn't it have worked anyway?
I think I misread the error, it's saying the service wrapper is not responding fast enough to control codes. Can you attach the wrapper.log or post its contents here? Maybe that will contain a clue.
What version of Windows are you running? Is it in a cloud VM, like a SkyTap, AWS, or Azure instance? Is there any other detail you can think of that would help me reproduce this?
symmetric-server.properties (1,533 bytes)
Unfortunately there was no log file from wrapper generated in the logs directory.
My windows is locally installed in my laptop. My Windows details are:
Microsoft Windows 7 Professional.
Version 6.1.7601 (Build 7601: Service Pack 1)
THe whole process that I am doing is:
1. Unpack SymmDS
2. Changing the Java path in both setenv script and the sym_service.conf file.
3. copying a node properties file in the engine dir.
4. Chaging "Wrapper Service Properties " in sym_service.conf
5. Configuring the symmetric-server.propeties if the ports are not available.
Then I try to install it as a service in Windows.
with the following process:
1. symmds_path/bin/sym_service.bat install
2. sc start sym_service_name
I am attaching the above mentioned files with the issue.
sym_service.conf (3,302 bytes)
log4j.xml (5,353 bytes)
setenv.bat (1,727 bytes)
sym_service.bat (1,071 bytes)
||If there is no wrapper.log, then it's not able to run the Java process that acts as the service. Is there anything in the Windows Event Log that you can see using Event Viewer? We don't have any reports like this issue and we haven't been able to reproduce it.|
|2016-02-26 07:54||lutful.kabir||New Issue|
|2016-02-26 08:30||elong||Note Added: 0000764|
|2016-02-26 08:52||lutful.kabir||Note Added: 0000765|
|2016-02-26 09:30||elong||Note Added: 0000766|
|2016-02-26 09:39||lutful.kabir||Note Added: 0000767|
|2016-02-26 20:02||elong||Note Added: 0000768|
|2016-02-29 04:48||lutful.kabir||File Added: symmetric-server.properties|
|2016-02-29 04:48||lutful.kabir||Note Added: 0000769|
|2016-02-29 04:49||lutful.kabir||File Added: sym_service.conf|
|2016-02-29 04:49||lutful.kabir||File Added: log4j.xml|
|2016-02-29 04:49||lutful.kabir||File Added: setenv.bat|
|2016-02-29 04:49||lutful.kabir||File Added: sym_service.bat|
|2016-02-29 04:51||lutful.kabir||Note Edited: 0000769||View Revisions|
|2016-02-29 04:56||lutful.kabir||Note Edited: 0000769||View Revisions|
|2019-04-23 16:40||elong||Tag Attached: sym/sym_service|
|2019-05-14 10:29||elong||Status||new => feedback|
|2019-05-14 10:29||elong||Note Added: 0001482|
|2019-08-26 08:49||admin||Assigned To||=> admin|
|2019-08-26 08:49||admin||Status||feedback => closed|
|2019-08-26 08:49||admin||Resolution||open => unable to reproduce|