Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Agent message code 20084. The process could not connect to Distributor 'servera'.


Agent message code 20084. The process could not connect to Distributor 'servera'.

Author
Message
ten_spoons
ten_spoons
SSC Veteran
SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)

Group: General Forum Members
Points: 226 Visits: 235
I am trying to set up replication between two SQL 2008 servers and I am getting the following error:

Agent message code 20084. The process could not connect to Distributor 'servera'.

The subscriber has sysadmin rights to the distributer and has read/write rights to the replication data folder. I have logged in as that account to verify all connections work properly. I am able to subscribe to the same publication on other servers using the same users. The only difference is we have a firewall between the two that are currently not working. I am able to push the subscription, but I can not pull and I would prefer to pull.

What needs to be open on the firewall to get this working? I already have the sql ports open, including the browser port (1434 for UDP).

Thanks much,

Jason
GSquared
GSquared
SSChampion
SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)

Group: General Forum Members
Points: 14383 Visits: 9729
Can you check the firewall's logs to see what's trying to get through? That'll pretty much tell you what you need to let through, won't it?

- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread

"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
guthey.aditya
guthey.aditya
Grasshopper
Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)

Group: General Forum Members
Points: 20 Visits: 269
You might have already done this. I would try to check the service account that the agent is running under to see if it has the right permissions to access the folder. I would also try telnet and ping commands to make sure they are working right between the two servers. To me it doesn't look like a firewall issue as you said push subscriptions are working. If you have already fixed it, please let us know the solution.

You can go also through the below article to troubleshoot replication issue to double where exactly you are having the issue. ihttp://blogs.msdn.com/b/chrissk/archive/2009/05/25/transactional-replication-conversations.aspx
ten_spoons
ten_spoons
SSC Veteran
SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)SSC Veteran (226 reputation)

Group: General Forum Members
Points: 226 Visits: 235
Thanks for the replies. The firewall is showing ports 1751 and 1753 being blocked, but I do no think that is the problem. We are working on getting them opened just for testing to see if it helps. We do not host the server in question or the firewall so getting our vendor to make the changes takes a little time.

I did already ping, telnet, portqry, and connect to the publishing SQL server from the subscribing server while logged in as the account performing the pull. Everything connects without issue.

Thanks much,

Jason
rdamian.alfonso
rdamian.alfonso
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 25
Hi there!

I have the same problem. I configured a Snapshot Replication and a push subscription. The snapshot works fine, but the distribution don't when I executed it under the windows service account that I created for it. However it works perfectly when I specify the windows Administrator account. Obviously this is a permission issue, but where?
I have assigned all the minimum permission required for the Distribution Agent to run as stated in Microsoft web sites, which are:

-Register the account in the PAL.
-Give "read & execute" permission on the share folder
-Make the account a member of the db_admin server role for the distribution db. I also did this for the replication db, just in case.

Does someone have any idea about what else can I do???
mikenz-707704
mikenz-707704
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 11
If you're running distrib.exe from the command-line, I've had this error message ("could not connect to distributor") when the distrib.exe command-line specifies a database name for the subscription to go into that doesn't match the database name that you setup when you configured the subscription! i.e. double-check the -SubscriberDB option
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search