View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006222 | SymmetricDS | Bug | public | 2024-02-01 17:12 | 2024-02-07 21:45 |
Reporter | ghosh_subhendu | Assigned To | elong | ||
Priority | high | ||||
Status | closed | Resolution | no change required | ||
Product Version | 3.15.2 | ||||
Summary | 0006222: Unable to start Server after Upgrade to 3.15.2 | ||||
Description | [root@on000337 bin]# ./sym_service start Running [systemctl, stop, SymmetricDS] Waiting for server to start Running [systemctl, start, SymmetricDS] systemctl start SymmetricDS Job for SymmetricDS.service failed because the control process exited with error code. See "systemctl status SymmetricDS.service" and "journalctl -xe" for details. Error 8: Server did not start [root@on000337 bin]# ================================================================================== [root@on000337 bin]# systemctl status SymmetricDS.service ● SymmetricDS.service - Database Synchronization Loaded: loaded (/etc/systemd/system/SymmetricDS.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2024-02-01 12:07:56 EST; 45s ago Process: 1174485 ExecStart=/opt/java/bin/java -Djava.io.tmpdir=/app/symmetric-ds/conf/../tmp -jar /app/symmetric-ds/lib/symmetric-wrapper.jar start (c> Main PID: 1579 (code=exited, status=129) Feb 01 12:07:56 on000337.aeo.ae.com systemd[1]: Starting Database Synchronization... Feb 01 12:07:56 on000337.aeo.ae.com java[1174485]: Error: Unable to access jarfile /app/symmetric-ds/lib/symmetric-wrapper.jar Feb 01 12:07:56 on000337.aeo.ae.com systemd[1]: SymmetricDS.service: Control process exited, code=exited status=1 Feb 01 12:07:56 on000337.aeo.ae.com systemd[1]: SymmetricDS.service: Failed with result 'exit-code'. Feb 01 12:07:56 on000337.aeo.ae.com systemd[1]: Failed to start Database Synchronization. [root@on000337 bin]# =============================== This command is using a old java version ExecStart=/opt/java/bin/java -Djava.io.tmpdir=/app/symmetric-ds/conf/../tmp -jar /app/symmetric-ds/lib/symmetric-wrapper.jar start The system is upgraderd fro Java 17 as below [root@on000337 bin]# java -version java version "17.0.10" 2024-01-16 LTS Java(TM) SE Runtime Environment (build 17.0.10+11-LTS-240) Java HotSpot(TM) 64-Bit Server VM (build 17.0.10+11-LTS-240, mixed mode, sharing) Because of this the Server is not starting up | ||||
Tags | No tags attached. | ||||
|
Does "/opt/java/bin/java -version" report Java 17 also? You can edit /etc/systemd/system/SymmetricDS.service and change the path to Java that it uses. It has to be the full absolute path. SymmetricDS 3.15 requires Java 17 or newer. An error message said "Unable to access jarfile /app/symmetric-ds/lib/symmetric-wrapper.jar". Does that file exist or not? If it does exist, then it sounds like a file permission problem. In /etc/systemd/system/SymmetricDS.service it has a line for which user to run the service as. Make sure that user can access the installation directory and files. We usually don't put an issue in this tracker unless we think we've found a bug to fix or an improvement to make. It's better to start on the open source forums (https://sourceforge.net/p/symmetricds/discussion/739236/) or with the commercial support team (https://support.jumpmind.com/) to troubleshoot an issue and determine if a change is needed to the software or not. |
|
Although I have changed the Java Path to point to Java 17 Still the issue persists ● SymmetricDS.service - Database Synchronization Loaded: loaded (/etc/systemd/system/SymmetricDS.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2024-02-05 00:10:25 EST; 4min 25s ago Process: 1313056 ExecStart=/usr/java/default/bin/java -Djava.io.tmpdir=/app/symmetric-ds/conf/../tmp -jar /app/symmetric-ds/lib/symmetric-wrapper.jar start (code=exi> Main PID: 1579 (code=exited, status=129) Feb 05 00:10:25 on000337.aeo.ae.com systemd[1]: Starting Database Synchronization... Feb 05 00:10:25 on000337.aeo.ae.com java[1313056]: Error: Unable to access jarfile /app/symmetric-ds/lib/symmetric-wrapper.jar Feb 05 00:10:25 on000337.aeo.ae.com systemd[1]: SymmetricDS.service: Control process exited, code=exited status=1 Feb 05 00:10:25 on000337.aeo.ae.com systemd[1]: SymmetricDS.service: Failed with result 'exit-code'. Feb 05 00:10:25 on000337.aeo.ae.com systemd[1]: Failed to start Database Synchronization. ============================================================================================================= Java version used is 17 [root@on000337 bin]# /usr/java/default/bin/java -version java version "17.0.10" 2024-01-16 LTS Java(TM) SE Runtime Environment (build 17.0.10+11-LTS-240) Java HotSpot(TM) 64-Bit Server VM (build 17.0.10+11-LTS-240, mixed mode, sharing) [root@on000337 bin]# I am starting the service using the root account ? IS theta correct ? |
|
Linux on000337.aeo.ae.com 4.18.0-477.27.1.el8_8.x86_64 0000001 SMP Thu Aug 31 10:29:22 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux File permissions [root@on000337 bin]# ls -lt /app/symmetric-ds/lib/symmetric-wrapper.jar -rwxr--r-- 1 root root 70948 Dec 15 20:59 /app/symmetric-ds/lib/symmetric-wrapper.jar [root@on000337 bin]# |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-01 17:12 | ghosh_subhendu | New Issue | |
2024-02-02 20:13 | elong | Note Added: 0002407 | |
2024-02-05 05:16 | ghosh_subhendu | Note Added: 0002408 | |
2024-02-05 05:55 | ghosh_subhendu | Note Added: 0002409 | |
2024-02-07 21:45 | elong | Assigned To | => elong |
2024-02-07 21:45 | elong | Status | new => closed |
2024-02-07 21:45 | elong | Resolution | open => no change required |