Ad Widget

Collapse

zabbix proxy update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ggggsc
    Junior Member
    • Feb 2019
    • 23

    #1

    zabbix proxy update

    Hi, I've got a proxy (v3.4.15),and a server (v4.2.1)
    I want to update my proxy to v4.2.1,but faild.
    I've no idea why, could anyone help me?



    [root@zabbix-proxy06 ~]# /usr/local/zabbix/sbin/zabbix_proxy -V
    zabbix_proxy (Zabbix) 3.4.15

    Revision 86739 12 November 2018, compilation time: Mar 19 2019 10:56:10

    Copyright (C) 2018 Zabbix SIA
    License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it according to
    the license. There is NO WARRANTY, to the extent permitted by law.
    [root@zabbix-proxy06 ~]# systemctl stop zabbix-proxy.service
    [root@zabbix-proxy06 ~]# yum upgrade zabbix-proxy
    已加载插件:fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
    epel/x86_64/metalink | 7.2 kB 00:00:00
    * base: mirrors.cn99.com
    * epel: mirrors.njupt.edu.cn
    * extras: mirrors.cn99.com
    * updates: mirrors.163.com
    base | 3.6 kB 00:00:00
    epel | 4.7 kB 00:00:00
    extras | 3.4 kB 00:00:00
    mysql-connectors-community | 2.5 kB 00:00:00
    mysql-tools-community | 2.5 kB 00:00:00
    mysql56-community | 2.5 kB 00:00:00
    updates | 3.4 kB 00:00:00
    zabbix | 2.9 kB 00:00:00
    zabbix-non-supported | 951 B 00:00:00
    (1/2): epel/x86_64/updateinfo | 999 kB 00:00:00
    (2/2): epel/x86_64/primary_db | 6.7 MB 00:00:01
    No packages marked for update
    [root@zabbix-proxy06 ~]# rpm -Uvh https://repo.zabbix.com/zabbix/4.2/r...el7.noarch.rpm
    获取https://repo.zabbix.com/zabbix/4.2/r...el7.noarch.rpm
    准备中... ################################# [100%]
    软件包 zabbix-release-4.2-1.el7.noarch 已经安装
    [root@zabbix-proxy06 ~]# yum upgrade zabbix-proxy-mysql
    已加载插件:fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
    * base: mirrors.cn99.com
    * epel: mirrors.njupt.edu.cn
    * extras: mirrors.cn99.com
    * updates: mirrors.163.com
    No packages marked for update
    [root@zabbix-proxy06 ~]# yum upgrade zabbix-proxy
    已加载插件:fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
    * base: mirrors.cn99.com
    * epel: mirrors.njupt.edu.cn
    * extras: mirrors.cn99.com
    * updates: mirrors.163.com
    No packages marked for update
    [root@zabbix-proxy06 ~]# /usr/local/zabbix/sbin/zabbix_proxy -V
    zabbix_proxy (Zabbix) 3.4.15

    Revision 86739 12 November 2018, compilation time: Mar 19 2019 10:56:10

    Copyright (C) 2018 Zabbix SIA
    License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it according to
    the license. There is NO WARRANTY, to the extent permitted by law.

  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    After updating the zabbix-release package, try clearing the yum cache once.
    Code:
    # yum clean all

    Comment

    • ggggsc
      Junior Member
      • Feb 2019
      • 23

      #3
      Originally posted by Atsushi
      After updating the zabbix-release package, try clearing the yum cache once.
      Code:
      # yum clean all
      Thanks very much for your suggestion,I tried it, but still the same


      [root@zabbix-proxy06 ~]# rpm -Uvh https://repo.zabbix.com/zabbix/4.2/r...el7.noarch.rpm
      获取https://repo.zabbix.com/zabbix/4.2/r...el7.noarch.rpm
      准备中... ################################# [100%]
      软件包 zabbix-release-4.2-1.el7.noarch 已经安装
      [root@zabbix-proxy06 ~]# yum clean all
      已加载插件:fastestmirror, langpacks
      姝eㄦ?
      玷蒋浠舵杭 base epel extras mysql-connectors-community mysql-tools-community mysql56-community updates zabbix zabbix-non-supported
      ^[[?1;2cCleaning up list of fastest mirrors
      Other repos take up 200 M of disk space (use --verbose for details)
      [root@zabbix-proxy06 ~]# yum upgrade zabbix-proxy-mysql
      已加载插件:fastestmirror, langpacks
      Determining fastest mirrors
      epel/x86_64/metalink | 7.0 kB 00:00:00
      * base: mirrors.nju.edu.cn
      * epel: mirrors.tuna.tsinghua.edu.cn
      * extras: mirrors.njupt.edu.cn
      * updates: mirrors.163.com
      base | 3.6 kB 00:00:00
      epel | 4.7 kB 00:00:00
      extras | 3.4 kB 00:00:00
      mysql-connectors-community | 2.5 kB 00:00:00
      mysql-tools-community | 2.5 kB 00:00:00
      mysql56-community | 2.5 kB 00:00:00
      updates | 3.4 kB 00:00:00
      zabbix | 2.9 kB 00:00:00
      zabbix-non-supported | 951 B 00:00:00
      (1/11): epel/x86_64/group_gz | 88 kB 00:00:00
      (2/11): base/7/x86_64/group_gz | 166 kB 00:00:00
      (3/11): extras/7/x86_64/primary_db | 201 kB 00:00:00
      (4/11): epel/x86_64/primary_db | 6.7 MB 00:00:00
      (5/11): epel/x86_64/updateinfo | 999 kB 00:00:00
      (6/11): base/7/x86_64/primary_db | 6.0 MB 00:00:01
      (7/11): mysql-connectors-community/x86_64/primary_db | 41 kB 00:00:00
      (8/11): mysql-tools-community/x86_64/primary_db | 58 kB 00:00:00
      (9/11): updates/7/x86_64/primary_db | 5.0 MB 00:00:00
      (10/11): zabbix/x86_64/primary_db | 19 kB 00:00:00
      (11/11): mysql56-community/x86_64/primary_db | 226 kB 00:00:01
      zabbix-non-supported/x86_64/primary | 1.6 kB 00:00:00
      zabbix-non-supported 4/4
      No packages marked for update
      [root@zabbix-proxy06 ~]# yum clean all
      已加载插件:fastestmirror, langpacks
      姝eㄦ?
      玷蒋浠舵杭 base epel extras mysql-connectors-community mysql-tools-community mysql56-community updates zabbix zabbix-non-supported
      ^[[?1;2cCleaning up list of fastest mirrors
      Other repos take up 200 M of disk space (use --verbose for details)
      [root@zabbix-proxy06 ~]# yum upgrade zabbix-proxy
      已加载插件:fastestmirror, langpacks
      Determining fastest mirrors
      epel/x86_64/metalink | 6.4 kB 00:00:00
      * base: ftp.sjtu.edu.cn
      * epel: mirrors.yun-idc.com
      * extras: ftp.sjtu.edu.cn
      * updates: mirrors.cn99.com
      base | 3.6 kB 00:00:00
      epel | 4.7 kB 00:00:00
      extras | 3.4 kB 00:00:00
      mysql-connectors-community | 2.5 kB 00:00:00
      mysql-tools-community | 2.5 kB 00:00:00
      mysql56-community | 2.5 kB 00:00:00
      updates | 3.4 kB 00:00:00
      zabbix | 2.9 kB 00:00:00
      zabbix-non-supported | 951 B 00:00:00
      (1/11): base/7/x86_64/group_gz | 166 kB 00:00:00
      (2/11): epel/x86_64/group_gz | 88 kB 00:00:00
      (3/11): extras/7/x86_64/primary_db | 201 kB 00:00:00
      (4/11): base/7/x86_64/primary_db | 6.0 MB 00:00:00
      (5/11): epel/x86_64/updateinfo | 999 kB 00:00:00
      (6/11): epel/x86_64/primary_db | 6.7 MB 00:00:00
      (7/11): mysql-connectors-community/x86_64/primary_db | 41 kB 00:00:00
      (8/11): updates/7/x86_64/primary_db | 5.0 MB 00:00:00
      (9/11): mysql-tools-community/x86_64/primary_db | 58 kB 00:00:01
      (10/11): zabbix/x86_64/primary_db | 19 kB 00:00:00
      (11/11): mysql56-community/x86_64/primary_db | 226 kB 00:00:01
      zabbix-non-supported/x86_64/primary | 1.6 kB 00:00:00
      zabbix-non-supported 4/4
      No packages marked for update

      Comment


      • Atsushi
        Atsushi commented
        Editing a comment
        The command line you executed is incorrect.
        # yum upgrade zabbix-proxy

        Execute the following commands as described in your first post.
        # yum upgrade zabbix-proxy-mysql

        --- added
        I was wrong.
        The Zabbix proxy you are running does not seem to have been installed with the package. The path you have run is:
        /usr/local/zabbix/sbin/zabbix_proxy

        You can not upgrade with the yum command. It may be necessary to do a fresh install from a package or source.
        Last edited by Atsushi; 21-05-2019, 08:24.
    Working...