Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Apr 22, 2019 1:49 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Cacti Replication is getting stopped
PostPosted: Fri Dec 21, 2018 1:53 am 
Offline

Joined: Fri Dec 21, 2018 1:45 am
Posts: 3
Hello I have 2 Cacti Server with master and slave setup. I am getting error in replication status of mariadb.

Last_SQL_Error: Could not execute Update_rows_v1 event on table microcacti.poller_item; Can't find record in 'poller_item', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master log master-bin.000015, end_log_pos 520565013

Please help.


Top
 Profile  
 
 Post subject: Re: Cacti Replication is getting stopped
PostPosted: Fri Dec 21, 2018 5:46 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2391
I have never setup the replication between two databases in MariaDB/MySQL but looking at the error, this would suggest that your basic table structures are not in sync. When I have done mirroring before with MSSQL that required a backup/restore to ensure the same database was being used for mirroring.

Have you made sure that both sets of tables are in sync? And that the user being used to perform the sync has access to both?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Cacti Replication is getting stopped
PostPosted: Mon Dec 31, 2018 6:48 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 753
I would suggest galera on a 10.2 or 10.3 instance of MariaDB.

_________________
Before history, there was a paradise, now dust.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group