Trying to move our running zabbix 3.4.15 installation to a new server three times now
Installed a fresh copy of Zabbix 3.4.15 on Ubuntu Linux 18.04
Shut down the original zabbix server
Exported the database
Imported the database to the new server (takes a really long time)
Start the new zabbix server and
zabbix_server [19765]: ERROR [file:dbconfig.c,line:1999] Something impossible has just happened.
19765:20200102:090603.728 === Backtrace: ===
19765:20200102:090603.729 7: /usr/sbin/zabbix_server(zbx_backtrace+0x44) [0x56490859cd9b]
19765:20200102:090603.729 6: /usr/sbin/zabbix_server(+0xca0f7) [0x56490856f0f7]
19765:20200102:090603.729 5: /usr/sbin/zabbix_server(DCsync_configuration+0x724) [0x5649085757a0]
19765:20200102:090603.729 4: /usr/sbin/zabbix_server(MAIN_ZABBIX_ENTRY+0x5f4) [0x5649084e60a6]
19765:20200102:090603.729 3: /usr/sbin/zabbix_server(daemon_start+0x31f) [0x56490859c4df]
19765:20200102:090603.729 2: /usr/sbin/zabbix_server(main+0x305) [0x5649084e5a9c]
19765:20200102:090603.729 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f93af7a9b97]
19765:20200102:090603.729 0: /usr/sbin/zabbix_server(_start+0x2a) [0x5649084d90fa]
Which from what I read means the database is corrupted.
How do restore the database with out it becoming corrupted?
Installed a fresh copy of Zabbix 3.4.15 on Ubuntu Linux 18.04
Shut down the original zabbix server
Exported the database
Imported the database to the new server (takes a really long time)
Start the new zabbix server and
zabbix_server [19765]: ERROR [file:dbconfig.c,line:1999] Something impossible has just happened.
19765:20200102:090603.728 === Backtrace: ===
19765:20200102:090603.729 7: /usr/sbin/zabbix_server(zbx_backtrace+0x44) [0x56490859cd9b]
19765:20200102:090603.729 6: /usr/sbin/zabbix_server(+0xca0f7) [0x56490856f0f7]
19765:20200102:090603.729 5: /usr/sbin/zabbix_server(DCsync_configuration+0x724) [0x5649085757a0]
19765:20200102:090603.729 4: /usr/sbin/zabbix_server(MAIN_ZABBIX_ENTRY+0x5f4) [0x5649084e60a6]
19765:20200102:090603.729 3: /usr/sbin/zabbix_server(daemon_start+0x31f) [0x56490859c4df]
19765:20200102:090603.729 2: /usr/sbin/zabbix_server(main+0x305) [0x5649084e5a9c]
19765:20200102:090603.729 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f93af7a9b97]
19765:20200102:090603.729 0: /usr/sbin/zabbix_server(_start+0x2a) [0x5649084d90fa]
Which from what I read means the database is corrupted.
How do restore the database with out it becoming corrupted?
Comment