Exit code

Description

CONFIG_OK=0

Action was performed successfully (start/stop) or Tomcat/Synchronizer is running (status)

SERVICE_RUNNING=0

Action was performed successfully (start/stop) or Tomcat/Synchronizer is running (status)

TOMCAT_RUNNING_CONTEXT_DOWN=3

Tomcat is running, OMN context not responding

SERVICE_NOT_RUNNING=4

Tomcat/Synchronizer is not running

WRONG_SCRIPT_PARAMETER=8

Wrong parameter for script. Allowed: start, stop status, restart

NOT_PERMITTED_BY_THIS_PROCESS=11

Only init.d or systemd are permitted to use the script

JSVC_EXECUTABLE_NOT_FOUND=12

The JSVC executable was not found

DEFAULT_CONFIG_MISSING=13

Default config in /etc/sysconfig/omn.[web|sync] is missing

JAVA_EXECUTABLE_NOT_FOUND=14

No JAVA found

JAVA_IS_WRONG_VERSION=15

Wrong version of JAVA

JDBC_DRIVER_DIR_DOES_NOT_EXIST=16

JDBC driver directory does not exists

NO_JARS_FOUND_JDBC_DIR=17

No JAR files found in JDBC directory

LDAP_CONFIG_MISSING=18

Missing LDAP configuration

UNKNOWN_ISSUE=20

Should not be returned as it is default initialization of return value

SERVICE_ALREADY_RUNNING=21

Tomcat/Synchronizer already running

SERVICE_ALREADY_STOPPED=22

Tomcat/Synchronizer already stopped

Welcome to the AI Chat!

Write a prompt to get started...