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

zabbix-java-gateway not work after upgrade 1:5.0.4-1 -> 1:5.0.5-1

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 5.0.4, 5.0.5rc1
    • None
    • Java gateway (J)
    • debian 9

    Description

      after upgrade packages zabbix-java-gateway has stopped working

      log upgrade:
      2020-10-26 21:01:44 upgrade zabbix-java-gateway:all 1:5.0.4-1+stretch 1:5.0.5-1+stretch

      the zabbix-java-gateway service started giving an error:

      invoke-rc.d: initscript zabbix-java-gateway, action "start" failed.
      ● zabbix-java-gateway.service - Zabbix Java Gateway
      Loaded: loaded (/lib/systemd/system/zabbix-java-gateway.service; enabled; vendor preset: enabled)
      Active: failed (Result: exit-code) since Tue 2020-10-27 03:32:15 MSK; 7ms ago
      Process: 5335 ExecStart=/usr/sbin/zabbix_java_gateway (code=exited, status=1/FAILURE)
      Main PID: 664 (code=exited, status=143)
      CPU: 176ms

      Oct 27 03:32:15 dev.mineland.local systemd[1]: Starting Zabbix Java Gateway...
      Oct 27 03:32:15 dev.mineland.local zabbix_java_gateway[5335]: Error: Could not find or load main class com.zabbix.gateway.JavaGateway
      Oct 27 03:32:15 dev.mineland.local zabbix_java_gateway[5335]: Zabbix Java Gateway did not start
      Oct 27 03:32:15 dev.mineland.local systemd[1]: zabbix-java-gateway.service: Control process exited, code=exited status=1
      Oct 27 03:32:15 dev.mineland.local systemd[1]: Failed to start Zabbix Java Gateway.
      Oct 27 03:32:15 dev.mineland.local systemd[1]: zabbix-java-gateway.service: Unit entered failed state.
      Oct 27 03:32:15 dev.mineland.local systemd[1]: zabbix-java-gateway.service: Failed with result 'exit-code'.

      i tried reinstalling zabbix-java-gateway and it doesn't solve the problem, same error

      I seem to understand the essence of the problem, the fact is that for some reason in the package update 1:5.0.5-1 there is no jar in the /usr/share/zabbix-java-gateway/bin folder, this folder is now empty for me

      /usr/share/zabbix-java-gateway/
      ├── bin
      └── lib
      ├── android-json-4.3_r3.1.jar
      ├── logback-classic-0.9.27.jar
      ├── logback-core-0.9.27.jar
      ├── README
      └── slf4j-api-1.6.1.jar

      2 directories, 5 files

      sorry for my English

      Attachments

        Issue Links

          Activity

            People

              zabbix.support Zabbix Support Team
              lokha Kovalchuk Oleksii
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: