DBA: ANALYZETAB and DBA:CHECKOPT jobs failed.

Hi Guys,
Good day!
I would like to seek an assistance on how can I deal with the issue below:
For JOB: DBA: ANALYZETAB
27.05.2010 04:00:20 Job started
27.05.2010 04:00:28 Step 001 started (program RSDBAJOB, variant &0000000000113, use
27.05.2010 04:00:28 Action unknown in SDBAP <<< Job failed due to this error.
27.05.2010 04:00:28 Job cancelled after system exception ERROR_MESSAGE
For JOB: DBA:CHECKOPT
Date       Time     Message text
26.05.2010 18:15:07 Job started
26.05.2010 18:15:08 Step 001 started (program RSDBAJOB, variant &0000000000112)
26.05.2010 18:15:09 Action ANA Unknown in database ORACLE <<<< Job failed due to this error.
26.05.2010 18:15:09 Job cancelled after system exception ERROR_MESSAGE
I also checked those DBAs and I could find any in DB13 as well as in table SDBAP.
Appreciate your help on this matter.
Cheers,
Virgilio
Edited by: Virgilio Padios on May 29, 2010 3:24 PM

Hello,
I may have the same scenario because I have two same jobs that are getting canceled in DB13.  I checked them and it is because that the jobs were created in a client which is no longer existing.  "Logon of user XXXX in client XXX failed when starting a step"
DBA:ANALYZETAB
DBA:CHECKOPT
Can you please tell the importance of these jobs as these are not included in SAP Note 16083 - "Standard jobs, reorganization jobs" as one of the standard jobs.  If required, I need to reschedule these jobs in DB13 which I do not know how.  DB13 does not have options that will create these type of jobs.  So far, this is what I can only see from my DB13.
Whole database offline + r
Whole database offline bac
Whole database online + re
Whole database online back
Redo log backup          
Partial database offline b
Partial database online ba
Check and update optimizer - this is for DBA:UDATESTATS
Adapt next extents - this is for DBA:NEXTEXTENT
Check database - this is for DBA:CHECKDB        
Verify database  - this is for DBA:VERIFYDB       
Cleanup logs  - this is for DBA:CLEANUPLOGS           
So where does these two jobs should be generated from?  I would appreciate any help regarding this.  
Thanks,
Tony

Similar Messages

  • Background job failing

    Experts,
    We have background job running as part of the daily load. The user who created and scheduled the job, his account diabled recently and that makes job failing. I need to keep that job running but can not figure out how to change the user name in the job. For example, 0EMPLOYEE_CHANGE_RUN job based on event  'zemployee' triggers at the end of employee data load. Can you please provide any hint what should I do to change user name or take the ownership to keep this job running. Thanks.
    Regards,
    Nimesh

    Hello,
    Go to SM37--> put job name "0EMPLOYEE_CHANGE_RUN"  and user as "*" to get all users.
    Now select the job with released status>(Menu)Job>change->Steps-> select 1st row > change(pencil icon)>now you see the user name here.
    Change the user name to the user name used for all background job and save.
    Done.
    Happy Tony

  • User, Role, Profile Synchronization Job Fails

    Hi Gurus,
    When I am scheduling a job the User, Role, and Profile Sync. job fails giving an error
    "Cannot assign a java.lang.String object of length 53 to host variable 5 which has JDBC type VARCHAR(40)."
    This happens when the synchronization happens with a portal system. We dont have a ruleset for the portal system, So if I put in a "*", it includes this system and results in the error, If I manually select all other system, it works fine. Is there any way to remove this error so that I can schedule the jobs without having to select every system manually.
    Regards,
    Chinmaya

    Hi,
    As per my knowledge, in the Portal system, you should perform only user sync. Roles/profile sync will not work since portal will have workset roles.
    Please refer SAP Note 1168120, which may help you to understand the limitations
    Hope this helps!!
    Rgds,
    Raghu
    Edited by: Raghu Boddu on Nov 4, 2010 7:39 PM

  • DPM 2012 R2 Backup job FAILED for some Hyper-v VMs and Some Hyper-v VMs are not appearing in the DPM

    DPM 2012 R2  Backup job FAILED for some Hyper-v VMs
    DPM encountered a retryable VSS error. (ID 30112 Details: VssError:The writer experienced a transient error.  If the backup process is retried,
    the error may not reoccur.
     (0x800423F3))
    All the vss Writers are in stable state
    Also Some Hyper-v VMs are not appearing in the DPM 2012 R2 Console When I try to create the Protection Group please note that they are not part of cluster.
    Host is 2012 R2 and The VM is also 2012 R2.

    Hi,
    What update rollup are you running on the DPM 2012 R2 server ?  DPM 2012 R2 UR5 introduced a new refresh feature that will re-enumerate data sources on an individual protected server.
    Check for VSS errors inside the guests that are having problems being backed up.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Step job failed and agent shows sucess

    hi everyone,
    I'm running a package using an agent job step Transact SQL script (T-SQL)
    the step runs a package using command line dtexec only in case there are any rows in a certain table
    the problem is that the package fails and yet the job step indicates sucess
    i'm passing the dtexec exit code as exlpained in:
    http://www.bidn.com/blogs/BradSchacht/ssis/941/capture-ssis-package-execution-status
    iv'e tried using RAISERROR but it hasn't helped
    can anyone help?
    iv'e configured "Job step On failure action" to "Quit the job reporting failure"

    OK i solved it
    the job step is a Transact SQL script (T-SQL) step
    that means that as long as the
    query result success the
    step will indicate success
    i added an if statement
    if @ExitCode<>0 then
    BEGIN
    select * from TableDoesNotExist
    END
    the table of course doesnt exists so the query fails and therfore the step indicates failure

  • Db13 both the jobs failed update stats and DB check

    Dear Friends,
    Request you to look at following logs and suggest .
    Thanks in advance.
    BR0883I Table selected to collect statistics after check: SAPSR3.ALSLDCTRL (1/0:34:0)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0881I Collecting statistics for table SAPSR3.ALSLDCTRL with method/sample C ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0884I Statistics collected for table: SAPSR3.ALSLDCTRL, rows old/new: 1/1
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0883I Table selected to collect statistics after check: SAPSR3.ALTSTLOD (118/0:6940:0)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0881I Collecting statistics for table SAPSR3.ALTSTLOD with method/sample C ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0884I Statistics collected for table: SAPSR3.ALTSTLOD, rows old/new: 118/118
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0850I 9 of 102 objects processed - 0.105 of 9.323 units done
    BR0204I Percentage done: 1.12%, estimated end time: 23:11
    BR0001I *_________________________________________________
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0883I Table selected to collect statistics after check: SAPSR3.ARFCRSTATE (43/29218:7005:29195)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0881I Collecting statistics for table SAPSR3.ARFCRSTATE with method/sample C ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.53
    BR0884I Statistics collected for table: SAPSR3.ARFCRSTATE, rows old/new: 43/66
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.53
    BR0883I Table selected to collect statistics after check: SAPSR3.ARFCSDATA (153830/419010:0:296422)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.53
    BR0881I Collecting statistics for table SAPSR3.ARFCSDATA with method/sample E/P10 ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0884I Statistics collected for table: SAPSR3.ARFCSDATA, rows old/new: 153830/274700
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0850I 11 of 102 objects processed - 0.550 of 9.323 units done
    BR0204I Percentage done: 5.90%, estimated end time: 23:08
    BR0001I ***_______________________________________________
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0301W SQL error -1 at location brc_dblog_write-2, SQL statement:
    'INSERT INTO SAP_SDBAD (BEG, FUNCT, SYSID, POS, LINE) VALUES ('20090720230019', 'sta', 'WIP', '0000', 'A 00000000 00000000 00000
    ORA-00001: unique constraint (SAPSR3DB.SDBAD__0) violated
    BR0325W Writing to database log failed
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0883I Table selected to collect statistics after check: SAPSR3.ARFCSSTATE (4029/146985:38657:32482)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0881I Collecting statistics for table SAPSR3.ARFCSSTATE with method/sample E/P10 ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.27
    BR0884I Statistics collected for table: SAPSR3.ARFCSSTATE, rows old/new: 4029/119330
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.27
    BR0883I Table selected to collect statistics after check: SAPSR3.BAL_AMODAL (0/70:0:70)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.27
    BR0881I Collecting statistics for table SAPSR3.BAL_AMODAL with method/sample C ...
    BR2.16
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSP02, rows old/new: 23263/24250
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSP02FX (1511/9606:0:9600)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSP02FX with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSP02FX, rows old/new: 1511/1517
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSP02W (1511/9606:0:9600)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSP02W with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSP02W, rows old/new: 1511/1517
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSPOPTIONS (12/0:10970:0)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSPOPTIONS with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSPOPTIONS, rows old/new: 12/12
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSPSVI (5/0:19210:0)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSPSVI with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSPSVI, rows old/new: 5/5
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TST01 (31843/15941:56883:15606)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TST01 with method/sample E/P30 ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TST01, rows old/new: 31843/31640
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TUCNTRAW (63/83:16833:91)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TUCNTRAW with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TUCNTRAW, rows old/new: 63/55
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.200 for table: SAPSR3.ZWS_POSTING_DATE, rows old/new: 582110/578840
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3DB.BC_UDDI_PARAM (82/320:4:320)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3DB.BC_UDDI_PARAM with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3DB.BC_UDDI_PARAM, rows old/new: 82/82
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3DB.J2EE_KEYSEQUENCE (1/0:8:0)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3DB.J2EE_KEYSEQUENCE with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3DB.J2EE_KEYSEQUENCE, rows old/new: 1/1
    20.07.2009     23:12:50     
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0850I 102 of 102 objects processed - 9.323 of 9.323 units done
    20.07.2009     23:12:50     BR0204I Percentage done: 100.00%, estimated end time: 23:12
    20.07.2009     23:12:50     BR0001I **************************************************
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0301W SQL error -1 at location brc_dblog_write-2, SQL statement:
    20.07.2009     23:12:50     'INSERT INTO SAP_SDBAD (BEG, FUNCT, SYSID, POS, LINE) VALUES ('20090720230019', 'sta', 'WIP', '0000', 'A 00000000 00000000 00000
    20.07.2009     23:12:50     ORA-00001: unique constraint (SAPSR3DB.SDBAD__0) violated
    20.07.2009     23:12:50     BR0325W Writing to database log failed
    20.07.2009     23:12:50     
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0879I Statistics checked for 68351 tables
    20.07.2009     23:12:50     BR0878I Number of tables selected to collect statistics after check: 102
    20.07.2009     23:12:50     BR0880I Statistics collected for 102/0 tables/indexes
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0301W SQL error -1 at location brc_dblog_write-2, SQL statement:
    20.07.2009     23:12:50     'INSERT INTO SAP_SDBAD (BEG, FUNCT, SYSID, POS, LINE) VALUES ('20090720230019', 'sta', 'WIP', '0000', 'A 00000000 00000000 00000
    20.07.2009     23:12:50     ORA-00001: unique constraint (SAPSR3DB.SDBAD__0) violated
    20.07.2009     23:12:50     BR0325W Writing to database log failed
    20.07.2009     23:12:50     
    20.07.2009     23:12:50     BR0806I End of BRCONNECT processing: cebbggbz.sta2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0803I BRCONNECT completed successfully with warnings
    20.07.2009     23:12:50     External program terminated with exit code 1
    20.07.2009     23:12:50     BRCONNECT returned error status E
    20.07.2009     23:12:50     Job finished

    Hi Jiggi
    Are you running 2 jobs at the same time from DB13?  What do you mean by >Db13 both the jobs failed
    >ORA-00001: unique constraint
    can happen due to lot of reasons in SAP. Basically it means you are insertion of  already existing records.
    This also may happen due to bug in brtools patch level. What is your brtools patch level?
    You can also have a look at
    https://service.sap.com/sap/support/notes/421697
    https://service.sap.com/sap/support/notes/458872
    Anindya

  • GN_GENERATE_CHECK and SM_SERVICE_CONTENT_UPDATE background jobs are failing

    We recently upgraded our Solution Manager to 7 ehp1.  A couple of the background jobs are not able to complete.
    Both jobs have the following entry in the job logs
    Step 001 started (program RAGS_DSWP_SERV_CONTENT_UPDATE, variant , user ID SOLMAN_ADMIN
    No authorization
    I'm not sure where to look for the authorization issue.  Any advice would be appreciated.
    Thanks
    Laurie McGinley

    we are on SM 7.01 (EHP1)  - and we have the same problem:
    Jobs GN_GENERATE_CHECK and GN_WORKLIST_GENERATE
    both jobs end abnormal with joblog:
    Object requested is currently locked by user SOLMAN_BTC
    Job cancelled after system exception ERROR_MESSAGE
    but the job-start is not corresponding to the entries in table SMCONFIGJOBS
    both jobs are startet at 00:01:44 (both !!!) 
    in table SMCONFIGJOBS the entry are
    REPORTNAME         GN_GENERATE_CHECK
    REPVARIANT
    JOBNAME            GN_GENERATE_CHECK
    PRIORITY           50
    PERIOD TYPE        DAY
    PERIOD INTERVAL    1
    START TIME         00:15:00
    ISIMMEDIATE
    INACTIVE
    WORKLOAD           M
    COMM2SAP
    REPORTNAME         GN_WORKLIST_GENERATE
    REPVARIANT
    JOBNAME            GN_WORKLIST_GENERATE
    PRIORITY           50
    PERIOD TYPE        DAY
    PERIOD INTERVAL    1
    START TIME         00:01:00
    ISIMMEDIATE
    INACTIVE
    WORKLOAD           L
    COMM2SAP
    any suggestions why the jobstart is not corresponding to the starttime in table SMCONFIGJOBS
    what job is scheduling these 2 Jobs GN_GENERATE_CHECK and GN_WORKLIST_GENERATE
    which other job maybe responsible for the object lock???

  • Sql server job failing some times and suuccessful some time, even when it should run succesful

    Hi Experts,
    I got stuck with some issue....please help me resolve
    1.I created job -> calling SSIS package
    2. In SSIS package ->
    (I) firstly i have zip file container
    (II)second i have Execute process taskk editor - here i am doing unzip - in side On query cancel i have package failure if correpted file comes.
    (III) loading into table using bulk insert
    Problem:
    When i run the job it's working fine most of the times.
    But some time job executing still Execute Process taskk editor and after that job is getting canceld as follows"The job was stoped prior to completion by (unknown)" even through i have proper file(which is gettng unzip manualy).
    Please help me to resolve this issue...

    What is the SQL  version you are on?
    Is this applicable for you?
    http://support.microsoft.com/kb/922527
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • Backup Job Fails

    Dear All,
    I received an error in maintenace plan regarding the backup Job Fails.
    Executed as user: IPROINDIA\sqlservice. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 64-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  1:30:27 AM  Could not load
    package "Maintenance Plans\Daily_BACKUP" because of error 0xC0014062.  Description: The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Login timeout expired).  The SQL statement that was issued has failed. 
    Source:   Started:  1:30:27 AM  Finished: 1:30:43 AM  Elapsed:  15.297 seconds.  The package could not be loaded.  The step failed.
    Anyone please Help What is the issue

    Can you log in as PROINDIA\sqlservice to SQL Server and issue BACKUP DATABASE dbname ........? Still
    have a error?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • LMS 3.2 Syslog purge job failed.

    We installed LMS 3.2 on windows server 2003 enterprise edition. RME version is 4.3.1. We have created daily syslog purge job from RME> Admin> Syslog> Set Purge Policy. This job failes with the following error.
    "Drop table failed:SQL Anywhere Error -210: User 'DBA' has the row in 'SYSLOG_20100516' locked 8405 42W18
    [ Sat Jun 19  01:00:07 GMT+05:30 2010 ],ERROR,[main],Failed to purge syslogs"
    After server restart job will again execute normally for few days.
    Please check attached log file of specified job.
    Regards

    The only reports of this problem in the past has been with two jobs being created during an upgrade.  This would not have been something you would have done yourself.  I suggest you open a TAC service request so database locking analysis can be done to find what process is keeping that table locked.

  • Why is the SQL job failing on weekends while it successfully runs in weekdays?

    I wrote a job to create a backup. But this seems to work fine in weekdays. After weekends I can't find any backups. History viewer shows only 1 day of history and therefore I can't see what happened to the job in weekends. How can I increase the amount
    of history information from Job activity monitor? And is there a way to trace what happened in weekends? Please advice.
    mayooran99

    Have you checked the job current schedule ? is this scheduled for daily ? have you checked the backup location ? how many day backups are exist? is there any recent backups ?
    backup details :
    http://www.mssqltips.com/sqlservertip/1601/script-to-retrieve-sql-server-database-backup-history-and-no-backups/
    Change sql agent jobs history retenions :
    --Set new Limit size of job history
    EXEC msdb.dbo.sp_set_sqlagent_properties @jobhistory_max_rows=-1,@jobhistory_max_rows_per_job=-1
    --delete jobhistory older than 7 days and schedule following as a job or use gui
    DECLARE @oldest_date DATETIME
    SET @oldest_date = DATEADD(DAY,-7,GETDATE())
    PRINT @oldest_date
    EXEC msdb..sp_purge_jobhistory NULL,NULL,@oldest_date
    OR
    Rightclick on SQL Server Agent, properties-> History, You can increase the history log size(in rows) and max Job history rows per job .
    OR
    USE[msdb]
    GO
    EXEC[dbo].[sp_set_sqlagent_properties]
    @jobhistory_max_rows=10000,
    @jobhistory_max_rows_per_job=1000
    GOReference :http://msdn.microsoft.com/en-us/library/ms189683.aspxhttp://sqlserverplanet.com/dba/increase-job-history
    Raju Rasagounder Sr MSSQL DBA

  • Sharepoint 2013 Upgrade Job failed.

    Hello everybody,
    I would like some help with a litle problem that occured after I installed November CU on all of Sharepoint 2013 servers, 1 app, and 2 WFE. I'm unable to get Timer Job Service working on my app server, and that is a big problem. Everytime I restart Timer
    Job Service I get this error - Upgrade Job Appserver :00:00 Failed 12/16/2014 1:33 PM.. And in Event viewer - 
    System
    Provider
    [ Name]
    Microsoft-SharePoint Products-SharePoint Foundation
    [ Guid]
    {6FB7E0CD-52E7-47DD-997A-241563931FC2}
    EventID
    6398
    Version
    15
    Level
    1
    Task
    12
    Opcode
    0
    Keywords
    0x4000000000000000
    TimeCreated
    [ SystemTime]
    2014-12-16T11:33:37.846840300Z
    EventRecordID
    41822872
    Correlation
    [ ActivityID]
    {CD50D69C-AE16-00AA-3D5F-ECACB6C25BFE}
    Execution
    [ ProcessID]
    11368
    [ ThreadID]
    3216
    Channel
    Application
    Computer
    AppServername
    Security
    [ UserID]
    S-1-5-21-1708537768-1425521274-1417001333-40380
    EventData
    string0
    Microsoft.SharePoint.Administration.SPUpgradeJobDefinition
    string1
    13096a33-a91b-4c73-ae6c-e0ba750c5d4e
    string2
    Object reference not set to an instance of an object.
    And, also from Sharepoint Log file -
    Updating SPPersistedObject SPUpgradeJobDefinition Name=job-upgrade. Version: -1 Ensure: False, HashCode: 16745860, Id: 13096a33-a91b-4c73-ae6c-e0ba750c5d4e, Stack:    at Microsoft.SharePoint.Administration.SPJobDefinition.Update()    
    at Microsoft.SharePoint.Administration.SPTimerStore.CheckEnterUpgradeMode(SPFarm farm, Object& jobDefinitions, Int32& timerMode)     at Microsoft.SharePoint.Administration.SPTimerStore.InitializeTimer(Int64& cacheVersion, Object&
    jobDefinitions, Int32& timerMode, Guid& serverId, Boolean& isServerBusy)     at Microsoft.SharePoint.Administration.SPNativeConfigurationProvider.InitializeTimer(Int64& cacheVersion, Object& jobDefinitions, Int32& timerMode,
    Guid& serverId, Boolean& isServerBusy)
    Updating SPPersistedObject SPUpgradeJobDefinition Name=job-upgrade. Version: 2925660 Ensure: False, HashCode: 16745860, Id: 13096a33-a91b-4c73-ae6c-e0ba750c5d4e, Stack:    at Microsoft.SharePoint.Administration.SPJobDefinition.Update()    
    at Microsoft.SharePoint.Administration.SPTimerStore.CheckEnterUpgradeMode(SPFarm farm, Object& jobDefinitions, Int32& timerMode)     at Microsoft.SharePoint.Administration.SPTimerStore.InitializeTimer(Int64& cacheVersion, Object&
    jobDefinitions, Int32& timerMode, Guid& serverId, Boolean& isServerBusy)     at Microsoft.SharePoint.Administration.SPNativeConfigurationProvider.InitializeTimer(Int64& cacheVersion, Object& jobDefinitions, Int32& timerMode,
    Guid& serverId, Boolean& isServerBusy)
    Created upgrade job definition id 13096a33-a91b-4c73-ae6c-e0ba750c5d4e, mode InPlace, entering timer upgrade mode
    Queued timer job Upgrade Job, id {13096A33-A91B-4C73-AE6C-E0BA750C5D4E}
    Updating SPPersistedObject SPUpgradeJobDefinition Name=job-upgrade. Version: 2925663 Ensure: False, HashCode: 6922919, Id: 13096a33-a91b-4c73-ae6c-e0ba750c5d4e, Stack:    at Microsoft.SharePoint.Administration.SPJobDefinition.Update()    
    at Microsoft.SharePoint.Administration.SPUpgradeJobDefinition.Execute(Guid targetInstanceId)     at Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition.ExecuteAdminJob(Guid targetInstanceId)     at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition
    jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)     at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)
    The Execute method of job definition Microsoft.SharePoint.Administration.SPUpgradeJobDefinition (ID 13096a33-a91b-4c73-ae6c-e0ba750c5d4e) threw an exception. More information is included below.  Object reference not set to an instance of an object.
    And after that it all fails and Timer Jobs ain't working on App server, on WFE servers eveyrthing is allright and working as it needs to be.
    I searched a lot of forums and different, but none of offered solutions ain't working, and that is not good.
    PS. On development server eveything worked fine, looked through log files and this job run without any errors - Dev server is one in all installation, though.
    If there is somebody who can help me with this, I would appreciate your help.
    TY!

    TY for your response,
    I used the script to update timer job config, but that isnt helping, and, also, this isnt a timer job that is already in timer job definitions. Its the one, that's created and after execution gets deleted, because its grayed out in timer job history page
    and I cant access it. if you look closer at log files I have pasted, you will see that the timer job that is created gets deleted almost immediatily and isnt executed and after that all timer jobs on my App server aint working and this happens every time after
    I restart Timer Service on App server, event ID is 6398, but timer job config cache isnt the problem.
    And, as much as I cant tell from logs - Object reference not set to an instance of an object. - I recieve this error because there is no timer job with ID, that is shown in error, because of this:
    Deleting the SPPersistedObject, SPUpgradeJobDefinition Name=job-upgrade.
    Maybe this information cansomehow help:
    The Execute method of job definition Microsoft.SharePoint.Administration.SPUpgradeJobDefinition (ID 910fbcdc-2691-490e-a9e9-563ae767612e) threw an exception. More information is included below.  Object reference not set to an instance of an object.
    After previous error:
    Exception stack trace:    at Microsoft.SharePoint.Administration.SPUpgradeJobDefinition.Execute(Guid targetInstanceId)     at Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition.ExecuteAdminJob(Guid targetInstanceId)
        at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)
    And after that Upgrade timer job gets deleted and thats it, App server aint working like it nedds to and no Timer job are executed.
    I hope this can help to narrow this problem down to a specific component or help resolve this error.
    Rihards

  • ERROR VNIC creation job failed

    Hello All,
    I have brought oracle VM X86 manager into ops center 12c control. When I try to create a new virtual machine it is throwing the ‘ERROR VNIC creation job failed’ error. Can anybody throw some light over this issue.
    Thanks in advance.
    Detailed log is
    44:20 PM IST ERROR Exception occurred while running the task
    44:20 PM IST ERROR java.io.IOException: VNIC creation job failed
    44:20 PM IST ERROR VNIC creation job failed
    44:20 PM IST ERROR com.sun.hss.services.virtualization.guestservice.impl.OvmCreateVnicsTask.doRun(OvmCreateVnicsTask.java:116)
    44:20 PM IST ERROR com.sun.hss.services.virtualization.guestservice.impl.OvmAbstractTask.run(OvmAbstractTask.java:560)
    44:20 PM IST ERROR sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    44:20 PM IST ERROR sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    44:20 PM IST ERROR sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    44:20 PM IST ERROR java.lang.reflect.Method.invoke(Method.java:597)
    44:20 PM IST ERROR com.sun.scn.jobmanager.common.impl.TaskExecutionThread.run(TaskExecutionThread.java:194)
    Regards,
    george

    Hi friends
    I managed to find the answer. Internally it is has some indexes in the data base level. It still maintains the indexes in the shadow tables. Those all need to be deleted. With our Basis team help I have successfully deleted those and recreated the indexes.
    As Soorejkv said sap note 1283322 will help you on this to understand the scenarios.
    Thank you all.
    Regards
    Ram

  • Hi Post Upgrade Job Failing

    HI All,
    We have recently done the Upgrade from BW 3.1 to BI 7.0
    There is a issue regarding the POST Upgrade
    One Job is failing every day
    The name of the JOB is BI_WRITE_PROT_TO_APPLLOG
    And the Job log is
    06/18/2008 00:04:55 Job started                                                          00           516          S
    06/18/2008 00:04:55 Logon of user PALAPSJ in client 200 failed when starting a step      00           560          A
    06/18/2008 00:04:55 Job cancelled
                                                           00           518          A
    This Job is actually running the program
    RSBATCH_WRITE_PROT_TO_APPLLOG
    when i try to run this program with my user id its working
    but with the other user id which it is schedule its failing giving the messages as mentioned in the job log
    Kindly suggest me
    REgards
    janardhan K

    Maybe it's a dialog and no system or background user. so the job fails.
    Regards,
    Juergen

  • Error in Control Framework: Background job failed

    Hi Experts,
    One background job failed with job log: Error in Control Framework in ECC 6.0 system; the job is supposed to produce a XML report. Can anyone please give some idea on this why it could happen? One SAP note 893534 has described same kind of issue but in CRM system. That note even cant be implemeneted in ECC 6.0. Any workaround? Is it a BASIS issue here?
    Thanks & Regards,
    SKB

    Hello,
    please check the variant. We had this problem, and when checking the variant I got a shortdump because the variant did not fit to the program (there were problems with subscreens in the selection screen). After adjusting the variant with program RSVARDOC_610 the variant was ok.
    I can not check if this solved the problem because the job runs weekly, and the next job is on Monday. But give it a try...
    HTH,
    Jens Hoetger

Maybe you are looking for

  • Music skips on Windows 8.1 64-bit with iTunes 12.1

    Okay, this is probably going to sound strange, but its true..... When I am listening to music in iTunes 12.1 and I have Google Chrome opened, the music skips. I can open any other application and not have that problem, just only when Chrome is opened

  • TO NOKIA: Why no 4G option in unbranded roms like ...

    TO NOKIA: Why no 4G option in unbranded roms like the greek one? When the 4g firmware will be available. Why someone must not be able to choose between 3g and 4g in un branded sim free phones? Solved! Go to Solution.

  • F110 - Sending mail to factor (Vendor)

    Hi all, During the payment campaign (F110) I want that Vendor and factor (associated to the previous vendor) receive an email with letters. Vendor and factor have email adress on view communication (master data) but only when I go to SOST only the Ve

  • How to Change repository in Discoverer 11g

    Hi Experts, i hope this is a very good question . we have installed discoverer 11g on a dev databse successfully and i worked fine for few days . suddenly our database got corrupted and lost so we have created a new database with same old name and de

  • HT4009 In-app Purchase Help

    I tried to purchase a replenishable in app purchase, and it's saying "please contact iTunes support to complete this transaction". Do I have to wait a certain amount of time to try to purchase it again, or does it have something to do with my credit/