|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: 2 days ago @ 10:08 AM
Points: 19,
Visits: 117
|
|
Hi everyone,
We encountered some strange error when we were trying to add a subscriber. Following steps were performed: 1. Publsher and distributor (2 different machines) were created 2. Publication was created 3. Few (12) subscribers were successfully added to the publication
When some time after everything is successfully running we tried to add 2 or more subscribers and got an error:
Message The replication agent encountered a failure. See the previous job step history message or Replication Monitor for more information. The step failed.
Checking replication monitor it sends us to job and job sends us to replication monitor. Removing newly added subscribers make everything looks good again.
Any ideas if we need to check some settings?
Thanks.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: 2 days ago @ 4:29 PM
Points: 134,
Visits: 406
|
|
| What is the error in the previous job step history message?
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: 2 days ago @ 10:08 AM
Points: 19,
Visits: 117
|
|
| The problem is that there is no previous message at all. In replication monitor it says - check the job.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: 2 days ago @ 4:29 PM
Points: 134,
Visits: 406
|
|
The error is in the job history of the SQL Server Agent job that is the Distribution Agent (named <distributor_name>-<publication_name>-<subscriber_name>).
Possibly it will tell you the distributor cannot connect to the Subscriber database (make sure the user that the Distribution Agent is in the dbo role in the Subscriber database)
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: 2 days ago @ 10:08 AM
Points: 19,
Visits: 117
|
|
this is exactly where I took a look: -Publisher [ASH2VCL05INST4\CLSAVCL05INST4] -PublisherDB [VS_VALIDATION] -Distributor [ASH2VCL05INST3\CLSAVCL05INST3] -Publication [VS_VALIDATION] -DistributorSecurityMode 1 -Continuous
The replication agent encountered an error and is set to restart within the job step retry interval. See the previous job step history message or Replication Monitor for more information.
Previous step doesn't have any message at all.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: 2 days ago @ 4:29 PM
Points: 134,
Visits: 406
|
|
I don't see the subscriber. What job category is it? REPL-Distribution?
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: 2 days ago @ 4:29 PM
Points: 134,
Visits: 406
|
|
| Did you generate a new snapshot?
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: 2 days ago @ 10:08 AM
Points: 19,
Visits: 117
|
|
| yes. When we setup everything first time with n number of subscribers it went through without problems. Replication is working perfectly. When later on we tried to add another subscribers and initialize the subscription with new snapshot creation - this is where it happens.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: 2 days ago @ 4:29 PM
Points: 134,
Visits: 406
|
|
| Which agent job has the error. There should be a separate distributor job for each subscription
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: 2 days ago @ 10:08 AM
Points: 19,
Visits: 117
|
|
| True. Each job (for publication we are trying to add subscriptions) gives the same error
|
|
|
|