Error 22029 On Maint Jobs

Apr 27, 2006

OK this is a new error on me.


I have a SQL server 2000 on Windows Server 2003.


I have setup a Maint plan that backs up the user and system databases
and the transaction Logs on my user databases.


Does optimises and integrity checks on those databases as well.
I am not attempting to repair any minor problems.
I am not performing integrity checks before backing up the database
and transaction logs.


All of the databases that I am doing a transaction log backup on have
recovery mode of full.


When the jobs run they fail instantly with error code 22029.
Sqlmaint.exe failed to run. This was working up until the end of the
day on the Thursday before Good Friday. (last week) The transaction
log backup ran fine at 4:00 PM the same job failed at 8:00 PM. No
changes were made to the server during that time.
Another issue that started at the same time. I have a web page used to
grab data from a text file export and pull it into an AS400. I use
this server to house the DTS packages and stored procedures that the
process needs. I suddenly quit working when the jobs quit running.


We are in a mixed enviroment with most clients on AD and this server
and most others still in a NT 4 domain. We have been like this for at
least 3 months and everything has worked fine. I setup the various
users and systems the way the need to be, to work.


Originally the SQL Agent was running as a generic NT 4 Domain user with
local administrator rights to the local box and server role of system
administrator. The MSSQLSERVER and DTC services were running as the
built in system account.


Everything was happy then it broke.


When I reboot the server the jobs and the website work fine. Then
after a period of time that I have not figured out yet, but more than
15 minutes and less than 2 hours. Everything quits working.


I have changed all the services to run as a domain admin with SQL
system adminsitrator server role. Still same thing.


I have changed all the services to run as the built in system account.
Still same thing.


I run the sqlmaint from command line with the switches that I am using
in the maint jobs and it runs fine.


I have run dbcc checkdb on all the databases and they are fine.


The DTS packages and the stored procedures used by the website run fine
from with in Query analyzer.


Any help you can provide would be greatly appreciated.

View 2 Replies


ADVERTISEMENT

Error 22029

Apr 20, 2006

I found this error in Job History, I need help to find out the reason and solution for the following errors.
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 AUTHORITYSYSTEM. sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed.

This problem i found in Maintenance Plan & error log file:
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

Error Log file:

BACKUP failed to complete the command BACKUP DATABASE [restore_test] TO DISK = N'E:SQL_Backups
estore_test
estore_test_db_2006 04160200.BAK' WITH INIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT


Please help me in find out the solution

View 7 Replies View Related

SQLMaint Error: 22029

Mar 19, 2001

I installed a new SQL Server and implementd a maintenance plan for user databases. In doing so, all the jobs seem to work except the Integrity checks. These jobs fail with the following error:
sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed.

Has anyone seen this? Or has an idea how to fix it?

Thanks in advance.

way0utwest

View 1 Replies View Related

SQLSTATE 42000 ERROR 22029

Jun 19, 2001

I am having a problem with a Job Step that is failing. The actual Step runs
a Stored Procedure, but the Job keeps failing and returning the following
error

"sqlmaint.exe failed. [SQLSTATE 42000](Error 22029). The step failed."

Does anyone know what this means ?

Thanks.

View 1 Replies View Related

I Getting Error SQL STATE 42000 Error 22029

Feb 12, 2007

Hi guys i used maintanance wizards to schedule, transactional log backups it gave me this error SQLMAINT.EXE Process exit code 1.

I went to job history and i get this error code SQL STATE 42000 error 22029.

if any one has hints on how to deal with this i will appreciate

View 3 Replies View Related

Failed Maintenance Plan [SQLSTATE 42000] (Error 22029)

Apr 9, 2001

We have a maintenance plan that runs every 15 minutes to backup a transaction log. It fails intermittantly with the message:
"sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed."
This is the only error message to be found in any of the logs. I've checked event viewer, the SQL error logs, exception log, maintenance plan log, sysdbmainplan_history table in msdb, but can't find any extra information. I checked the MSDN for info on this error and this did not add any extra light on the problem.
Does anyone have any ideas on how to de-bug this error?
regards
Stuart Ainsley

View 4 Replies View Related

Sqlmaint.exe Failed. [SQLSTATE 42000] (Error 22029). The Step Failed.

Jan 3, 2001

I get the following error when I try to run my scheduled job.
sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed.


Any ideas Thanks in advance
Reddy

View 1 Replies View Related

Log Shipping Failure Sqlmaint.exe Failed. [SQLSTATE 42000] (Error 22029). The Step Failed.

Sep 13, 2001

I have log shipping set up between 2 SQL 2000 SP1 Servers on Win 2000. The db is small 10 meg, and when the restore job on the backup server fails I am getting "sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed." as the message, the maint paln on the primary server show no error. Anyone seen this before? The restore has worked 3 out of 5 times

View 2 Replies View Related

Executed As User: CONNECTSRVmyadmin. Sqlmaint.exe Failed. [SQLSTATE 42000] (Error 22029). The Step Failed.

Feb 29, 2008

Hi all help needed from your End.

I have a re-indexing stored procedure,yester day night it got failed
"Executed as user: CONNECTSRVmyadmin. sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed."
what may be the reason..



View 4 Replies View Related

Bizzare Error - All Back-up Agent Jobs Failed With Unsual Error!

Jan 29, 2008

I have a really odd one here. We have a production server which is running SQL 2000 Enterprise Edition SP3. It has a number of databases which are backed up nightly. Last night all of the back-up jobs failed with the following error: -



Msg 913, Sev 16: Could not find database ID ##. Database may not be activated yet or may be in transition. [SQLSTATE 42000]

The databases are in good shape - no issues to report. When I run the Agent Job code within a Query Analyser session it works fine.

When I try and re-start the back-up from the Agent Job it continues to fail with the same error.

Any ideas?

View 2 Replies View Related

DTSRUN Error In Scheduled Jobs

Jun 14, 2002

Getting this message when running a dtsrun step in a scheduled job;

DTSRun: Loading... DTSRun: Executing... Error: -2147220499 (800403ED); Provider Error: 0 (0) Error string: No Steps have been defined for the transformation Package. Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts.hlp Help context: 700. Process Exit Code 1. The step failed.

This just started today.. These jobs have been running for months with no problems.

Any help would be appreciated.

View 4 Replies View Related

2012 / Setup Email To See Error Jobs?

May 26, 2015

I need to setup an email alerts with Jobs errors ( with error logs is it possible ) on nightly basis.

example:

Job name : Full backup | Status : Error | error log : 'The job failed 12........' 
Job name : Delta Backup| Status : Error | error log : 'The job failed 123........'
Job name : Cleanup DB  | Status : Error | error log : 'The job failed 1234........'  

What's the easiest way to do that ?

View 5 Replies View Related

Backup - Maint. !!!

Mar 26, 2001

In SQL 7, a single table cannot be restored. What if a week later one found out that a table was corrupted few days and no one realized, then how to address this ? Restoring entire db from a tape few days old would't be a solution since all other tables have changed meantime.

Your feed-backs are greatly appreciated !!!

-ISB

View 1 Replies View Related

Maint. Plan

May 31, 2001

In maint. plan when reorg is selected for a user db, it will also work on
sys tables in user database. Is it a good thing to do ? How do I avoid sys tables in a user database not to be part of maint optimization plan ? Some script would be helpful !


Thanks,
Ivan

View 3 Replies View Related

SQL Maint Optimization

Apr 19, 2000

I am using the Database maintenance on a database that is about 4gb. The database optiiztion is running about an hour. Does this job only do an update stats? If I run the stored procedure sp_updatestats on the database it only takes a couple of minutes. Are thes two processes doin the same thing? Do I need them if the create, update statistics are turned on?

Thanks,
Glen

View 4 Replies View Related

Maint. Plan Help

Aug 8, 2006

I need to set up a Maintenance Plan on a 6.5 DB. I know the version is old but the customer cannot upgrade at this time. When I try and run the wizard to set it up I get a warning about running a plan on a DB that is larger that 400MB. Whats the deal? Thanks for the help!!

View 1 Replies View Related

SQL Maint. Plan Help

Apr 14, 2004

I have setup maintenance plan to run nightly.

(1) Maint plan is setup to backup the databases that users actually use to update company information (2) diffrent databases.
(2) maint plan backs up the master database this is setup to run by itself.
(3) maint plan is setup to backup the model - msdb databases together.

I setup the email notification option to inform me if my backups were successfull. below is an example that I'm recieving everymorning on every database. Something about the single user mode is causing the problem. can somone explain this to? Maybe give me a direction to follow to correct this problem. Below is an example error message that I'm recieving.

I can backup any database by right clicking selecting all tasks then backup database and I get a complete backup to problem. Why is my Maint. Plan not going through. the rebuilding of indexs is successful.

Microsoft (R) SQLMaint Utility (Unicode), Version Logged on to SQL Server 'My Server name' as 'My_Domain_NameMy_SQL_Admin_Account (trusted)
Starting maintenance plan 'LEO-SLCBOM Full Nightly' on 4/13/2004 11:15:00 PM
[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 5070: [Microsoft][ODBC SQL Server Driver][SQL Server]Database state cannot be changed while other users are using the database 'Leo'
[Microsoft][ODBC SQL Server Driver][SQL Server]ALTER DATABASE statement failed.
[Microsoft][ODBC SQL Server Driver][SQL Server]sp_dboption command failed.
[1] Database Leo: Check Data and Index Linkage...
[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 7919: [Microsoft][ODBC SQL Server Driver][SQL Server]Repair statement not processed. Database needs to be in single user mode.

The following errors were found:

[Microsoft][ODBC SQL Server Driver][SQL Server]Repair statement not processed. Database needs to be in single user mode.
** Execution Time: 0 hrs, 0 mins, 1 secs **

[2] Database SlcBom: Check Data and Index Linkage...

** Execution Time: 0 hrs, 0 mins, 1 secs **

Deleting old text reports... 0 file(s) deleted.

End of maintenance plan 'LEO-SLCBOM Full Nightly' on 4/13/2004 11:15:01 PM
SQLMAINT.EXE Process Exit Code: 1 (Failed)

Emailing report to operator 'Admin, SQL'

Thnaks for any help

SQL Rookie

View 1 Replies View Related

Maint. Not Running

Dec 7, 2007

Just two days ago, I noticed none of the scheduled maintenance jobs (backups) are running. I can run them manually successfully, but they are not running according to the maintenance schedule. There are no errors thrown.

Just prior to this happening, our anti-virus detected and deleted what it described as a virus [trojan]. The file was named sqlmaint.rll. I have done extensive searching and have not found anything definitive for this file. Obviously, this has something to do with maintenance not running, but how can I resolve this?

Thanks in advance for any help.
Deacon

Windows Server 2003 Enterprise
SQL Server 2000

View 6 Replies View Related

Maint Views

Jan 18, 2007

When I use Enterprise Manager to Maint views it basically brought up the view in simple text editor, where I could put in comments as to what the view was for.

I did this by just double clicking the view, but now in SQL Studio express when I modify the view it just brings it up in a query editor. I don't see my comments for my old SQL2000 views.

Is this just the way it is, and I need to get used to it. Or I am just missing something.

View 1 Replies View Related

SQL Agent Jobs Giving General Network Error

Oct 25, 2004

transferred datbases and SQLagentjobs to a new server. Trying to execute sqlagent jobs
gives

ConnectionRead (WrapperRead()). [SQLSTATE 01000] (Message 258) General network error. Check your network documentation. [SQLSTATE 08S01] (Error 11). The step failed.

External Comminications seem OK

Any ideas what to do about this

Thanks

View 4 Replies View Related

Maint Plan Issues

Aug 16, 2005

I have a maint plan for a single database to backup the database, thats it, very simple. It fails every time.

When I do a view history of the maint plan, it is empty as if it has never run. When I do a view history of the job, it shows it has failed after 13 seconds. With this message.
"Executed as user: sa. sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed."

Any help would be great as I cannot get any backups to run. I am worried to say the least right now.

View 3 Replies View Related

Maint Cleanup Task

Mar 19, 2007

Ques; can "both" files the db backup (.bak) file "and" the (.txt)report file in a maint plan object be cleaned up at same time?

The object is working ok but trying to setup and match backup text reports to the db, I have way more .bak files than text files.

Created from/after db maint plan (which is working ok) from/in the object Maintenance Cleanup Task and the object selections are

Delete files of the following type:
_backup files
_maintenance plan text reports

File location:
_delte specific file
File name: __
_search folder and delete files based on an extension
Folder:__
File extension:__
File age:
_Delete files based on the age of the file at task run time...
delete files oder than the following. . . .

View 1 Replies View Related

SQL 2005 Maint Plan

Dec 8, 2007

I am creating a sql 2005 maintenance plan backup job. How can i specify 'write log files to some particular drive'. I am new to sql server 2005
Please advice

View 3 Replies View Related

SQL 2005 Maint Plan

Dec 25, 2007

I need to create a maintplan for user databses,scheduled everyday 8pm
includes
Reoraganize index
fullbackup
Histoty clean up

What should be tasks order? is it okay reorganize index before full backup?
Please advice

View 1 Replies View Related

Sql 2005 Maint Plan

Dec 26, 2007

I need to create a maintplan for user databses,scheduled everyday 8pm
includes
Reoraganize index
fullbackup
Histoty clean up

What should be tasks order? is it okay reorganize index before full backup?
Please advice

View 8 Replies View Related

Transaction Log Backup Via SQL Maint Fails

Jul 5, 2002

I have setup a SQL maintenance plan to backup the transaction log file to be backup every one hour M-F.

But now I have been getting the following error:

sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed.

Any clues what does this error mean ?

Thanks.

View 2 Replies View Related

Auto-Creating DB Maint Plans?

Aug 3, 2005

Hi Guys,

Does anyone know an easier way to create DB Maint Plans instead of having to create each one manually?
i.e. Copy Maint Plans from 1 server to another automatically.
Does anyone know of a quick export method.

thnx in advance.

View 4 Replies View Related

Backups: SQL Vs Maint Plan Vs BkpExec

Aug 14, 2001

It seems there are at least 3 ways to back up my databases in SQL2000

1) Veritas BackupExec
2) SQL Sever Backup
3) SQL Maintenance Plan

I don't quite see what the difference is between 2 & 3.

I'm currently using Veritas to do a full backup to tape, and a separate full backup to disk via a Maint Plan (a complete backup & trans log backup). It looks as though I've finally got my trans log to stop getting bigger (it started a new one) .... can I delete the huge one I don't need anymore. Does "truncate" mean the log is deleted, or just inactive as a new log gets created. I been reading up on this, but apparently it hasn't sunk in yet.

Please give me any long winded, but clear help you might have

View 1 Replies View Related

SQL 2005 - How Do You Refresh Db Backup Maint Job?

Apr 30, 2007

We have an application that uses MS SQL 2005 to stored information related to user internet usage. It is storing a large amout of data on a daily bases. The application is set to create a new logging database, when the current database reaches 10GB, then it will start logging to the new database.



A new database is getting created at the rate of about 1 new db every 48hrs and the backup maintenance plan for the user databases, is not picking up the new database. I have to remember to refresh the maintenance job so, the new database gets picked up and is included in the daily backup.



Is there a way to have the backup maintenance job refesh itself? Or possibly a stored procedure or some sort of scripting option to do this?



Please provide information if you have a way of doing this. Thanks.

View 7 Replies View Related

Named Backups Using Database Maint Wizard

Aug 20, 1999

Has anyone been able to find a way to name the files within your backup using the Database Maintenance Wizard in SQL 7.0?

Thanks for your input?

View 2 Replies View Related

2005 Maint Plans .txt Files Not Deleting?

Aug 16, 2007

I am running 2005 SP2 (It is the SP2 refresh as I downloaded the SP2 on 3/15/07) and I can't get the .txt maint plans to delete. The job completes successfully; however, the old .txt files are still there. I found this technote: http://support.microsoft.com/kb/938085
although I don't receive the error message in the KB. The report does have "New Component Output" as the 1st line in the report. I still don't see how deleting the 1st line of an already run job (the report) will affect a new run of the job.

Also, I checked the version of the Microsoft.SqlServer.MaintenancePlanTasks.dll and it is at 9.00.3043.00 (which is the SP2 Refresh) in KB 933508 ( http://support.microsoft.com/kb/933508 ).

I have several SQL/2005 servers and they all have this problem. Any help would be appreicated...

Thanks,
DeWayne

View 3 Replies View Related

Tempdb Included In Systemdb Maint Plan

Jan 10, 2008

I have just done an in-place upgrade of a sql2000 SP4 instance to SQL 2005. After the upgrade I applied SP2 and cumulative hotfix rollup 4, plus the SQL 2000 DTS designer components for backward compatibility.

all went well with the upgrade.

I then migrated the maintenance plan for the system databases to 2005 SSIS version, and find it includes tempdb! This causes the jobs to fail.

Have I come across anther maintenance plan issue or have I done something wrong? Should I have applied GDR2 before the cumulative roll up?

View 5 Replies View Related

Best Practice/recommendation Dev Data Maint Plans

Feb 9, 2007

We are working on converting to SQL 2005 database. During the conversion we are having to rewrite a lot of code and doing a lot of intital testing and development on development data. This is causing our transaction logs to really big. I have created a maint plan that runs nightly that does a back up of database and tran log but throughtout the day the tran logs are getting really big and eating up a ton of disk space. Does anyone have suggestions on what sort of maint plan I can setup to run on my developement data where as at this point I am not concened about being able to roll back the database just keep is small as possible and "healthly"

All ideas are appreciated

Thanks

Chris

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved