- Use the
ctinfoutility to check if replication is enabled for the file.ctinfo yourreplicatedfile.dat ADMIN ADMIN FAIRCOMS - Look for the
ctREPLICATE.Extended File Mode Details: ctREPLICATE : file is replicated- If replication is not enabled for the file:
- Check that the
REPLICATEoption is properly specified inctsrvr.cfg. - Add
DIAGNOSTICS REPLICATEtoctsrvr.cfg.Note
When opening a file, a message is logged if replication cannot be enabled for the file.
- Check that the
- If replication is enabled for the file:
- Check that the Replication Agent is running and is properly connected to source and target.
- Use the
ctrepdutility and/or Replication Agent change log to check source server transaction log entries. - Enable the
log_change_detailsoption inctreplagent.cfg. - Check the replication exception log for errors:
- Ensure that the Replication Agent opened the file on the target server.
- Check for any failures when applying adds/deletes/updates.
- If replication is not enabled for the file:
- If you are using two-way replication or multiple Replication Agents connected to a server, set the
unique_idoption in the Replication Agent configuration file so that each Replication Agent has its own unique ID. - If you are doing two-way replication between servers on the same machine, use the
REPL_NODEIDoption in both servers' configuration files to set unique node IDs for the servers. - If you use
localhostor the DNS name forsource_serverortarget_serverinctreplagent.cfg, you will need to useREPL_NODEID.
Connection and startup issues
Troubleshoot common problems with data replication connection and startup