April 20, 2006 at 10:35 pm
Hello Friends,
I encounter the following error in my maintenance plan and job history, please help me finding out the reason and solution.
1. Job History :
The job failed. The Job was invoked by Schedule 9 (Schedule 1). The last step to run was step 1 (Step 1).
Executed as user: NT AUTHORITY\SYSTEM. sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed.
The job failed. The owner () of job Optimizations Job for DB Maintenance Plan 'Non-Core Maint Plan' does not have server access.
2: Maintenance plan:
[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 927: [Microsoft][ODBC SQL Server Driver][SQL Server]Database 'restore_test' cannot be opened. It is in the middle of a restore.
[Microsoft][ODBC SQL Server Driver][SQL
3. Log file :
BACKUP failed to complete the command BACKUP DATABASE [restore_test] TO
Regards,
Sumit
April 21, 2006 at 4:05 pm
Has this plan ever worked before? This looks like a permissions problem. Do you have your SQL Server service running under the system account or a local or domain account that you've specified? I would suggest running your job under an account other than the system account.
July 18, 2006 at 11:19 pm
ActuallyIt it doesn't need to be permissions related.
We ran into this suddenly after a somewhat unplanned restart due to a power failure.
3 out of 6 servers running W2003 Server/SQL 2K just couldn't run those old well proven maintenance plans with the above message.
Simply restarting the SQLSERVERAGENT service fixed the problem.
My humble guess is that the PDC was not yet responding during system start and that could be causing this behaviour.
With these kind of systems always try the restarting/reinstalling technique first instead of wasting time on searching for logical reasons when things suddenly stop working...
July 19, 2006 at 5:38 am
Hi,
Thank you for looking into it. Issue got resolved, by adding some point in job step, now it is running successfully.
again thanks for your time.
Regards,
Sumit
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply