Ad Widget

Collapse

Zabbix 5.0 MySQL don't start

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • propusgemini@gmail.com
    Senior Member
    • Mar 2018
    • 108

    #1

    Zabbix 5.0 MySQL don't start


    OS:Centos 8 minimal
    REPO Zabbix: rpm -Uvh https://repo.zabbix.com/zabbix/4.5/r...el8.noarch.rpm


    [root@localhost ~]# dnf -y install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-agent
    Last metadata expiration check: 0:16:52 ago on Mon 10 Feb 2020 03:53:43 PM CET.
    Package zabbix-server-mysql-5.0.0-0.2alpha1.el8.x86_64 is already installed.
    Package zabbix-web-mysql-5.0.0-0.2alpha1.el8.noarch is already installed.
    Package zabbix-apache-conf-5.0.0-0.2alpha1.el8.noarch is already installed.
    Package zabbix-agent-5.0.0-0.2alpha1.el8.x86_64 is already installed.
    Dependencies resolved.
    Nothing to do.
    Complete!
    [root@localhost ~]# mysql
    -bash: mysql: command not found
    [root@localhost ~]#


    why don't start if it's installed?



    This is my command installation:

    rpm -Uvh https://repo.zabbix.com/zabbix/4.5/r...el8.noarch.rpm
    dnf clean all
    dnf -y install http://mirror.centos.org/centos/8.0....b.1.x86_64.rpm

    dnf -y install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-agent





  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    I recommend you avoid "alpha" packages until you're much more experienced managing Zabbix. If you previously installed a bunch of 5.0.0 alpha packages and you now want to try the released 4.5.x packages, you first need to remove all the zabbix-related 5.0.0-0.2alpha1 packages.

    I recommend you read the remainder of the section on Installing from packages , since you haven't indicated that you've done any of the necessary post-install setup or configuration.

    Comment

    • gert.derouck
      Member
      • Jan 2020
      • 69

      #3
      Hi,

      first of all i second the opinion of Tim...

      About your problem: you probably did not install any mysql (mariadb) server or client packages.
      If you want the database to run on your zabbixserver too, install also the mariadb-server package on it.

      Regards
      Gert

      Comment

      Working...