Re: SQL2k Sqlagentproxy fails to logon
From: Sue Hoegemeier (Sue_H@nomail.please)
Date: 06/27/02
- Next message: Sue Hoegemeier: "Re: Index Creation Date"
- Previous message: Sue Hoegemeier: "Re: Index Creation Date"
- In reply to: Doug Little: "SQL2k Sqlagentproxy fails to logon"
- Next in thread: Chris Wood: "Re: SQL2k Sqlagentproxy fails to logon"
- Reply: Chris Wood: "Re: SQL2k Sqlagentproxy fails to logon"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Sue Hoegemeier <Sue_H@nomail.please> Date: Thu, 27 Jun 2002 13:12:23 -0600
I think your permissions are probably not configured
correctly for the SQL Server service account.
I've seen someone else recently hit the Access denied with
xp_sqlagent_proxy_account. The problem was due to the SQL
Server account not running under a Windows
administrator account to read or set the SQL Server Agent
proxy account. It's not sa being denied permissions to
execute the procedure but rather your SQL Server service
account that does not have permissions to read the windows
accounts.
You get the 997 error when information can't be retrieved
about the proxy account as well as when the proxy account
isn't configured correctly. But I think you probably need to
start with the permissions for the SQL Server service
account first.
-Sue
On Thu, 27 Jun 2002 11:50:27 -0700, "Doug Little"
<dlittle5@ford.com> wrote:
>Hi,
>We're running sql2k sp2 on w2k sp2 where we have a number
>of jobs that have been running fine for over a year.
>
>Something recently changed where all jobs that use
>OS Commands (CMDEXEC) now fail with the message "A problem
>occurred while attempting to logon as the Windows
>user 'SQLAgentCmdExec': The parameter is incorrect. The
>step failed."
>
>Executing cmd_exec 'exec xp_cmdshell 'dir c:*.* /ad'
>directly from a non-sa account gets us 'Msg 50001, Level
>1, State 50001. Xpsql.cpp Error 997 from GetProxyAccount
>on line 472"
>
>A review of the sqlagent.log file has an interesting
>message '[298] SQLServer Error: 8198 Could not obtain
>information about win nt grp/usr 'fordna1\cksinfra'.
>sqlstate 42000 (ConnIsLoginSysAdmin)'
>
>We have the sqlagent set use use a proxy domain account
>(which is fine, not locked, expired,etc)
>
>The sa can't execute the xp_sqlagent_proxy_account 'get'
>to validate the proxy account info. He gets 'access is
>denied'. I asked him to grant himself privledges and try
>again. Hopefully that will show a glaring mistake.
>
>But, until then has anybody seen this before and can you
>offer diag tips/resolutions.
>
>Thanks
>Doug little
>313-594-2706 dlittle5@ford.com
- Next message: Sue Hoegemeier: "Re: Index Creation Date"
- Previous message: Sue Hoegemeier: "Re: Index Creation Date"
- In reply to: Doug Little: "SQL2k Sqlagentproxy fails to logon"
- Next in thread: Chris Wood: "Re: SQL2k Sqlagentproxy fails to logon"
- Reply: Chris Wood: "Re: SQL2k Sqlagentproxy fails to logon"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|