Re: distribution clean up job fail
- From: "Hilary Cotter" <hilary.cotter@xxxxxxxxx>
- Date: Wed, 4 Jan 2006 20:59:09 -0500
The Administrator Account or whatever account the distribution agent is
running under in sql 2005, or whatever account SQL Server agent is running
under in SQL 2000 must have read, list files and folders, and delete
permission on the share and underlying files and folders for this to work.
--
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
"MLi" <lige888@xxxxxxxxx> wrote in message
news:%23eGLGqXEGHA.3004@xxxxxxxxxxxxxxxxxxxxxxx
>I have created a snapshot replication between ServerA and ServerB, the
>snapshot file location is \\SERVERA\ReplData. Everything runs fine except
>the distribution clean up job fails every 10 minutes. The error message is:
>
> Executed as user: 'ACCOUNT_NAME'. Could not remove directory
> '\\SERVERA\ReplData\unc\ServerA_NorthWind_NorthWind\20060102190012'. Check
> the security context of xp_cmdshell and close other processes that may be
> accessing the directory. [SQLSTATE 42000] (Error 20015) Associated
> statement is not prepared [SQLSTATE HY007] (Error 0)
> Replication-@rowcount_only parameter must be the value 0,1, or 2. 0=7.0
> compatible checksum. 1=only check rowcou: agent distribution@rowcount_only
> parameter must be the value 0,1, or 2. 0=7.0 compatible checksum. 1=only
> scheduled for retry. Could not clean up the distribution transaction
> tables. [SQLSTATE 01000] (Message 14152). The step failed.
>
> The job owner is the SQL Agent service account, which is a member of
> domain admins.
> No other user is accessing the folder
> '\\SERVERA\ReplData\unc\ServerA_NorthWind_NorthWind\20060102190012'.
> The share permission for \\SERVERA\ReplDATA is: domain admins has full,
> everyone has read permission.
>
> I grant Domain users "Change" permission and run the clean up job, it
> succeed, and the folder 20060102190012 has been deleted.
>
> My question is did I set the share permission correctly? Is this the right
> solution to fix this issue?
> If Domain Users has "Change" permission on the snapshot file folder, will
> this cause security issue?
>
>
>
.
- Follow-Ups:
- Re: distribution clean up job fail
- From: MLi
- Re: distribution clean up job fail
- References:
- distribution clean up job fail
- From: MLi
- distribution clean up job fail
- Prev by Date: Re: Two Way Bidirectional Rep
- Next by Date: Re: cannot delete subscriptions
- Previous by thread: distribution clean up job fail
- Next by thread: Re: distribution clean up job fail
- Index(es):
Relevant Pages
|
Loading