-
Incident report
-
Resolution: Fixed
-
Minor
-
2.2.0
-
Ubuntu 12.04 LTS
Java gateway is displaying this error when starts:
- Starting Zabbix java gateway zabbix_java_gateway
start-stop-daemon: --start needs --exec or --startas
Try 'start-stop-daemon --help' for more information.
To solve the problem, I've changed the script:
from:
start-stop-daemon --start -b -m -u zabbix -g zabbix -c zabbix -p $PID_FILE – $DAEMON_ARGS
to:
start-stop-daemon --oknodo --start -m --pidfile $PID_FILE --background --verbose --exec $JAVA – $DAEMON_ARGS