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:
cp /opt/snaplogic/bin/jcc.sh /etc/init.d/snaplex
echo “export SL_ROOT=/opt/snaplogic” >> /etc/sysconfig/jcc
- Add the softlink to chkconfig management as follows:
chkconfig --add snaplex
CentOS Linux release 7.3.1611 (Core)
service snaplex restart
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.
service snaplex status
● 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
Process: 15308 ExecStart=/etc/rc.d/init.d/snaplex start (code=exited, status=3)
Sep 18 22:41:28 dev-gplex02-azr systemd: Starting LSB: Starts Java Component Container…
Sep 18 22:41:28 dev-gplex02-azr snaplex: Checking for java executable: [ OK ]
Sep 18 22:41:28 dev-gplex02-azr snaplex: [91B blob data]
Sep 18 22:41:28 dev-gplex02-azr systemd: snaplex.service: control process exited, code=exited status=3
Sep 18 22:41:28 dev-gplex02-azr systemd: Failed to start LSB: Starts Java Component Container.
Sep 18 22:41:28 dev-gplex02-azr systemd: Unit snaplex.service entered failed state.
Sep 18 22:41:28 dev-gplex02-azr systemd: snaplex.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
systemctl is-enabled snaplex
snaplex.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig snaplex --level=5
BTW, This is my first time looking for support for SnapPlex. Please direct me to a better place to ask questions like this.