Ad Widget

Collapse

Zabbix new install - Unable to select configuration.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zabbix@dmin
    Junior Member
    • Aug 2022
    • 1

    #16
    Originally posted by aigars.kadikis

    Sorry, i think i mistyped the log dir. Please try:
    Code:
    cat /var/log/zabbix/zabbix_server.log
    Click image for larger version

Name:	Error DB.png
Views:	2082
Size:	43.3 KB
ID:	450726
    35131:20220826:110645.473 using configuration file: /etc/zabbix/zabbix_server.conf
    35131:20220826:110645.520 cannot use database "zabbix": its "users" table is empty (is this the Zabbix proxy database?)
    35369:20220826:110657.686 Starting Zabbix Server. Zabbix 6.2.1 (revision 2c382976146).


    After Installation started initial configuration.
    But stuck on configure DB connection. Showing error "Unable to connect to the database."

    Comment


    • Atsushi
      Atsushi commented
      Editing a comment
      Have you imported the initial data for Zabbix server?
      ex. RHEL8
      # zcat /usr/share/doc/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix
Working...