Ad Widget

Collapse

"dbtype is not set" error coming on webpage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Asjad
    Junior Member
    • Apr 2020
    • 4

    #1

    "dbtype is not set" error coming on webpage

    Hello,

    I am trying to build separate frontend server for zabbix 4.0 but Im getting error on my webpage that "dbtype is not set". Please help!

    Below is my configuration on webpage:

    [root@zabbixfe1 conf.d]# cat /etc/zabbix/web/zabbix.conf.php
    $DB['TYPE'] = 'MYSQL';
    $DB['SERVER'] = '172.31.31.58'; <------Zabbix core server IP
    $DB['PORT'] = '3306';
    $DB['DATABASE'] = 'zabbix';
    $DB['USER'] = 'zabbix';
    $DB['PASSWORD'] = 'zabbix123';
    ...
    $ZBX_SERVER = '172.31.31.59'; <-----Zabbix MySQL server IP
    $ZBX_SERVER_PORT = '10051';
    $ZBX_SERVER_NAME = '';

    Below are my zabbix core server configuration:
    # cat /etc/zabbix/zabbix-server.conf
    SourceIP=172.31.31.59 #zabbixcoreIP
    DBHost=172.31.31.58 #zabbixmysqlIP
    DBName=zabbix
    DBUser=zabbix
    DBPassword=zabbix123
    Attached Files
    Last edited by Asjad; 13-05-2020, 20:36.
  • martinosuna
    Junior Member
    • Jan 2020
    • 1

    #2
    Hi Asjad,
    I was wondering if you were able to fix this up. I'm facing the same problem with Zabbix 5 on Centos 7 and maybe if you found out a workaround would save me some time as well.
    Thanks in advance!

    Comment

    Working...