Wednesday, March 7, 2012
Distributor password in distributor Properties
When I select 'configure publishing, subscribers and Distribution' from the
SQL EM's tool menu\replication, under the distributor tab, there is the
administrator link password, what do they use for password? When I set up
replication for the first time, it doesn't ask me for it so it is unknown to
me. If I change the password, will it affect anything? I also noticed that
during replication setup, it also creates a SQL login for Distribution_Admin
and I also don't know what password it use. Any ideas for these two
passwords? Just curious, why do they set up the password behind the scene?
wingman
Wing
If you didn't set it (remote distributor) this means you have a local
distributor, and it is randomly generated. If you want to change it, you can
use sp_changedistributor_password.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
|||No, I didn't set it. I assume local distributor means it locates in the
same server as the publisher server.
The reason I ask for the password is that I tried to use the 'generating SQL
script' feature in replication to script the setup. But the script purposely
leaves out the passwrod for security reason so in order for me to run the
script, I need to know the password. So should I run the
sp_changedistributor_password and put the new password in the script to make
it work?
Or is there another way to script a replication setup?
Wing
"Paul Ibison" wrote:
> If you didn't set it (remote distributor) this means you have a local
> distributor, and it is randomly generated. If you want to change it, you can
> use sp_changedistributor_password.
> Cheers,
> Paul Ibison SQL Server MVP, www.replicationanswers.com
> (recommended sql server 2000 replication book:
> http://www.nwsu.com/0974973602p.html)
>
>
|||The 'old' password doesn't really need to be retained, and sp_adddistributor
can be fed any value you want for the administrative link password.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
Distribution server restore on standby server
we have developed an application using transactional replication, with
several publication servers (push) and a distribution server (which is
the only subscriber too). It seems to work fine.
Now we would "protect" the distribution/subscriber server by using a
standby server (note: only the distribution/subscriver server must be
protected, not publication servers) which should replace the working
server in the case it crashes.
Could someone suggest us the best strategy to do this? Thanks in
advance...
Marco
You can manually set this up. Have a look at Strategies for Backing Up and
Restoring Transactional Replication in BOL.
The problem is that this adds to the latency. Transactions remain in your
tlog until the log is dumped. Then they are read from the tlog and written
to the distirbution database.
"Marco69" <marcosindona@.virgilio.it> wrote in message
news:ce7beb14.0403250541.5f374a8f@.posting.google.c om...
> Hi,
> we have developed an application using transactional replication, with
> several publication servers (push) and a distribution server (which is
> the only subscriber too). It seems to work fine.
> Now we would "protect" the distribution/subscriber server by using a
> standby server (note: only the distribution/subscriver server must be
> protected, not publication servers) which should replace the working
> server in the case it crashes.
> Could someone suggest us the best strategy to do this? Thanks in
> advance...
> Marco
Friday, February 24, 2012
Distribution agent insufficient permissions
I am trying implement replication and having problem when creating push subscription to an existing transactional replication publication.
The distribution agent is failing to run its job with the error:
Agent message code 14260. You do not have sufficient permission to run this command. Contact your system administrator.
I followed the http://msdn2.microsoft.com/en-us/library/ms151868.aspx article instructions when I set the distribution agent properties
What did I miss?
The following is the step error message:
Date 1/12/2007 2:30:01 PM
Log Job History (105342-DB3\PROD-MOMA-ArchivedTransactions-105337-DEV2-15)
Step ID 2
Server 105342-DB3\PROD
Job Name 105342-DB3\PROD-MOMA-ArchivedTransactions-105337-DEV2-15
Step Name Run agent.
Duration 00:00:00
Sql Severity 0
Sql Message ID 0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted 0
Message
2007-01-12 19:30:01.258 Microsoft SQL Server Replication Agent: distrib
2007-01-12 19:30:01.258
2007-01-12 19:30:01.258 The timestamps prepended to the output lines are expressed in terms of UTC time.
2007-01-12 19:30:01.258 User-specified agent parameter values:
-Subscriber 105337-DEV2
-SubscriberDB MOMA
-Publisher 105342-DB3\PROD
-Distributor 105342-DB3\PROD
-DistributorSecurityMode 1
-Publication ArchivedTransactions
-PublisherDB MOMA
-XJOBID 0x65C41EBC553D96439BAF69E4DC3CC823
-XJOBNAME 105342-DB3\PROD-MOMA-ArchivedTransactions-105337-DEV2-15
-XSTEPID 2
-XSUBSYSTEM Distribution
-XSERVER 105342-DB3\PROD
-XCMDLINE 0
-XCancelEventHandle 00000000000006E8
2007-01-12 19:30:01.258 Startup Delay: 214 (msecs)
2007-01-12 19:30:01.477 Connecting to Distributor '105342-DB3\PROD'
2007-01-12 19:30:01.618 Agent message code 14260. You do not have sufficient permission to run this command. Contact your system administrator.
Can you verify the following?
Distribution Agent for a push subscription
The Windows account under which the agent runs is used when it makes connections to the Distributor. This account must:
At minimum be a member of the db_owner fixed database role in the distribution database.
Be a member of the PAL.
Have read permissions on the snapshot share.
Have read permissions on the installation directory of the OLE DB provider for the Subscriber if the subscription is for a non-SQL Server Subscriber.
|||Hi Gray,
Thank you for interesting in my problem.
As I wrote is my first post, I set all required settings ti the distributor Windows account:
it is db_owner of the distribution database|||
Hi Igor,
This error message should not be related to running executables. It is more like SQL permission issue. I would try to turn on SQL profiler to trace the statement in replication SPs. Then we can find out where the 14260 error message is thrown.
Thanks,
Peng
|||Hi Peng,Thank you for interesting on my problem. It really was related to the SQL rights. Actually, whe I added the distributor user to the db_owner role on the distribution database, the subscription started working properly.
Thank you,
Igor
Distribution agent action messages in session details
between our publishing SQL server and subcribing SQL server.
Here is what I see when I double click an action message (listed as Timeout
Expired) in the listing of Distribution Agent history.
3:24 pm Initializing
3:29 pm The process is running and is waiting for a response from one of
the backend connections.
3:29 pm Timeout expired
The sequence of action took exactly five minutes. And the timeout happened
again at 3:30 pm and last until 3:35 pm. Then at 3:36, it started working
and delivered the transactions.
Can someone tell me what the 'backend connection' the distribution agent is
waiting for?
Also, during this problem period, both publishing and subscribing SQL
servers all of a sudden became activity dead meaning there is no IO and no
SQL internal activity (my perf monitor showed almost a blank screen except
cpu time), the publishing SQL server's cpu time is very minimal but the
subscribing SQL server's cpu is 60% peak and no IO. I checked the proces of
the CPU in Em and it was for replication but it had long wait time. It
looked all a sudden nobody can connect to the SQL servers. In fact, we
confirmed that users can't connect to the web application that use SQL
servers. I don't see any networking error shown in the event log in both
servers. I am assuming there is a 'disconnect' or something is 'hanging', I
like to know if the 'disconnect or hanging' caused the distribution agent to
time out or the distrbitution timeout problem caused the SQL server system to
become 'disconnect or hang'?
wingman
The replication subsystem issues commands and waits for responses. If it
doesn't get a response in a predetermined amount of time it gives the
waiting for a response from one of backend connections.
I can't explain why no-one could connect - perhaps the database or tlog was
auto-growing at that time.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Wingman" <Wingman@.discussions.microsoft.com> wrote in message
news:76F91F8B-925F-4152-9C2D-ACB9EA89FCD5@.microsoft.com...
> We are using SQL 2K std with SP4 and push subscription. We have situation
> between our publishing SQL server and subcribing SQL server.
> Here is what I see when I double click an action message (listed as
> Timeout
> Expired) in the listing of Distribution Agent history.
> 3:24 pm Initializing
> 3:29 pm The process is running and is waiting for a response from one of
> the backend connections.
> 3:29 pm Timeout expired
> The sequence of action took exactly five minutes. And the timeout
> happened
> again at 3:30 pm and last until 3:35 pm. Then at 3:36, it started working
> and delivered the transactions.
> Can someone tell me what the 'backend connection' the distribution agent
> is
> waiting for?
> Also, during this problem period, both publishing and subscribing SQL
> servers all of a sudden became activity dead meaning there is no IO and no
> SQL internal activity (my perf monitor showed almost a blank screen except
> cpu time), the publishing SQL server's cpu time is very minimal but the
> subscribing SQL server's cpu is 60% peak and no IO. I checked the proces
> of
> the CPU in Em and it was for replication but it had long wait time. It
> looked all a sudden nobody can connect to the SQL servers. In fact, we
> confirmed that users can't connect to the web application that use SQL
> servers. I don't see any networking error shown in the event log in both
> servers. I am assuming there is a 'disconnect' or something is 'hanging',
> I
> like to know if the 'disconnect or hanging' caused the distribution agent
> to
> time out or the distrbitution timeout problem caused the SQL server system
> to
> become 'disconnect or hang'?
> wingman
>
>
|||Is it a good idea to increase the query timeout from 300 seconds (default) to
maybe 600 seconds in Distribution Agent profile to accomendate any potential
long running process?
Wingman
"Hilary Cotter" wrote:
> The replication subsystem issues commands and waits for responses. If it
> doesn't get a response in a predetermined amount of time it gives the
> waiting for a response from one of backend connections.
> I can't explain why no-one could connect - perhaps the database or tlog was
> auto-growing at that time.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Wingman" <Wingman@.discussions.microsoft.com> wrote in message
> news:76F91F8B-925F-4152-9C2D-ACB9EA89FCD5@.microsoft.com...
>
>
|||QueryTimeout is more often used in merge replication than in transactional
replication. I normally set the inactivity level to something higher, but
this could mask other problems.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Wingman" <Wingman@.discussions.microsoft.com> wrote in message
news:649BE7BF-C83E-44DC-8B8A-BD5A498510CB@.microsoft.com...[vbcol=seagreen]
> Is it a good idea to increase the query timeout from 300 seconds (default)
> to
> maybe 600 seconds in Distribution Agent profile to accomendate any
> potential
> long running process?
> Wingman
>
> "Hilary Cotter" wrote:
Do While in SQL,SQL Server
Blog Archive
-
▼
2012
(633)
-
▼
March
(413)
- Do SQL Server's developers even know what the date...
- Do SQL Server's developers even know what the date...
- Do SQL Server 2005/CLR Triggers support .config Fi...
- DO SQL perf counters intepret sysperfinfo internal...
- Do SQL Analysis service needs a separate database ?
- Do SQL 7 CALs count for a SQL 2000 install?
- Do SQL 7 CALs count for a SQL 2000 install?
- Do SQL 7 CALs count for a SQL 2000 install?
- Do Sql 2005 and Access not play well together?
- Do somebody know how long (in chars) script(comman...
- Do some statistics on calling a specific stored fu...
- Do some statistics on calling a specific stored fu...
- Do sequences of transactions logs are broken when ...
- Do scheduled jobs stay in memory?
- Do scheduled jobs stay in memory?
- Do scheduled jobs stay in memory?
- Do replication for a non-Administrators
- Do regular stored procedures still run when Agent ...
- Do regular stored procedures still run when Agent ...
- Do Queries Support Regular Expressions?
- do queries running from clr stored procs tie up on...
- do process
- Do pre-defined joins in SQL Server slown down inse...
- Do pass thru query connections persist?
- Do other RDMS have clustered indexes?
- Do other RDMS have clustered indexes?
- Do other RDMS have clustered indexes?
- Do nto send scheduled report when no data is present
- Do not SELECT
- Do not render report with no data
- Do not lock tables option
- Do not lock table...
- do not have permission error message
- Do not have instance of SQL Express 2005 installed
- Do not export navigations
- Do not export navigations
- Do not Email if No Data
- Do not display the result of my long text string, ...
- Do not Display "NULL" in Results tab
- Do not delete things, it bites
- Do Named Pipes work across a WAN?
- Do Named Pipes work across a WAN?
- Do Named Pipes work across a WAN?
- Do mirrored servers have to be in same domain?
- Do mirrored servers have to be in same domain?
- Do lots of COUNTs
- do log files also store select statement?
- Do locks slow other processes?
- Do local administrators on a system with SQL Serve...
- Do local administrators on a system with SQL Serve...
- Do Linked Servers REQUIRE SA rights
- Do Inserts into Temptable enforce order of select?
- do indexed views slow down inserts
- do indexed views slow down inserts
- do indexed views slow down inserts
- Do I want to use a join?
- Do I want the Developer version?
- Do I use case or coalesce or something else?
- Do I trust what my SMS agents are telling me?
- Do I still need pagefile?
- Do I still need pagefile?
- Do I still need pagefile?
- Do I stand a chance of being sucessful?
- Do I really need a snapshot (to initialize transac...
- Do I really need a cursor?
- Do I need x86, x64 or IA64?
- Do I need x86, x64 or IA64?
- Do I need x86, x64 or IA64?
- Do I need two login ID's?
- Do I need two login ID's?
- Do I need to verify that NewID() returns a unique ...
- Do I need to use "dbcc shrinkfile" command to shri...
- Do I need to use "dbcc shrinkfile" command to shri...
- Do I need to start the service..
- Do I need to start the service..
- Do I need to shrink my database?
- Do I need to set a Drillthrough action to have Rep...
- Do I need to reinstall or patch something?
- Do I need to reinstall analysis services after we ...
- Do I need to reinstall analysis services after we ...
- Do I need to reinstall analysis services after we ...
- Do I need to Reindex after truncate table?
- Do I need to Reindex after truncate table?
- Do I need to Reindex after truncate table?
- Do I need to reapply SP1 after adding new components?
- do I need to pay for support cases to help MS fix ...
- Do I need to learn report services if I already kn...
- Do I need to install SQLXML?
- Do I need to install SQL Server to second node in ...
- Do I need to install microsoft outlook ?
- Do I need to install microsoft outlook ?
- Do I need to install microsoft outlook ?
- Do i need to Fully process the CUBE, if Structural...
- Do I need to examine locking for this?
- Do I need to examine locking for this?
- Do I need to examine locking for this?
- do I need to enable cross database ownership chain...
- do I need to do my "snapshot" offline
- do i need to deny everything i don't use ?
- do i need to deny everything i don't use ?
-
▼
March
(413)