Ad Widget

Collapse

CentOS--> mysql: command not found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vish
    Junior Member
    • Aug 2016
    • 4

    #1

    CentOS--> mysql: command not found

    I am new to Zabbix and this is my first install.
    While following the instructions, I am stuck with mysql: Command not found step.

    Below are the commands run so far. Any suggestions are appreciated.

    [root@acsmonitoring ~]# rpm -ivh http://repo.zabbix.com/zabbix/3.0/rh...el7.noarch.rpm
    Retrieving http://repo.zabbix.com/zabbix/3.0/rh...el7.noarch.rpm
    warning: /var/tmp/rpm-tmp.Vu2pCg: Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEY
    Preparing... ################################# [100%]
    Updating / installing...
    1:zabbix-release-3.0-1.el7 ################################# [100%]
    [root@acsmonitoring ~]# yum install zabbix-server-mysql zabbix-web-mysql
    Loaded plugins: fastestmirror
    base | 3.6 kB 00:00
    extras | 3.4 kB 00:00
    updates | 3.4 kB 00:00
    zabbix | 951 B 00:00
    zabbix-non-supported | 951 B 00:00
    (1/4): extras/7/x86_64/primary_db | 149 kB 00:00
    (2/4): base/7/x86_64/group_gz | 155 kB 00:01
    (3/4): updates/7/x86_64/primary_db | 5.7 MB 00:01
    (4/4): base/7/x86_64/primary_db | 5.3 MB 00:03
    (1/2): zabbix/x86_64/primary | 9.6 kB 00:00
    (2/2): zabbix-non-supported/x86_64/primary | 1.6 kB 00:00
    Determining fastest mirrors
    * base: mirror.oss.ou.edu
    * extras: mirrors.sonic.net
    * updates: centos.host-engine.com
    zabbix 66/66
    zabbix-non-supported 4/4
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-server-mysql.x86_64 0:3.0.4-1.el7 will be installed
    --> Processing Dependency: fping for package: zabbix-server-mysql-3.0.4-1.el7.x86_64
    --> Processing Dependency: libiksemel.so.3()(64bit) for package: zabbix-server-mysql-3.0.4-1.el7.x86_64
    --> Processing Dependency: libnetsnmp.so.31()(64bit) for package: zabbix-server-mysql-3.0.4-1.el7.x86_64
    --> Processing Dependency: libOpenIPMIposix.so.0()(64bit) for package: zabbix-server-mysql-3.0.4-1.el7.x86_64
    --> Processing Dependency: libodbc.so.2()(64bit) for package: zabbix-server-mysql-3.0.4-1.el7.x86_64
    --> Processing Dependency: libOpenIPMI.so.0()(64bit) for package: zabbix-server-mysql-3.0.4-1.el7.x86_64
    ---> Package zabbix-web-mysql.noarch 0:3.0.4-1.el7 will be installed
    --> Processing Dependency: zabbix-web = 3.0.4-1.el7 for package: zabbix-web-mysql-3.0.4-1.el7.noarch
    --> Processing Dependency: php-mysql for package: zabbix-web-mysql-3.0.4-1.el7.noarch
    --> Running transaction check
    ---> Package OpenIPMI-libs.x86_64 0:2.0.19-11.el7 will be installed
    --> Processing Dependency: OpenIPMI-modalias = 2.0.19-11.el7 for package: OpenIPMI-libs-2.0.19-11.el7.x86_64
    ---> Package fping.x86_64 0:3.10-1.el7 will be installed
    ---> Package iksemel.x86_64 0:1.4-2.el7.centos will be installed
    ---> Package net-snmp-libs.x86_64 1:5.7.2-24.el7_2.1 will be installed
    ---> Package php-mysql.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
    --> Processing Dependency: php-pdo(x86-64) = 5.4.16-36.1.el7_2.1 for package: php-mysql-5.4.16-36.1.el7_2.1.x86_64
    ---> Package unixODBC.x86_64 0:2.3.1-11.el7 will be installed
    --> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.1-11.el7.x86_64
    ---> Package zabbix-web.noarch 0:3.0.4-1.el7 will be installed
    --> Processing Dependency: php >= 5.4 for package: zabbix-web-3.0.4-1.el7.noarch
    --> Processing Dependency: php-gd for package: zabbix-web-3.0.4-1.el7.noarch
    --> Processing Dependency: php-mbstring for package: zabbix-web-3.0.4-1.el7.noarch
    --> Processing Dependency: dejavu-sans-fonts for package: zabbix-web-3.0.4-1.el7.noarch
    --> Processing Dependency: php-bcmath for package: zabbix-web-3.0.4-1.el7.noarch
    --> Processing Dependency: httpd for package: zabbix-web-3.0.4-1.el7.noarch
    --> Processing Dependency: php-ldap for package: zabbix-web-3.0.4-1.el7.noarch
    --> Processing Dependency: php-xml for package: zabbix-web-3.0.4-1.el7.noarch
    --> Running transaction check
    ---> Package OpenIPMI-modalias.x86_64 0:2.0.19-11.el7 will be installed
    ---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
    --> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
    ---> Package httpd.x86_64 0:2.4.6-40.el7.centos.4 will be installed
    --> Processing Dependency: httpd-tools = 2.4.6-40.el7.centos.4 for package: httpd-2.4.6-40.el7.centos.4.x86_64
    --> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-40.el7.centos.4.x86_64
    --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-40.el7.centos.4.x86_64
    --> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-40.el7.centos.4.x86_64
    ---> Package libtool-ltdl.x86_64 0:2.4.2-21.el7_2 will be installed
    ---> Package php.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
    --> Processing Dependency: php-common(x86-64) = 5.4.16-36.1.el7_2.1 for package: php-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: php-cli(x86-64) = 5.4.16-36.1.el7_2.1 for package: php-5.4.16-36.1.el7_2.1.x86_64
    ---> Package php-bcmath.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
    ---> Package php-gd.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
    --> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: php-gd-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php-gd-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libpng15.so.15()(64bit) for package: php-gd-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libjpeg.so.62()(64bit) for package: php-gd-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libXpm.so.4()(64bit) for package: php-gd-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libX11.so.6()(64bit) for package: php-gd-5.4.16-36.1.el7_2.1.x86_64
    ---> Package php-ldap.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
    ---> Package php-mbstring.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
    ---> Package php-pdo.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
    ---> Package php-xml.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
    --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php-xml-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php-xml-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php-xml-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php-xml-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php-xml-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libxslt.so.1()(64bit) for package: php-xml-5.4.16-36.1.el7_2.1.x86_64
    --> Processing Dependency: libexslt.so.0()(64bit) for package: php-xml-5.4.16-36.1.el7_2.1.x86_64
    --> Running transaction check
    ---> Package apr.x86_64 0:1.4.8-3.el7 will be installed
    ---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
    ---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
    --> Processing Dependency: fontpackages-filesystem for package: dejavu-fonts-common-2.33-6.el7.noarch
    ---> Package httpd-tools.x86_64 0:2.4.6-40.el7.centos.4 will be installed
    ---> Package libX11.x86_64 0:1.6.3-2.el7 will be installed
    --> Processing Dependency: libX11-common >= 1.6.3-2.el7 for package: libX11-1.6.3-2.el7.x86_64
    --> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.3-2.el7.x86_64
    ---> Package libXpm.x86_64 0:3.5.11-3.el7 will be installed
    ---> Package libjpeg-turbo.x86_64 0:1.2.90-5.el7 will be installed
    ---> Package libpng.x86_64 2:1.5.13-7.el7_2 will be installed
    ---> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed
    ---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
    ---> Package php-cli.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
    ---> Package php-common.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
    --> Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-36.1.el7_2.1.x86_64
    ---> Package t1lib.x86_64 0:5.1.2-14.el7 will be installed
    --> Running transaction check
    ---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
    ---> Package libX11-common.noarch 0:1.6.3-2.el7 will be installed
    ---> Package libxcb.x86_64 0:1.11-4.el7 will be installed
    --> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.11-4.el7.x86_64
    ---> Package libzip.x86_64 0:0.10.1-8.el7 will be installed
    --> Running transaction check
    ---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================== ==============================
    Package Arch Version Repository Size
    ================================================== ==============================
    Installing:
    zabbix-server-mysql x86_64 3.0.4-1.el7 zabbix 1.7 M
    zabbix-web-mysql noarch 3.0.4-1.el7 zabbix 4.0 k
    Installing for dependencies:
    OpenIPMI-libs x86_64 2.0.19-11.el7 base 501 k
    OpenIPMI-modalias x86_64 2.0.19-11.el7 base 15 k
    apr x86_64 1.4.8-3.el7 base 103 k
    apr-util x86_64 1.5.2-6.el7 base 92 k
    dejavu-fonts-common noarch 2.33-6.el7 base 64 k
    dejavu-sans-fonts noarch 2.33-6.el7 base 1.4 M
    fontpackages-filesystem
    noarch 1.44-8.el7 base 9.9 k
    fping x86_64 3.10-1.el7 zabbix-non-supported 40 k
    httpd x86_64 2.4.6-40.el7.centos.4 updates 2.7 M
    httpd-tools x86_64 2.4.6-40.el7.centos.4 updates 83 k
    iksemel x86_64 1.4-2.el7.centos zabbix-non-supported 49 k
    libX11 x86_64 1.6.3-2.el7 base 605 k
    libX11-common noarch 1.6.3-2.el7 base 162 k
    libXau x86_64 1.0.8-2.1.el7 base 29 k
    libXpm x86_64 3.5.11-3.el7 base 54 k
    libjpeg-turbo x86_64 1.2.90-5.el7 base 134 k
    libpng x86_64 2:1.5.13-7.el7_2 updates 213 k
    libtool-ltdl x86_64 2.4.2-21.el7_2 updates 49 k
    libxcb x86_64 1.11-4.el7 base 189 k
    libxslt x86_64 1.1.28-5.el7 base 242 k
    libzip x86_64 0.10.1-8.el7 base 48 k
    mailcap noarch 2.1.41-2.el7 base 31 k
    net-snmp-libs x86_64 1:5.7.2-24.el7_2.1 updates 747 k
    php x86_64 5.4.16-36.1.el7_2.1 updates 1.4 M
    php-bcmath x86_64 5.4.16-36.1.el7_2.1 updates 56 k
    php-cli x86_64 5.4.16-36.1.el7_2.1 updates 2.7 M
    php-common x86_64 5.4.16-36.1.el7_2.1 updates 563 k
    php-gd x86_64 5.4.16-36.1.el7_2.1 updates 126 k
    php-ldap x86_64 5.4.16-36.1.el7_2.1 updates 51 k
    php-mbstring x86_64 5.4.16-36.1.el7_2.1 updates 503 k
    php-mysql x86_64 5.4.16-36.1.el7_2.1 updates 99 k
    php-pdo x86_64 5.4.16-36.1.el7_2.1 updates 97 k
    php-xml x86_64 5.4.16-36.1.el7_2.1 updates 124 k
    t1lib x86_64 5.1.2-14.el7 base 166 k
    unixODBC x86_64 2.3.1-11.el7 base 413 k
    zabbix-web noarch 3.0.4-1.el7 zabbix 3.4 M

    Transaction Summary
    ================================================== ==============================
    Install 2 Packages (+36 Dependent packages)

    Total download size: 19 M
    Installed size: 79 M
    Is this ok [y/d/N]: y
    Downloading packages:
    (1/38): OpenIPMI-modalias-2.0.19-11.el7.x86_64.rpm | 15 kB 00:00
    (2/38): apr-1.4.8-3.el7.x86_64.rpm | 103 kB 00:00
    (3/38): OpenIPMI-libs-2.0.19-11.el7.x86_64.rpm | 501 kB 00:00
    (4/38): apr-util-1.5.2-6.el7.x86_64.rpm | 92 kB 00:00
    (5/38): dejavu-fonts-common-2.33-6.el7.noarch.rpm | 64 kB 00:00
    warning: /var/cache/yum/x86_64/7/zabbix-non-supported/packages/fping-3.10-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEY
    Public key for fping-3.10-1.el7.x86_64.rpm is not installed
    (6/38): fping-3.10-1.el7.x86_64.rpm | 40 kB 00:00
    (7/38): fontpackages-filesystem-1.44-8.el7.noarch.rpm | 9.9 kB 00:00
    (8/38): iksemel-1.4-2.el7.centos.x86_64.rpm | 49 kB 00:00
    (9/38): httpd-tools-2.4.6-40.el7.centos.4.x86_64.rpm | 83 kB 00:00
    (10/38): libX11-common-1.6.3-2.el7.noarch.rpm | 162 kB 00:00
    (11/38): libXpm-3.5.11-3.el7.x86_64.rpm | 54 kB 00:00
    (12/38): libXau-1.0.8-2.1.el7.x86_64.rpm | 29 kB 00:00
    (13/38): httpd-2.4.6-40.el7.centos.4.x86_64.rpm | 2.7 MB 00:00
    (14/38): libtool-ltdl-2.4.2-21.el7_2.x86_64.rpm | 49 kB 00:00
    (15/38): libjpeg-turbo-1.2.90-5.el7.x86_64.rpm | 134 kB 00:00
    (16/38): libpng-1.5.13-7.el7_2.x86_64.rpm | 213 kB 00:00
    (17/38): libX11-1.6.3-2.el7.x86_64.rpm | 605 kB 00:00
    (18/38): libxslt-1.1.28-5.el7.x86_64.rpm | 242 kB 00:00
    (19/38): dejavu-sans-fonts-2.33-6.el7.noarch.rpm | 1.4 MB 00:00
    (20/38): net-snmp-libs-5.7.2-24.el7_2.1.x86_64.rpm | 747 kB 00:00
    (21/38): php-bcmath-5.4.16-36.1.el7_2.1.x86_64.rpm | 56 kB 00:00
    (22/38): mailcap-2.1.41-2.el7.noarch.rpm | 31 kB 00:00
    (23/38): libzip-0.10.1-8.el7.x86_64.rpm | 48 kB 00:00
    (24/38): php-cli-5.4.16-36.1.el7_2.1.x86_64.rpm | 2.7 MB 00:00
    (25/38): libxcb-1.11-4.el7.x86_64.rpm | 189 kB 00:00
    (26/38): php-common-5.4.16-36.1.el7_2.1.x86_64.rpm | 563 kB 00:00
    (27/38): php-gd-5.4.16-36.1.el7_2.1.x86_64.rpm | 126 kB 00:00
    (28/38): php-ldap-5.4.16-36.1.el7_2.1.x86_64.rpm | 51 kB 00:00
    (29/38): php-5.4.16-36.1.el7_2.1.x86_64.rpm | 1.4 MB 00:00
    (30/38): php-mbstring-5.4.16-36.1.el7_2.1.x86_64.rpm | 503 kB 00:00
    (31/38): php-mysql-5.4.16-36.1.el7_2.1.x86_64.rpm | 99 kB 00:00
    (32/38): php-pdo-5.4.16-36.1.el7_2.1.x86_64.rpm | 97 kB 00:00
    (33/38): php-xml-5.4.16-36.1.el7_2.1.x86_64.rpm | 124 kB 00:00
    Public key for zabbix-server-mysql-3.0.4-1.el7.x86_64.rpm is not installed
    (34/38): zabbix-server-mysql-3.0.4-1.el7.x86_64.rpm | 1.7 MB 00:00
    (35/38): zabbix-web-mysql-3.0.4-1.el7.noarch.rpm | 4.0 kB 00:00
    (36/38): t1lib-5.1.2-14.el7.x86_64.rpm | 166 kB 00:00
    (37/38): unixODBC-2.3.1-11.el7.x86_64.rpm | 413 kB 00:00
    (38/38): zabbix-web-3.0.4-1.el7.noarch.rpm | 3.4 MB 00:04
    --------------------------------------------------------------------------------
    Total 2.8 MB/s | 19 MB 00:06
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
    Importing GPG key 0x79EA5ED4:
    Userid : "Zabbix SIA <[email protected]>"
    Fingerprint: fbab d5fb 2025 5eca b22e e194 d13d 58e4 79ea 5ed4
    Package : zabbix-release-3.0-1.el7.noarch (installed)
    From : /etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
    Is this ok [y/N]: y
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Warning: RPMDB altered outside of yum.
    Installing : apr-1.4.8-3.el7.x86_64 1/38
    Installing : apr-util-1.5.2-6.el7.x86_64 2/38
    Installing : httpd-tools-2.4.6-40.el7.centos.4.x86_64 3/38
    Installing : 1:net-snmp-libs-5.7.2-24.el7_2.1.x86_64 4/38
    Installing : libzip-0.10.1-8.el7.x86_64 5/38
    Installing : php-common-5.4.16-36.1.el7_2.1.x86_64 6/38
    Installing : php-ldap-5.4.16-36.1.el7_2.1.x86_64 7/38
    Installing : php-bcmath-5.4.16-36.1.el7_2.1.x86_64 8/38
    Installing : php-mbstring-5.4.16-36.1.el7_2.1.x86_64 9/38
    Installing : php-pdo-5.4.16-36.1.el7_2.1.x86_64 10/38
    Installing : php-mysql-5.4.16-36.1.el7_2.1.x86_64 11/38
    Installing : php-cli-5.4.16-36.1.el7_2.1.x86_64 12/38
    Installing : iksemel-1.4-2.el7.centos.x86_64 13/38
    Installing : libXau-1.0.8-2.1.el7.x86_64 14/38
    Installing : libxcb-1.11-4.el7.x86_64 15/38
    Installing : libxslt-1.1.28-5.el7.x86_64 16/38
    Installing : php-xml-5.4.16-36.1.el7_2.1.x86_64 17/38
    Installing : libtool-ltdl-2.4.2-21.el7_2.x86_64 18/38
    Installing : unixODBC-2.3.1-11.el7.x86_64 19/38
    Installing : libX11-common-1.6.3-2.el7.noarch 20/38
    Installing : libX11-1.6.3-2.el7.x86_64 21/38
    Installing : t1lib-5.1.2-14.el7.x86_64 22/38
    Installing : libXpm-3.5.11-3.el7.x86_64 23/38
    Installing : mailcap-2.1.41-2.el7.noarch 24/38
    Installing : httpd-2.4.6-40.el7.centos.4.x86_64 25/38
    Installing : php-5.4.16-36.1.el7_2.1.x86_64 26/38
    Installing : OpenIPMI-modalias-2.0.19-11.el7.x86_64 27/38
    Installing : OpenIPMI-libs-2.0.19-11.el7.x86_64 28/38
    Installing : fontpackages-filesystem-1.44-8.el7.noarch 29/38
    Installing : dejavu-fonts-common-2.33-6.el7.noarch 30/38
    Installing : dejavu-sans-fonts-2.33-6.el7.noarch 31/38
    Installing : 2:libpng-1.5.13-7.el7_2.x86_64 32/38
    Installing : libjpeg-turbo-1.2.90-5.el7.x86_64 33/38
    Installing : php-gd-5.4.16-36.1.el7_2.1.x86_64 34/38
    Installing : zabbix-web-mysql-3.0.4-1.el7.noarch 35/38
    Installing : zabbix-web-3.0.4-1.el7.noarch 36/38
    Installing : fping-3.10-1.el7.x86_64 37/38
    Installing : zabbix-server-mysql-3.0.4-1.el7.x86_64 38/38
    Verifying : fping-3.10-1.el7.x86_64 1/38
    Verifying : libjpeg-turbo-1.2.90-5.el7.x86_64 2/38
    Verifying : zabbix-web-3.0.4-1.el7.noarch 3/38
    Verifying : php-mysql-5.4.16-36.1.el7_2.1.x86_64 4/38
    Verifying : zabbix-server-mysql-3.0.4-1.el7.x86_64 5/38
    Verifying : 2:libpng-1.5.13-7.el7_2.x86_64 6/38
    Verifying : fontpackages-filesystem-1.44-8.el7.noarch 7/38
    Verifying : php-xml-5.4.16-36.1.el7_2.1.x86_64 8/38
    Verifying : php-ldap-5.4.16-36.1.el7_2.1.x86_64 9/38
    Verifying : OpenIPMI-libs-2.0.19-11.el7.x86_64 10/38
    Verifying : apr-1.4.8-3.el7.x86_64 11/38
    Verifying : libX11-1.6.3-2.el7.x86_64 12/38
    Verifying : dejavu-fonts-common-2.33-6.el7.noarch 13/38
    Verifying : t1lib-5.1.2-14.el7.x86_64 14/38
    Verifying : httpd-2.4.6-40.el7.centos.4.x86_64 15/38
    Verifying : OpenIPMI-modalias-2.0.19-11.el7.x86_64 16/38
    Verifying : mailcap-2.1.41-2.el7.noarch 17/38
    Verifying : libX11-common-1.6.3-2.el7.noarch 18/38
    Verifying : libtool-ltdl-2.4.2-21.el7_2.x86_64 19/38
    Verifying : unixODBC-2.3.1-11.el7.x86_64 20/38
    Verifying : libxslt-1.1.28-5.el7.x86_64 21/38
    Verifying : php-bcmath-5.4.16-36.1.el7_2.1.x86_64 22/38
    Verifying : php-mbstring-5.4.16-36.1.el7_2.1.x86_64 23/38
    Verifying : php-gd-5.4.16-36.1.el7_2.1.x86_64 24/38
    Verifying : dejavu-sans-fonts-2.33-6.el7.noarch 25/38
    Verifying : php-pdo-5.4.16-36.1.el7_2.1.x86_64 26/38
    Verifying : libXpm-3.5.11-3.el7.x86_64 27/38
    Verifying : libXau-1.0.8-2.1.el7.x86_64 28/38
    Verifying : httpd-tools-2.4.6-40.el7.centos.4.x86_64 29/38
    Verifying : iksemel-1.4-2.el7.centos.x86_64 30/38
    Verifying : zabbix-web-mysql-3.0.4-1.el7.noarch 31/38
    Verifying : php-cli-5.4.16-36.1.el7_2.1.x86_64 32/38
    Verifying : libzip-0.10.1-8.el7.x86_64 33/38
    Verifying : php-5.4.16-36.1.el7_2.1.x86_64 34/38
    Verifying : 1:net-snmp-libs-5.7.2-24.el7_2.1.x86_64 35/38
    Verifying : php-common-5.4.16-36.1.el7_2.1.x86_64 36/38
    Verifying : apr-util-1.5.2-6.el7.x86_64 37/38
    Verifying : libxcb-1.11-4.el7.x86_64 38/38

    Installed:
    zabbix-server-mysql.x86_64 0:3.0.4-1.el7
    zabbix-web-mysql.noarch 0:3.0.4-1.el7

    Dependency Installed:
    OpenIPMI-libs.x86_64 0:2.0.19-11.el7
    OpenIPMI-modalias.x86_64 0:2.0.19-11.el7
    apr.x86_64 0:1.4.8-3.el7
    apr-util.x86_64 0:1.5.2-6.el7
    dejavu-fonts-common.noarch 0:2.33-6.el7
    dejavu-sans-fonts.noarch 0:2.33-6.el7
    fontpackages-filesystem.noarch 0:1.44-8.el7
    fping.x86_64 0:3.10-1.el7
    httpd.x86_64 0:2.4.6-40.el7.centos.4
    httpd-tools.x86_64 0:2.4.6-40.el7.centos.4
    iksemel.x86_64 0:1.4-2.el7.centos
    libX11.x86_64 0:1.6.3-2.el7
    libX11-common.noarch 0:1.6.3-2.el7
    libXau.x86_64 0:1.0.8-2.1.el7
    libXpm.x86_64 0:3.5.11-3.el7
    libjpeg-turbo.x86_64 0:1.2.90-5.el7
    libpng.x86_64 2:1.5.13-7.el7_2
    libtool-ltdl.x86_64 0:2.4.2-21.el7_2
    libxcb.x86_64 0:1.11-4.el7
    libxslt.x86_64 0:1.1.28-5.el7
    libzip.x86_64 0:0.10.1-8.el7
    mailcap.noarch 0:2.1.41-2.el7
    net-snmp-libs.x86_64 1:5.7.2-24.el7_2.1
    php.x86_64 0:5.4.16-36.1.el7_2.1
    php-bcmath.x86_64 0:5.4.16-36.1.el7_2.1
    php-cli.x86_64 0:5.4.16-36.1.el7_2.1
    php-common.x86_64 0:5.4.16-36.1.el7_2.1
    php-gd.x86_64 0:5.4.16-36.1.el7_2.1
    php-ldap.x86_64 0:5.4.16-36.1.el7_2.1
    php-mbstring.x86_64 0:5.4.16-36.1.el7_2.1
    php-mysql.x86_64 0:5.4.16-36.1.el7_2.1
    php-pdo.x86_64 0:5.4.16-36.1.el7_2.1
    php-xml.x86_64 0:5.4.16-36.1.el7_2.1
    t1lib.x86_64 0:5.1.2-14.el7
    unixODBC.x86_64 0:2.3.1-11.el7
    zabbix-web.noarch 0:3.0.4-1.el7

    Complete!
    [root@acsmonitoring ~]# cd /usr/share/doc/zabbix-server-mysql-3.0.0
    -bash: cd: /usr/share/doc/zabbix-server-mysql-3.0.0: No such file or directory
    [root@acsmonitoring doc]# cd zabbix-
    zabbix-release-3.0/ zabbix-web-3.0.4/
    zabbix-server-mysql-3.0.4/
    [root@acsmonitoring doc]# cd zabbix-server-mysql-3.0.4/
    [root@acsmonitoring zabbix-server-mysql-3.0.4]# ls
    AUTHORS ChangeLog COPYING create.sql.gz NEWS README
    [root@acsmonitoring zabbix-server-mysql-3.0.4]# zcat create.sql.gz | mysql -uroot zabbix
    -bash: mysql: command not found
    [root@acsmonitoring doc]# service mysqld start
    Redirecting to /bin/systemctl start mysqld.service
    Failed to start mysqld.service: Unit mysqld.service failed to load: No such file or directory.
    [root@acsmonitoring doc]# rpm -qa | grep -i mysql
    php-mysql-5.4.16-36.1.el7_2.1.x86_64
    zabbix-web-mysql-3.0.4-1.el7.noarch
    zabbix-server-mysql-3.0.4-1.el7.x86_64
    [root@acsmonitoring doc]# sudo service mysqld start
    Redirecting to /bin/systemctl start mysqld.service
    Failed to start mysqld.service: Unit mysqld.service failed to load: No such file or directory.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    You must install client and server module for MariaDB or MySQL.

    If you want to use standard package for CentOS 7, it will use mariadb.

    ex.
    Code:
    # yum install mariadb-server
    # systemctl start mariadb
    # systemctl enable mariadb
    If you want to use MySQL, you must download from MySQL Community site.
    http://dev.mysql.com/downloads/mysql/

    Comment

    • vish
      Junior Member
      • Aug 2016
      • 4

      #3
      It worked ! Yay!
      Perfect, Thanks.

      Comment

      • vish
        Junior Member
        • Aug 2016
        • 4

        #4
        Thanks a lot ! That worked. Yay!
        I got it installed, but then the browser is saying "Zabbix server is not running: Information displayed may not be current." in yellow as a footer for the page.

        I followed the steps on https://www.zabbix.com/documentation..._from_packages and
        [root@acsmonitoring zabbix-server-mysql-3.0.4]# zcat create.sql.gz | mysql -uroot zabbix
        [root@acsmonitoring zabbix-server-mysql-3.0.4]# vi /etc/zabbix/zabbix_server.conf
        [root@acsmonitoring zabbix-server-mysql-3.0.4]# systemctl start zabbix-server
        [root@acsmonitoring zabbix-server-mysql-3.0.4]# vi /etc/httpd/conf.d/zabbix.conf
        [root@acsmonitoring zabbix-server-mysql-3.0.4]# systemctl start httpd
        [root@acsmonitoring zabbix-server-mysql-3.0.4]#

        Am I missing any step?
        Attached Files

        Comment

        • vish
          Junior Member
          • Aug 2016
          • 4

          #5
          Never mind, It worked after the command below:
          systemctl status zabbix-server

          Comment

          Working...