Ad Widget

Collapse

Zabbix Database Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elano95
    Junior Member
    • Jun 2022
    • 3

    #1

    Zabbix Database Error

    Hi everyone,
    I have installed zabbix on my centos machine following these steps:

    Install web server
    Install php
    Install mariadb server
    Create Zabbix DB
    Install Zabbix mysql DB
    Import Zabbix sql file into DB
    Configure Zabbix Server conf file
    Configure Zabbix agent conf file
    Allow firewall port 10051/tcp,10050/tcp
    Selinux must be disable
    reboot your server

    At the end gives me the following error:

    "Please create database manually, and set the configuration parameters for connection to this database. Press "Next step" button when done.
    Cannot connect to the database.
    Details
    Unable to select configuration."

    I have tried everything but gives me the same error.
    Can somebody help?
    Attached Files
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Is your mariadb running automatically after reboot?

    sudo systemctl enable mariadb
    sudo systemctl start mariadb

    Markku

    Comment

    • elano95
      Junior Member
      • Jun 2022
      • 3

      #3
      The DB was running correctly, I fixed it dropping the DB and recreating it. Thanks.

      Comment

      Working...