July 30, 2010     |
Network Toaster
SQL Security Forums
Note: SQLSecurity.com does not allow nor require registration due to privacy concerns for users. SQLSecurity.com is open and anonymous for all. Please report any abuse or profanity.
Subject: Cannot Cycle Error Log in SQL 2008
Prev Next

Author Messages
ChrisStamey (guest)

12/21/2009 9:52 AM Quote Reply Alert 
I have a job that I create on every SQL Server I manage that cycles the error log weekly, using sp_cycle_errorlog. Just a standard job I use everywhere. I noticed when I stated doing SQL 2008 servers that it now fails, where it runs perfectly on SQL 2005. The error I receive is:

COVAPLCES-MSQ02-Job: CycleErrorlog. Step= CycleErrorlogMessage Executed as user: dbo. User does not have permission to perform this action. [SQLSTATE 42000] (Error 15247). The step failed.

I'm out of ideas as to why this would happen, as the SQL Server and Agent run under the same domain account, which is an admin on the server and a sysadmin on the SQL Server. I have no proxies set up or anything in the "Run As" for that job step. The job owner is "SA".

I imagine this is some kind of security change for SQL 2008 but I have had no luck in finding out what it is, or what I can do about it.

Ideas welcomed.

Thanks,
Chris

Forums > Discussions > SQL Server Security > Cannot Cycle Error Log in SQL 2008

Quick Reply
Username:  
Subject:  
Body:
 



ActiveForums 3.6
Copyright 1999 by Chip Andrews   |  Privacy Statement  |  Terms Of Use