OEM Job hanged

I have executed a simple query (select name from v$datafile) for testing purpose from OEM 10g Grid Control on a database(8.1..7.0) by preparing a job and now it got hanged.
I tried to stop the job, kill it, but its not working. Even I killed the session from the database but its still showing the Job status as "Stop pending". Appreciate your help.
Edited by: user10929871 on Apr 2, 2009 3:53 AM

That could be a tricky issue,there's no simple answer. Refer to metalink:
How to Force Stop a Stuck Job in Grid Console
Doc ID: 430626.1
Werner

Similar Messages

  • Background Job hangs!

    Hello Friends,
    I am encountering a problem with background jobs which has driven me crazy.
    The background job hangs and when I try to debug it using the JDBG command the results are surprising.
    When the program control reaches a particular PERFROM statement, then no matter what command I give (F5, F6 or if I double click on any of the variables) it hangs. When I press F5, it should atleast go in to the corresponding FORM, and hang during some processing or it should go into an infinite loop but this is not the case. The system hangs even when I press F5 on the PERFORM. The FORM routine exists in the program, so that possibility is ruled out.
    Actually the job processes records of a custom table, this problem starts with a particular record and if I skip the processing of this record then it happens with almost all the records after this one. Also, this does not happen every time the job is run, but whenever it does, it starts with a particular record.
    When the system hangs then even if I try to stop the transaction by right clicking on the task bar then it has no effect, the only way to close the session is by using the 'Windows task manager'.
    I tried transaction SM50, but there were no changes on that screen for this particular session indicating that it has hanged.
    Please let me know if you require any more information.
    Thanks and Regards,
    Haseeb.

    Hi,
    Debug it in Sm66.
    kishore.

  • Background job hanging reasons

    background job hanging reasons

    Could you provide little more detail of the issue you encountering.
    One of the reason could be 100% utilization of the CPU, all your background process might being used in parallel.
    Check the load in the transaction st03n
    To prevent this you may want to use load balancing on various application servers using the transaction smlg.
    You may also want to define a flow of the the jobs, like job B should start after job A has completed.
    Let us know more details of the environment to allow us to help you better
    Thanks & Regards
    Abhinav

  • SSIS 2012 job hangs dataflow task

    hi all,
    i have 2 data flow tasks in a package that run based on parameters.
    the package is being run as a sql agent job using catalog execution model.
    the job sometimes hangs without reason. also, when i looked at the target sql tables, only few rows have been loaded into the 2 target tables and stopped when the job hanged,
    the data flow tasks loads data from source into a target sql table.please advice on why the job hangs, are there issues with the catalog model of ssis 2012 that is causing this?

    Perhaps this info (scripts) somehow shed light on the problem
    http://sqlblog.com/blogs/davide_mauri/archive/2014/07/23/ssisdb-analysis-script-on-gist.aspx
    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

  • AQ Propagation job hanging

    Hi,
    We have an Oracle 11 Enterprise Edition installed on our central UNIX environment.
    On the other side we have a PC's that runs an oracle 11 xe database on Windows.
    Between these databases, data is send with AQ.
    Now, we noticed that when AQ is sending data and at that same moment the network connection between the databases is interrupted, then the propagation job hangs.
    Restarting the progragation also is hanging because of the hanging progagation job.
    The hanging propagation job is then killed on the UNIX at the central environment.
    When this issue occurs when sending from the PC to the central server, we reboot the PC.
    Afterwards we can restart the propagation.
    Is someone recogniziging this problem?
    Is this a know bug?

    Probably better off asking AQ questions in the AQ forum.
    Advanced Queueing
    Cheers,

  • Ssis job hangs

    i am using ssis 2012 jobs hang randomly,
    today, when i ran the profiler, i found the below, please please guide on how to prevent hangs
    exec sp_executesql N'
            --Preparing to access the Catalog object
            DECLARE @t_catalogs TABLE (
            Name sysname COLLATE SQL_Latin1_General_CP1_CI_AS,
            EncryptionAlgorithm nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS,
            SchemaVersion int,
            SchemaBuild nvarchar(256) COLLATE SQL_Latin1_General_CP1_CI_AS,
            OperationLogRetentionTime int,
            MaxProjectVersions int,
            OperationCleanupEnabled bit,
            VersionCleanupEnabled bit,
            ServerLoggingLevel int,
            OperationLogNumberOfRecords int,
            VersionLogNumberOfRecords int)
            IF DB_ID(''SSISDB'') IS NOT NULL
            BEGIN
            INSERT INTO @t_catalogs VALUES(
            ''SSISDB'',
            (SELECT [property_value] FROM [SSISDB].[catalog].[catalog_properties] WHERE [property_name]  = N''ENCRYPTION_ALGORITHM''),
            (SELECT CAST([property_value] AS INT) FROM [SSISDB].[catalog].[catalog_properties] WHERE [property_name]  = N''SCHEMA_VERSION''),
            (SELECT [property_value] FROM [SSISDB].[catalog].[catalog_properties] WHERE [property_name]  = N''SCHEMA_BUILD''),
            (SELECT CAST([property_value] AS INT) FROM [SSISDB].[catalog].[catalog_properties] WHERE [property_name]  = N''RETENTION_WINDOW''),
            (SELECT CAST([property_value] AS INT) FROM [SSISDB].[catalog].[catalog_properties] WHERE [property_name]  = N''MAX_PROJECT_VERSIONS''),
            (SELECT CAST([property_value] AS BIT) FROM [SSISDB].[catalog].[catalog_properties] WHERE [property_name]  = N''OPERATION_CLEANUP_ENABLED''),
            (SELECT CAST([property_value] AS BIT) FROM [SSISDB].[catalog].[catalog_properties] WHERE [property_name]  = N''VERSION_CLEANUP_ENABLED''),
            (SELECT CAST([property_value] AS INT) FROM [SSISDB].[catalog].[catalog_properties] WHERE [property_name]  = N''SERVER_LOGGING_LEVEL''),
            (SELECT COUNT(operation_id) FROM [SSISDB].[catalog].[operations]),
            (SELECT COUNT(object_id) FROM [SSISDB].[catalog].[object_versions])
            END
    SELECT
    ''IntegrationServices[@Name='' + quotename(CAST(SERVERPROPERTY(N''Servername'') AS sysname),'''''''') + '']'' + ''/Catalog[@Name='' + '''''''' + REPLACE((SELECT Name from @t_catalogs), '''''''', '''''''''''') + '''''''' + '']'' +
    ''/CatalogFolder[@Name='' + '''''''' + REPLACE(folders.[name], '''''''', '''''''''''') + '''''''' + '']'' + ''/ProjectInfo[@Name='' + '''''''' + REPLACE(projects.[name], '''''''', '''''''''''') + '''''''' + '']'' + ''/EnvironmentReference[@Name=''
    + quotename(refs.[environment_name],'''''''') + '' and @EnvironmentFolderName='' + quotename(ISNULL(refs.[environment_folder_name], ''.''),'''''''') + '']'' AS [Urn],
    refs.[reference_id] AS [ReferenceId],
    refs.[project_id] AS [ProjectId],
    refs.[reference_type] AS [ReferenceType],
    ISNULL(refs.[environment_folder_name], ''.'') AS [EnvironmentFolderName],
    refs.[environment_name] AS [Name],
    refs.[validation_status] AS [ValidationStatus],
    CAST (refs.[last_validation_time] AS datetime) AS [LastValidationTime]
    FROM
    [SSISDB].[catalog].[folders] AS folders
    INNER JOIN [SSISDB].[catalog].[projects] AS projects ON projects.[folder_id]=folders.[folder_id]
    INNER JOIN [SSISDB].[catalog].[environment_references] AS refs ON refs.[project_id]=projects.[project_id]
    WHERE
    (projects.[name]=@_msparam_0)and((folders.[name]=@_msparam_1)and(((SELECT Name from @t_catalogs)=@_msparam_2)and((CAST(SERVERPROPERTY(N''Servername'') AS sysname)=@_msparam_3))))',N'@_msparam_0 nvarchar(4000),@_msparam_1 nvarchar(4000),@_msparam_2 nvarchar(4000),@_msparam_3
    nvarchar(4000)',@_msparam_0=N'Staging,@_msparam_1=N'Staging',@_msparam_2=N'SSISDB',@_msparam_3=servername

    this is useless
    Nobody would be able to repro using what you provided.
    But I suspect some locking / blocking does occurs.
    Suggestion: apply any missing service packs, and I typically hear this being reported on a box literally brought to its knees by the amount of tasks vs. resources available. Put Perf Counters to use and you will most likely find out that the machine is starved
    on CPU and RAM thus the intermittent job hangs.
    Arthur My Blog

  • OEM Job and Event  - No Results

    Hi,
    How are you doing today? Well, I need your help. I am new DBA for one month old. I want to run OEM Jobs and Events.
    I am able to log with sysman/oem_temp
    i have created credential for node and database.
    I am able to work on other parts except these two.
    I am able to create job and event
    after creating job . I am getting status as submitted.but it is not executing immediately.it is the same problem with event also.
    In event ,one event get registered but another event status is not registered then i have checked for detail
    error is like this
    vd:1523 - there is no agent on node(server)
    i didn't get what is inteligent agent and how to get it on node?
    Well I have created new user with Windows 2000 having privileges for batch processing. same user is created in oracle database as well as oem administrator.
    with same user database connection i am trying to create new job and event but it is not executing. i mean no results.
    I know I am making you more confused.Sorry.......
    I would like to ask your favour can I mail u if I have any query in future.
    Thanks a lot in advance.
    -Deepak

    The intelligent agent is a process which has to run on the same node like the database you want to supervise with the OEM. You have to install the intelligent agent during the installation process of the database. After having installed the agent you have to start it (via the services panel in Windows). After that you have to ensure that the agent has discovered a database instance on the node (there should be entries for node, listener and database in the services.ora file in the ORACLE_HOME\network\agent directory). If this is all ok and the events or the jobs still doesn't work it may be a communication problem (are you using a firewall between the database node and the management server, or do you use network adress translation?).

  • OEM JOB List

    Hi
    I am working oracle 10g OEM. I would like to see OEM Job list using mgmt sql.
    I am looking for following columns
    Name
    Status (Executions)
    ScheduledSorted in descending order
    Targets
    Target Type
    Owner
    Job Type
    Thanks
    Ranga

    Modify this according to your own
    select distinct
    JOB_NAME,                                
    a.JOB_ID,
    JOB_OWNER,                                
    JOB_DESCRIPTION,
    b.SCALAR_VALUE,                                 
    JOB_TYPE      ,                          
    TARGET_TYPE    ,                                  
    IS_LIBRARY      ,                                 
    IS_RESTARTABLE   ,                                
    START_TIME        ,                               
    END_TIME      ,                                   
    TIMEZONE_TYPE  ,                                  
    TIMEZONE_REGION ,                                 
    SCHEDULE_TYPE    ,                                 
    INTERVAL          ,                               
    EXECUTION_HOURS    ,                               
    EXECUTION_MINUTES
    from mgmt$jobs@emrep a, mgmt_job_parameter@emrep b where
    a.job_id = b.job_id and a.is_library = 1 and b.parameter_name = 'args'
    order by a.job_name ;

  • OEM Job schedule definition to Flat file

    Can anyone advice me on the best method of extracting a OEM Job schedule definition - from an existing OEM server - to a flat file executable deployment script i.e. SQL*Plus script, schell script e.t.c.
    Your help will be most appriciated.

    Thanks for your response. Is this fuctionality usable after OEM Job creation?
    Message was edited by:
    kayvic01

  • LMS 3.2 RME 4.3.1 Archive Jobs hang

    LMS 3.2 Windows 2003 R2 8Gig RAM
    Managing ~4000 devices currently on LMS 3.1. Built new LMS3.2 server and patched to RME 4.3.1.
    Import from csv file works fine and RME inventory collection/ Campus Manager Data Collection all works perfectly.
    Archive Jobs hang (at random device #'s) after starting successfully.
    I have tried restarting ConfigMgmtServer process, rebooting, even reinit CMF, RME and ANI db and starting from scratch but issue persists.
    Are there any known issues with LMS 3.2 on Archive Jobs hanging or should I debug and open TAC case?

    Resolution Summary:Checked the dcmaService.log and found the following recurring statements.
    com.cisco.nm.xms.xdi.pkgs.LibCommon.common.CommonUtility,getMinSupportedVersion,406,Descr = 12.2(50)SE
    [ Tue Oct 26  15:58:45 CDT 2010 ],DEBUG,[main],com.cisco.nm.xms.xdi.pkgs.LibCommon.common.CommonUtility,getMinSupportedVersion,405,suppSysId = .1.3.6.1.4.1.9.1.927
    [ Tue Oct 26  15:58:45 CDT 2010
    Checked that the device IOS was well above the version specified in the logs, so thought may be an issue with the device packages.
    Checked the mdf version was 1.25 which came as default when we install LMS 3.2, so upgraded the mdf version to 1.45.
    Still the issue didn't got solved, so upgraded the RME device packages and now the archive job was successful.
    Message was edited by: Dheeraj Gera

  • Background Job Hanged but no work process assigned

    Hi,
    Background job has hanged When i see in SM37. But no work process assigned to this job. All work process are waiting status.
    What could be the reason. What is the resolution process.
    Thanks,
    Dayakar

    How did you come to a conclusion that the bg job is hangend.
    What is the status of the job. ? I guess  Job defined, but not yet eligible to run even if the start condition has been fulfilled so it should be in Scheduled status.

  • 9i OEM Jobs Won't Complete

    Hello Everyone. I have a 9i OEM repostitory on Windows 2003 server. The Repository was originially on a windows NT server. I moved the repository and created OMS and agent on the new server and everything came up properly. Agent pings to the console and I can run host jobs. But when I execute a sql*plus job the job goes into a started state but never returns to say complete. Any ideas?

    Followed Instruction from document 71913.1 Still did not work.
    The Job executes, It will actual create an export dmp file on the network, It just will not update OMS that the job has complete. Th job stays in "Started" status.
    What services or functions are used to update job status?
    I do have 10g forms and reports installed on this machine.
    Can two oracle homes be causing the problem?

  • Oracle 11g OEM job issue

    Hi all,
    After Oracle 11g migration, i have been facing issues in OEM scheduling. Twice the job did not run even after 11.2.0.7 upgrade. Hence i would like to explore the possibility of scheduling the same in DBMS jobs (we have not faced even a single failure since migration). However there is no mail alert available for successful completion of the job. In this regard i would like to have your views and help to create alerts to proceed further.
    Thankx

    Hi Ravi,
    Really the link helps,eventhough i have been looking for the rootcause to overcome from the job failure(scheduled jobs)
    Actually after completion/succeded of my scheduled job i may also get "INITIALIZATION ERROR" status message,so i need to be Re-schedule the particular job again
    for next day.
    Look up screenshot of the error
    Job Name=OEM_FLEET_ICL_SEND_6_30_AM_DAILY
    Job Owner=SYSMAN
    Job Type=SQL Script
    Target Type=Database Instance
    Timestamp=Apr 19, 2011 6:30:44 AM
    Status=Initialization Error
    Step Output=
    Command:Output Log
    SQLPlus: Release 11.2.0.2.0 Production on Tue Apr 19 06:30:15 2011*
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> SQL> SQL> SQL> Connected.
    SQL> SQL> SQL> SQL>
    PL/SQL procedure successfully completed.
    SQL> SP2-0103: Nothing in SQL buffer to run.
    SQL>
    Commit complete.
    SQL> SQL> SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    *~~~End Step Output/Error Log~~~*
    kindly advice me on this
    Thanks

  • Job hang in RUNNING state

    Hi,
    Database ver. 11g (11.1.0.7.0)
    I have created simple job using DBMS_SCHEDULER.
    begin
    dbms_scheduler.create_job (
    job_name => 'test_job',
    job_type => 'plsql_block',
    job_action => 'null;',
    enabled => true);
    end;
    SELECT job_name, job_action, schedule_type, state
    FROM all_scheduler_jobs
    WHERE job_name = 'TEST_JOB';
    JOB_NAME  JOB_ACTION   SCHEDULE_TYPE    STATE
    TEST_JOB   null;        IMMEDIATE      RUNNING
    SELECT job_name, session_id , running_instance, cpu_used
    FROM dba_scheduler_running_jobs
    WHERE job_name = 'TEST_JOB';
    JOB_NAME  SESSION_ID  RUNNING_INSTANCE, CPU_USED
    TEST_JOB   null          null          null Job is remaining in hang state, could you please let me know possible reason?
    Many thanks.

    Hi,
    Actually your syntax is exactly right for running a single run-immediate job.
    it looks like the slave running your job may have crashed or terminated unexpectedly. You should do a stop_job (force=>true) on your job and you should look through your job slave trace files j0trc for reasons why your job slave did not finish the job. You can also try grepping your job slave traces for the job name 'TEST_JOB' to find the right trace.
    Hope this helps,
    Ravi.

  • QRFC jobs hangs the system

    Hi,
      We have a problem with QRFCs. We created 50 queues programmatically and run some job in each queue. If the job is run directly, it takes only 2-3 minutes to finish. But when this is scheduled in the queue, in the queue monitor (SMQ1) it shows the process is running. Most of the dialog workprocess gets used up and the system hangs. We can't even login to the system. The situation is the same even after 24hrs and no actual work is done.
    I feel some problem with system settings. Looked in to some notes like 527481, but most of their suggestions regarding profile parameters are already the taken care.
    In the system log (SM21) I can see lots of these errors 'No APPC block received'.
    Please help..
    Regards
    Ajith Chandran

    The change or inclusion of these parameters worked for us.
    rdisp/wp_ca_blk_no     =  2000
    rdisp/max_comm_entries  = 1000
    rdisp/appc_ca_blk_no      =  500
    rdisp/max_arq = 1000
    rdisp/tm_max_no = 1000
    Regards

Maybe you are looking for

  • Lightroom 3 Help file corrupted???  Help!

    After using LR 3 since upgrade the help file says, as of today, it was improperly installed and not available. How do I reinstall just the help?? I've checked all the possible Adobe on-line resourses and even tried to call .. wait time is beyond my c

  • Screen Capture Problems

    I got this question from a client and can't find any answer. Is there a way to fix this short of reinstalling the operating system? Just a brief question of you regarding the screen shot - command-shift-4. When I do this I now get an alert sound with

  • Web Services tutorial problem (deploying hello service)

    Hi! I am getting an error when deploying helloservice example (using asant or web console). Message from web console error is pasted below. Essentially the WSDL file is not being created. How to solve this problem?? An error has occurred. Deploying a

  • How to Identify Main Report's Parameter

    Since I don't need the subreport parameters, how can I identify main report's parameters only? .ParameterFields

  • Code Number

    Hello, I was wandering how to get the code number for my Adobe Photo Shop Starter Edition 3.0 in order to use it with all it's many features? It seems that I am registered on the Adobe Forum site but, with no luck in getting code so it will let me wo