Ad Widget

Collapse

Unable to install frontend: cannot connect to the database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kamval
    Junior Member
    • Apr 2021
    • 4

    #1

    Unable to install frontend: cannot connect to the database

    hello everybody
    I m trying to install zabbix 5.0. i have succeed all the point now i m instaaling the frontend and while configure DB connection i have the error cannot connect to the database. I have look my log file and it show that it connect to the DB.i have check zabbix conf file and everything seems ok.
    8264:20210426:115849.938 Starting Zabbix Server. Zabbix 5.0.10 (revision 7c3f43904c).
    8264:20210426:115849.938 ****** Enabled features ******
    8264:20210426:115849.938 SNMP monitoring: YES
    8264:20210426:115849.938 IPMI monitoring: YES
    8264:20210426:115849.938 Web monitoring: YES
    8264:20210426:115849.938 VMware monitoring: YES
    8264:20210426:115849.938 SMTP authentication: YES
    8264:20210426:115849.938 ODBC: YES
    8264:20210426:115849.938 SSH support: YES
    8264:20210426:115849.938 IPv6 support: YES
    8264:20210426:115849.939 TLS support: YES
    8264:20210426:115849.939 ******************************
    8264:20210426:115849.939 using configuration file: /etc/zabbix/zabbix_server.conf
    8264:20210426:115849.949 current database version (mandatory/optional): 05000000/05000002
    8264:20210426:115849.949 required mandatory version: 05000000
    8264:20210426:115849.969 server #0 started [main process]
    8273:20210426:115849.970 server #1 started [configuration syncer #

    Can somebody help me to troubleshoot
    BR
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    What OS are you using? And how did you build Zabbix environment? Have you installed the PHP extension for database access? Check if there is any output in the PHP environment log.

    Comment

    • kamval
      Junior Member
      • Apr 2021
      • 4

      #3
      Thank u for ur answer

      I m using redhat 7.3
      i have follow this https://www.zabbix.com/fr/download?z...sion=7&db=&ws= tutorial without error
      i have notice during installation that php 7 was installed
      where can i check for php log

      Comment

      • kamval
        Junior Member
        • Apr 2021
        • 4

        #4
        is case of somebody have the same problem . PHP-MYADMIN was not install i have just install it and now everything is ok

        Comment

        Working...