09-19-2018 09:48 AM
Using the following procedure, Im unable to have the service stop/start [FAILED]. Suggestions?
To add the Snaplex as a Service:
Login to the Linux machine as root.
Create a copy of jcc.sh file as follows:
CentOS Linux release 7.3.1611 (Core)
Restarting snaplex (via systemctl): Job for snaplex.service failed because the control process exited with error code. See “systemctl status snaplex.service” and “journalctl -xe” for details.
[FAILED]
● snaplex.service - LSB: Starts Java Component Container
Loaded: loaded (/etc/rc.d/init.d/snaplex; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-09-18 22:41:28 UTC; 42s ago
Docs: man:systemd-sysv-generator(8)
Process: 15308 ExecStart=/etc/rc.d/init.d/snaplex start (code=exited, status=3)
Sep 18 22:41:28 dev-gplex02-azr systemd[1]: Starting LSB: Starts Java Component Container…
Sep 18 22:41:28 dev-gplex02-azr snaplex[15308]: Checking for java executable: [ OK ]
Sep 18 22:41:28 dev-gplex02-azr snaplex[15308]: [91B blob data]
Sep 18 22:41:28 dev-gplex02-azr systemd[1]: snaplex.service: control process exited, code=exited status=3
Sep 18 22:41:28 dev-gplex02-azr systemd[1]: Failed to start LSB: Starts Java Component Container.
Sep 18 22:41:28 dev-gplex02-azr systemd[1]: Unit snaplex.service entered failed state.
Sep 18 22:41:28 dev-gplex02-azr systemd[1]: snaplex.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
snaplex.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig snaplex --level=5
enabled
BTW, This is my first time looking for support for SnapPlex. Please direct me to a better place to ask questions like this.
09-19-2018 10:29 PM
The monitor process seems to failing to start due to some configuration error. /opt/snaplogic/run/log/monitor.log
would be the log file to check the cause. If that file is not created, then adding an entry
set -x
as the second line in /etc/init.d/snaplex
and then doing the service snaplex restart
should generate additional logging information on the console.
If that does not help, you can take a tar of the /opt/snaplogic/run/log
folder and email to support@snaplogic.com
for further help.
Running with invalid version of bash or zip would be one possible cause. /bin/bash --version
and /usr/bin/zip --version
would indicate the version.