Ad Widget

Collapse

Zabbix server is not running: the information displayed may not be... (split servers)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jaceqp
    Junior Member
    • Mar 2026
    • 18

    #1

    Zabbix server is not running: the information displayed may not be... (split servers)

    Hi there.
    I'm trying to troubleshoot my split zabbix environment. I've had everything up'n'running on all-in-one zabbix srv. Then I created separate servers for frontend and DB, created empty DB and restored backup into it. I guess I tweaked all conf files as expected, reconfigured GUI using IP/zabbix/config.php - went smoothly, no issues connecting to DB...
    Click image for larger version  Name:	image.png Views:	0 Size:	11.3 KB ID:	512565
    Anything else to check?

    zabbix 7.4.2 + postgresql 17


    PS. Here's some issue connecting to DB in logs (kinda weired since gui configurator shows no issues):
    Code:
    801:20260410:100002.350 database is down: reconnecting in 10 seconds
    801:20260410:100012.366 [Z3001] connection to database 'zabbix' failed: [0] FATAL:  password authentication failed for user "zabbix"
    Last edited by Jaceqp; 10-04-2026, 10:18.
  • Jaceqp
    Junior Member
    • Mar 2026
    • 18

    #2
    Allright first update... It seems I had a typo in zabbix_server.conf in db password.
    Now /var/log/zabbix/zabbix_server.log shows something new:

    Code:
    5545:20260410:102910.144 cannot use database "zabbix": database is not a Zabbix database
    5620:20260410:102922.357 Starting Zabbix Server. Zabbix 7.4.2 (revision 7aa4e0782fe).
    5620:20260410:102922.357 ****** Enabled features ******
    5620:20260410:102922.357 SNMP monitoring: YES
    5620:20260410:102922.358 IPMI monitoring: YES
    5620:20260410:102922.358 Web monitoring: YES
    5620:20260410:102922.358 VMware monitoring: YES
    5620:20260410:102922.358 SMTP authentication: YES
    5620:20260410:102922.358 ODBC: YES
    5620:20260410:102922.358 SSH support: YES
    5620:20260410:102922.358 IPv6 support: YES
    5620:20260410:102922.358 TLS support: YES
    5620:20260410:102922.358 ******************************
    5620:20260410:102922.358 using configuration file: /etc/zabbix/zabbix_server.conf
    5620:20260410:102922.384 [Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR: relation "users" does not exist
    LINE 1: select userid from users limit 1
    ^
    [select userid from users limit 1]

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4906

      #3
      verify that your db restore succeeded... seems like you have empty DB there...

      Comment

      • Jaceqp
        Junior Member
        • Mar 2026
        • 18

        #4
        What I did was:

        - create local db dump (downer server):
        Code:
        # pg_dump -h [ZABBIX SERVER] -U [ZABBIX DB USER] > /tmp/zabbix_dump.sql
        - moved dump file to destination server
        - removed all temporary/test zabbix postgres DB's using 'drop database xxx'
        - created new empty DB named zabbix:
        Code:
        postgres=# create database zabbix;
        - restored dump file on a DB:
        Code:
        # sudo -u postgres psql -dzabbix -f /tmp/zabbix_dump.sql
        - restarted all related services like zabbix-server, agent, postgresql etc.
        - using http://zabbix-server-ip/zabbix/setup.php reconfigured initial setup (went flawlessly connecting to DB zabbix).
        Web gui loads, login screen accepts credentials (assuming stored in DB anyway), I can see created custom dashboards, maps etc yet with warning 'zabix server is not running' at the bottom...
        What am I missing?

        Click image for larger version

Name:	image.png
Views:	8
Size:	16.9 KB
ID:	513062

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4906

          #5
          If you split up a all-in-one server to 3 separate ones (db, frontend, server), then you are probably missing a connection from frontend server to zabbix server 10051 port.. Frontend does verify, if backend is running..

          Comment

          Working...