Hi,
I am running two Zabbix servers (1.8.14 - Ubuntu 12.04, database engine is MySQL) and after some time I have decided to switch my setup to the distributed setup. I gave an ID of 1 and 2 to my nodes and then ran (on both nodes)
just as the docs say. It goes on for about an hour or so then fails with the following message :
The zabbix_server.log doesn't say anything about the whole process, even though I have upped the Debug value to 4.
I tried this with the main zabbix_server service running as well as stopped, but it still fails in either case.
The Web GUI still says my setup is not configured for distributed monitoring and no event is received anymore by the nodes.
So I can't seem to be able to rollback the changes that have been made and yet I can't complete the switch to the distributed setup.
Is there any way I can manually update what needs to be updated in the database directly and resume monitoring tasks, or at the very least roll back to the previous situation (two autonomous servers) ?
Thanks in advance
I am running two Zabbix servers (1.8.14 - Ubuntu 12.04, database engine is MySQL) and after some time I have decided to switch my setup to the distributed setup. I gave an ID of 1 and 2 to my nodes and then ran (on both nodes)
Code:
zabbix_server -n 2 -c /etc/zabbix/zabbix_server.conf zabbix_server -n 1 -c /etc/zabbix/zabbix_server.conf
Code:
Converting tables ..........................zabbix_server [27880]: Error: [Z3005] query failed: [1062] Duplicate entry '200000000000001' for key 'PRIMARY' [update events set eventid=eventid+200000000000000 where eventid>0] ..............................................................Conversion failed.
I tried this with the main zabbix_server service running as well as stopped, but it still fails in either case.
The Web GUI still says my setup is not configured for distributed monitoring and no event is received anymore by the nodes.
So I can't seem to be able to rollback the changes that have been made and yet I can't complete the switch to the distributed setup.
Is there any way I can manually update what needs to be updated in the database directly and resume monitoring tasks, or at the very least roll back to the previous situation (two autonomous servers) ?
Thanks in advance

Comment