Renamed Administrator account, jobs now failing
paule123
Posts: 44
I renamed the Administrator account to something else, and now my jobs are failing with this error in the event log for SQLSERVERAGENT:
SQL Server Scheduled Job 'MYSERVERNAME SQL Backup full daily backup job' (0x68ADBDA064F8B74AA8976E4A3B831346) - Status: Failed - Invoked on: 2009-10-10 22:42:43 - Message: The job failed. Unable to determine if the owner (MYSERVERNAME\Administrator) of job MYSERVERNAME SQL Backup full daily backup job has server access (reason: Could not obtain information about Windows NT group/user 'MYSERVERNAME\Administrator', error code 0x534. [SQLSTATE 42000] (Error 15404)).
Server is Windows 2008 Enterprise R2 x64, running SQL Server 2008 Enterprise SP1 x64.
SQL Server Scheduled Job 'MYSERVERNAME SQL Backup full daily backup job' (0x68ADBDA064F8B74AA8976E4A3B831346) - Status: Failed - Invoked on: 2009-10-10 22:42:43 - Message: The job failed. Unable to determine if the owner (MYSERVERNAME\Administrator) of job MYSERVERNAME SQL Backup full daily backup job has server access (reason: Could not obtain information about Windows NT group/user 'MYSERVERNAME\Administrator', error code 0x534. [SQLSTATE 42000] (Error 15404)).
Server is Windows 2008 Enterprise R2 x64, running SQL Server 2008 Enterprise SP1 x64.
Comments
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
The owner of the job is still MYSERVERNAME\Administrator and if I browse user objects, only the old MYSERVERNAME\Administrator user name is selectable -- the renamed admin user is not in the list.
Restarted SQL Server Agent hoping it might refresh the list, it did not.
Also noticed I am not being notified via email of job failure even though I specified this in the Red Gate GUI.
As regards e-mail notification, SQL Backup only sends e-mail notifications on the backup/restore tasks that it performs. If the SQL Server Agent job itself fails to run, SQL Backup hasn't even had the chance to start, hence there is no e-mail notifications sent by SQL Backup. In these cases, you will need to use the SQL Server alert mechanisms.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Edit: Suggestion from another poster on MS TechNet SQL Server forum was to make the job's owner "sa" ... I did this and now the job is successful.
ALTER LOGIN [domain\old_administrator_name] WITH NAME = [domain\new_administrator_name]