Troubleshooting specific command errors  Examining the Replication Agent when replication failure occurs

Chapter 4: Troubleshooting Sybase Replication Agent

Connection refused

Error message

Could not connect to <jdbc:sybase:Tds:localHost:5001/emb>: JZ006: Caught IOException: java.net.ConnectException: Connection refused: connectJZ006:

Explanation

The Replication Agent attempted to connect to a Sybase server on a host called localHost and port 5001. The error indicates no server was found.

Action

This is a usually a configuration error. Either the primary database server that Replication Agent is attempting to connect to is not running, or the host and port information configured in Replication Agent is incorrect.

Verify that your primary database server is running.

Verify that your Replication Agent is configured with the correct host and port information. See “Setting up the connection configuration parameters” for more information. Test your connection after you have verified them. See, “Testing network connectivity”.





Copyright © 2005. Sybase Inc. All rights reserved. Examining the Replication Agent when replication failure occurs

View this book as PDF