Quantcast
Viewing all articles
Browse latest Browse all 3160

SQL SERVER Log Shipping Copy Job Failure The Password for This Account Has ...

Working as freelancer gives an opportunity to see various kinds of error and having fun to fix them. Recently, one of my blog readers sent an email and asked assistance on the log shipping issue. He said that log shipping copy job is failing.

As usual, I asked him error message and he shared below piece from copy job history.

Message

2016-09-27 17:22:23.33 *** Error: The password for this account has expired.

(mscorlib) ***

2016-09-27 17:22:24.01 *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***

The error message was descriptive enough. I asked him to follow below blog and share the output. SQL SERVER How to Find Out When Your SQL Login Will Expire?

As expected, the password was expired. I asked him to put the right password for the service account for Agent because SQL Agent is used to perform the copy operation.

Once he put the right password the issue was resolved, but as a follow-up he asked me ways to avoid this in future.

SOLUTION/WORKAROUND Put the right password for the service account for SQL Agent on secondary. Make sure below property is checked so that it is not expired next time.
Image may be NSFW.
Clik here to view.
SQL SERVER   Log Shipping Copy Job Failure   The Password for This Account Has ...

Have you encountered the same issue in production?

Reference: Pinal Dave ( http://blog.sqlauthority.com )


Viewing all articles
Browse latest Browse all 3160

Trending Articles