Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7464

Erro in Zabbix Java Gateway init script

XMLWordPrintable

      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

            kodai Kodai Terashima
            bruno.galindro Bruno Galindro da Costa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: