I upgraded 4.0 LTS to 4.2 on CentOS7.
And, When I accessed GUI by brower, "Configuration" & "Administration" menu does not display on GUI.
*attached screenshot
My upgrade flow was follows.
-------
1.changing repository file(/etc/yum.repos.d/zabbix.repo).
[root@localhost ~]# cat /etc/yum.repos.d/zabbix.repo
[zabbix]
name=Zabbix Official Repository - $basearch
#baseurl=http://repo.zabbix.com/zabbix/4.0/rhel/7/$basearch/
baseurl=http://repo.zabbix.com/zabbix/4.2/rhel/7/$basearch/-----change
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
[zabbix-non-supported]
name=Zabbix Official Repository non-supported - $basearch
baseurl=http://repo.zabbix.com/non-supported/rhel/7/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
gpgcheck=1
2.yum update zabbix-*
[root@localhost ~]# yum update zabbix-*
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* extras: ftp.riken.jp
* updates: ftp.riken.jp
base | 3.6 kB 00:00
.
.
.
.
[root@localhost ~]# rpm -qa | grep zabbix
zabbix-server-mysql-4.2.0-1.el7.x86_64
zabbix-web-mysql-4.2.0-1.el7.noarch
zabbix-web-japanese-4.2.0-1.el7.noarch
zabbix-release-4.2-1.el7.noarch
zabbix-sender-4.2.0-1.el7.x86_64
zabbix-web-4.2.0-1.el7.noarch
zabbix-agent-4.2.0-1.el7.x86_64
[root@localhost ~]# zabbix_server -V
zabbix_server (Zabbix) 4.2.0
Revision 91746 29 March 2019, compilation time: Mar 29 2019 13:20:31
Copyright (C) 2019 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.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).
Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013
Running with OpenSSL 1.0.1e-fips 11 Feb 2013
*******Details:https://opensourcetech.hatenablog.jp...4607836*******
Zabbix server's logs
-------
[root@XYZ ~]# cat /var/log/zabbix/zabbix_server.log
.
.
.
1058:20190410:112453.971 Starting Zabbix Server. Zabbix 4.2.0 (revision 91746).
1058:20190410:112453.984 ****** Enabled features ******
1058:20190410:112453.984 SNMP monitoring: YES
1058:20190410:112453.984 IPMI monitoring: YES
1058:20190410:112453.984 Web monitoring: YES
1058:20190410:112453.984 VMware monitoring: YES
1058:20190410:112453.984 SMTP authentication: YES
1058:20190410:112453.984 Jabber notifications: NO
1058:20190410:112453.984 Ez Texting notifications: YES
1058:20190410:112453.984 ODBC: YES
1058:20190410:112453.984 SSH2 support: YES
1058:20190410:112453.984 IPv6 support: YES
1058:20190410:112453.984 TLS support: YES
1058:20190410:112453.984 ******************************
1058:20190410:112453.984 using configuration file: /etc/zabbix/zabbix_server.conf
1058:20190410:112454.011 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
1058:20190410:112454.011 database is down: reconnecting in 10 seconds
1058:20190410:112505.658 database connection re-established
1058:20190410:112505.673 current database version (mandatory/optional): 04020000/04020000
1058:20190410:112505.673 required mandatory version: 04020000
1058:20190410:112505.938 server #0 started [main process]
1732:20190410:112505.940 server #1 started [configuration syncer #1]
1733:20190410:112505.940 server #2 started [alerter #1]
1735:20190410:112505.941 server #4 started [alerter #3]
1734:20190410:112505.942 server #3 started [alerter #2]
1738:20190410:112505.942 server #7 started [http poller #1]
1739:20190410:112505.943 server #8 started [discoverer #1]
1741:20190410:112505.945 server #9 started [history syncer #1]
1743:20190410:112505.946 server #11 started [history syncer #3]
1744:20190410:112505.947 server #12 started [history syncer #4]
1747:20190410:112505.956 server #13 started [escalator #1]
1736:20190410:112505.957 server #5 started [housekeeper #1]
1737:20190410:112505.958 server #6 started [timer #1]
1742:20190410:112505.958 server #10 started [history syncer #2]
1752:20190410:112505.970 server #17 started [poller #1]
1749:20190410:112505.979 server #14 started [proxy poller #1]
1754:20190410:112505.983 server #19 started [poller #3]
1753:20190410:112505.984 server #18 started [poller #2]
1750:20190410:112505.990 server #15 started [self-monitoring #1]
1755:20190410:112505.991 server #20 started [poller #4]
1751:20190410:112505.992 server #16 started [task manager #1]
1758:20190410:112505.999 server #21 started [poller #5]
1761:20190410:112506.001 server #23 started [trapper #1]
1759:20190410:112506.006 server #22 started [unreachable poller #1]
1762:20190410:112506.007 server #24 started [trapper #2]
1763:20190410:112506.011 server #25 started [trapper #3]
1765:20190410:112506.012 server #27 started [trapper #5]
1764:20190410:112506.022 server #26 started [trapper #4]
1774:20190410:112506.032 server #30 started [preprocessing manager #1]
1776:20190410:112506.034 server #32 started [preprocessing worker #2]
1772:20190410:112506.039 server #28 started [icmp pinger #1]
1778:20190410:112506.042 server #33 started [preprocessing worker #3]
1773:20190410:112506.043 server #29 started [alert manager #1]
1775:20190410:112506.049 server #31 started [preprocessing worker #1]
1779:20190410:112506.051 server #34 started [lld manager #1]
1782:20190410:112506.052 server #36 started [lld worker #2]
1780:20190410:112506.061 server #35 started [lld worker #1]
1736:20190410:115516.480 executing housekeeper
1736:20190410:115517.006 housekeeper [deleted 15691 hist/trends, 0 items/triggers, 10 events, 6 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.522367 sec, idle for 1 hour(s)]
And, When I accessed GUI by brower, "Configuration" & "Administration" menu does not display on GUI.
*attached screenshot
My upgrade flow was follows.
-------
1.changing repository file(/etc/yum.repos.d/zabbix.repo).
[root@localhost ~]# cat /etc/yum.repos.d/zabbix.repo
[zabbix]
name=Zabbix Official Repository - $basearch
#baseurl=http://repo.zabbix.com/zabbix/4.0/rhel/7/$basearch/
baseurl=http://repo.zabbix.com/zabbix/4.2/rhel/7/$basearch/-----change
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
[zabbix-non-supported]
name=Zabbix Official Repository non-supported - $basearch
baseurl=http://repo.zabbix.com/non-supported/rhel/7/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
gpgcheck=1
2.yum update zabbix-*
[root@localhost ~]# yum update zabbix-*
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* extras: ftp.riken.jp
* updates: ftp.riken.jp
base | 3.6 kB 00:00
.
.
.
.
[root@localhost ~]# rpm -qa | grep zabbix
zabbix-server-mysql-4.2.0-1.el7.x86_64
zabbix-web-mysql-4.2.0-1.el7.noarch
zabbix-web-japanese-4.2.0-1.el7.noarch
zabbix-release-4.2-1.el7.noarch
zabbix-sender-4.2.0-1.el7.x86_64
zabbix-web-4.2.0-1.el7.noarch
zabbix-agent-4.2.0-1.el7.x86_64
[root@localhost ~]# zabbix_server -V
zabbix_server (Zabbix) 4.2.0
Revision 91746 29 March 2019, compilation time: Mar 29 2019 13:20:31
Copyright (C) 2019 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.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).
Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013
Running with OpenSSL 1.0.1e-fips 11 Feb 2013
*******Details:https://opensourcetech.hatenablog.jp...4607836*******
Zabbix server's logs
-------
[root@XYZ ~]# cat /var/log/zabbix/zabbix_server.log
.
.
.
1058:20190410:112453.971 Starting Zabbix Server. Zabbix 4.2.0 (revision 91746).
1058:20190410:112453.984 ****** Enabled features ******
1058:20190410:112453.984 SNMP monitoring: YES
1058:20190410:112453.984 IPMI monitoring: YES
1058:20190410:112453.984 Web monitoring: YES
1058:20190410:112453.984 VMware monitoring: YES
1058:20190410:112453.984 SMTP authentication: YES
1058:20190410:112453.984 Jabber notifications: NO
1058:20190410:112453.984 Ez Texting notifications: YES
1058:20190410:112453.984 ODBC: YES
1058:20190410:112453.984 SSH2 support: YES
1058:20190410:112453.984 IPv6 support: YES
1058:20190410:112453.984 TLS support: YES
1058:20190410:112453.984 ******************************
1058:20190410:112453.984 using configuration file: /etc/zabbix/zabbix_server.conf
1058:20190410:112454.011 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
1058:20190410:112454.011 database is down: reconnecting in 10 seconds
1058:20190410:112505.658 database connection re-established
1058:20190410:112505.673 current database version (mandatory/optional): 04020000/04020000
1058:20190410:112505.673 required mandatory version: 04020000
1058:20190410:112505.938 server #0 started [main process]
1732:20190410:112505.940 server #1 started [configuration syncer #1]
1733:20190410:112505.940 server #2 started [alerter #1]
1735:20190410:112505.941 server #4 started [alerter #3]
1734:20190410:112505.942 server #3 started [alerter #2]
1738:20190410:112505.942 server #7 started [http poller #1]
1739:20190410:112505.943 server #8 started [discoverer #1]
1741:20190410:112505.945 server #9 started [history syncer #1]
1743:20190410:112505.946 server #11 started [history syncer #3]
1744:20190410:112505.947 server #12 started [history syncer #4]
1747:20190410:112505.956 server #13 started [escalator #1]
1736:20190410:112505.957 server #5 started [housekeeper #1]
1737:20190410:112505.958 server #6 started [timer #1]
1742:20190410:112505.958 server #10 started [history syncer #2]
1752:20190410:112505.970 server #17 started [poller #1]
1749:20190410:112505.979 server #14 started [proxy poller #1]
1754:20190410:112505.983 server #19 started [poller #3]
1753:20190410:112505.984 server #18 started [poller #2]
1750:20190410:112505.990 server #15 started [self-monitoring #1]
1755:20190410:112505.991 server #20 started [poller #4]
1751:20190410:112505.992 server #16 started [task manager #1]
1758:20190410:112505.999 server #21 started [poller #5]
1761:20190410:112506.001 server #23 started [trapper #1]
1759:20190410:112506.006 server #22 started [unreachable poller #1]
1762:20190410:112506.007 server #24 started [trapper #2]
1763:20190410:112506.011 server #25 started [trapper #3]
1765:20190410:112506.012 server #27 started [trapper #5]
1764:20190410:112506.022 server #26 started [trapper #4]
1774:20190410:112506.032 server #30 started [preprocessing manager #1]
1776:20190410:112506.034 server #32 started [preprocessing worker #2]
1772:20190410:112506.039 server #28 started [icmp pinger #1]
1778:20190410:112506.042 server #33 started [preprocessing worker #3]
1773:20190410:112506.043 server #29 started [alert manager #1]
1775:20190410:112506.049 server #31 started [preprocessing worker #1]
1779:20190410:112506.051 server #34 started [lld manager #1]
1782:20190410:112506.052 server #36 started [lld worker #2]
1780:20190410:112506.061 server #35 started [lld worker #1]
1736:20190410:115516.480 executing housekeeper
1736:20190410:115517.006 housekeeper [deleted 15691 hist/trends, 0 items/triggers, 10 events, 6 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.522367 sec, idle for 1 hour(s)]
Comment