Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Can anyone show me the way to fix these error messages:

The process could not execute 'sp_replcmds' on 'S15415940'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20011)

Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission. (Source: MSSQLServer, Error number: 15517)

The process could not execute 'sp_replcmds' on 'S15415940'. (Source: MSSQL_REPL, Error number: MSSQL_REPL22037)

Thanks you!

share|improve this question

marked as duplicate by Paul White Aug 19 '15 at 23:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

In my experience I had this message

The process could not execute 'sp_replcmds'

when two log reader processes where accidently trying to run.

The fix I had was to: connect at the publisher, look in master..sysprocesses for a a leftover process from the distributor kill it, and relaunch the log reader on the distributor.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.