Ad Widget

Collapse

zabbix server won't start

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elham_jahany
    Junior Member
    • Jan 2017
    • 4

    #1

    zabbix server won't start

    hello

    I compile zabbix 3.2 on centos (with db2)
    when I enable "DBSchema" configuration (in zabbix_server.conf) the zabbix_server can not start.
    I change the debug level of zabbix server to 5 and the result is :

    tail -f /var/log/zabbix_server.log
    4293:20170108:082441.986 In DBcheck_version()
    4293:20170108:082441.986 In DBconnect() flag:0
    4293:20170108:082441.998 query without transaction detected
    4293:20170108:082441.999 query [txnlev:0] [set current schema='ZABBIX']
    4293:20170108:082441.999 End of DBconnect():0
    4293:20170108:082441.999 query [txnlev:0] [select 1 from syscat.tables where tabschema=user and lower(tabname)='dbversion']
    4293:20170108:082442.031 DBcheck_version() "dbversion" does not exist
    4293:20170108:082442.031 query [txnlev:0] [select 1 from syscat.columns where tabschema=user and lower(tabname)='config' and lower(colname)='server_check_interval']
    4293:20170108:082442.051 Cannot upgrade database: the database must correspond to version 2.0 or later. Exiting ...
    4293:20170108:082442.053 End of DBcheck_version():FAIL


    i have no idea about this problem.

    db2 configuration is set and every things is OK and web installation steps is pass but zabbix_server can not start
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    4293:20170108:082442.031 DBcheck_version() "dbversion" does not exist
    This will be an error that the table "dbversion" does not exist.

    Have you made tables and registered initial data?
    The procedure is described in the manual.

    Comment

    • elham_jahany
      Junior Member
      • Jan 2017
      • 4

      #3
      thanks for your reply

      yes
      I imported all of the .sql files in [ZABBIX_SOURCW]/database/ibm_db2/

      Comment

      • elham_jahany
        Junior Member
        • Jan 2017
        • 4

        #4
        import all .sql files

        Originally posted by Atsushi
        This will be an error that the table "dbversion" does not exist.

        Have you made tables and registered initial data?
        The procedure is described in the manual.
        https://www.zabbix.com/documentation...all/db_scripts
        thanks for your reply Old Atsushi
        yes
        I imported all of the scripts in zabbix-3.2/database/ibm_db2/*

        Comment

        Working...