Oracle 10g R2 dbms_scheduler ora-00054

Hello

I use dbms_scheduler in Oracle 10 g R2 to treat a list of requests in a queue table. I use work stations in my package. I realize that sometimes, one of the stage of the chain may fail with error Ora-00054. We can remedy the situation by adding a chain rule if the task has failed due to the error Ora-00054, run "dbms_scheduler.alter_running_chain (jobname, stepname, 'STATE', 'NOT_STARTED') and expect the work to run again?"

Hello

It is possible to do. Let go to the step that breaks down step-x, you need to create a new stage for example re-step-x, that points to a program that would do an alter the string to assign to the _started not step-x and re-step-x running.

As a rule you check if ': step-State: x = "IMPOSSIBLE" and: step - x.error_code = 54' and if so start re-step-x.

You can see the exact syntax of the here

http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28419/d_sched.htm#CHDBAFJE

Hope this helps,
Ravi.

Tags: Database

Similar Questions

  • Oracle 10g XE: 12154 ORA - TNS could not solve not connect identifier

    Hi all

    I'm a newbie in the world of the database. I downloaded Oracle 10 g XE and it works fine. I also downloaded Microsoft SQL Server 2008 R2 Trial Version and I want to connect to it.

    I installed the Oracle Instant Client and unpacked in ORACLE_HOME. When I add the ODBC Data Sources and test this I get an error: < h5 > ORA 15154 - TNS couldn't solve connect identifier < / h5 >

    I modified the listener.ora and tnsnames.ora files and also the environment varialbe TNS_ADMIN pointing/ORACLE_HOME/Network/Admin. I also added ORACLE_HOME to the PATH variable. I did a tnsping and in the command line lsnrctl status and all looks fine.

    TNS_ADMIN: < h5 > C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN < / h5 >
    Path: < h5 > C:\oraclexe\instantclient_11_2; C:\oraclexe\app\oracle\product\10.2.0\server\bin < / h5 >

    My listener.ora and tnsnames.ora files are as follows:

    -----
    tnsnames.ora
    -----
    < h5 >
    H1. OracleXE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.66)(PORT = 1521))
    (CONNECT_DATA =
    (= 192.168.1.66 SERVER)
    (SERVICE_NAME = XE)
    (HS = OK)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )

    XE1 = (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.1.66)
    (PORT = 1521))

    (CONNECT_DATA = (SERVICE_NAME = XE)
    )

    (HS = OK))

    < / h5 >
    -----
    Listener.ora
    -----
    < h5 >
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = XE)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = HSODBC)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.66)(PORT = 1521))
    )
    )

    DEFAULT_SERVICE_LISTENER = (XE)
    < / h5 >

    Any help would be much appreciated. I tried everything but no success at all.

    Is "PL/SQL Developer" installed in ...\program files (x 86)-...?

    If this is the case (and everything else is excluded) you could try to reinstall the software to another location, i.e. the drive completely without brackets.

  • How do I get ORA-00054 resource busy and acquire with NOWAIT specified

    Hello

    I have a wizard process that performs various actions to save before you commit at the end of the process.

    I know that from the primary key of the record form input to act on. I wish to lock this record for any other user can try to change at the same time.

    I am aware that must use select for update nowait.

    How do I intercept this error and give the neat message and the shape of the output in the form initialization code? Can I use the exception to a description block where select for update is executed or do I have to use the trigger for the error and inspect the dbms_error_code? I would like to no ora-00054 to be handled as usual.

    Thank you

    You can declare an exception for ORA-0054, catch, display an error, exit the screen:

    http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14261/errors.htm#BABGIIBI

    see you soon

  • Oracle 10g of MSSQL 2005 database link

    Hello

    We are configuration link database to oracle 10g of mssql 2005

    Thanks to the heterogeneous connectivity. We get the following error when testing database link.

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    ORA-28541: error in the HS on line 1 init file.

    ORA-02063: preceding 2 lines of < SID >

    28500 00000 - "connection between ORACLE and a non-Oracle system has sent this message:

    * Cause: The cause is explained in the forwarded message.

    * Action: See documentation for the non-Oracle of the transmission system

    Message.

    Error on line: column 4:19

    Can someone guide correct configeration of Hetrogeneous Service and why the error arises.

    Thank you

    Basu,

    Dg4ODBC gateway can be used with the 10.2.0.5 database. It is certified and no additional license is required for the database to ODBC gateway - the license is included in the license database (even when the Oracle database is still version 10.2) AND you can also install Dg4ODBC on another machine, then the Oracle database. There is no need to have Dg4ODBC installed on the same computer as the Oracle database.

    -When you install DG4ODBC on the same machine as your Oracle 10.2 database, then install in its own, separate OH - otherwise you will corrupt your existing installation of the database.

    -Klaus

    Post edited by: kgronau

  • ORA-00054. Is possible to interrupt the cancellation and delete then table?

    Hello.

    I m import a long table with utility IMP.

    When has spent a lot of hours and the process was near complete I ORA-30036 and a restore operation was launched.

    I m trying to drop/truncate the table to avoid the wait, but the cause of the restore process I ORA-00054 and I have to wait for several hours to try to import again.

    My question is: there is a way to interrupt this restore operation and delete the table without inducing an inconsistent state of the database?

    I m working with Oracle 9i on Windows plataform

    concerning

    No, it isn't.

  • How to send a mail in oracle 10g

    I am new to oracle developer... we use oracle 10g developer... How to send messages via oracle 10 g on a click.pease button help me.

    Thanks in advance

    This question was asked several times on this forum, see if you get the help of the following:

    https://forums.Oracle.com/message/5395438#5395438

    Search results: https://forums.oracle.com/thread/search.jspa?peopleEnabled=true&userID=&containerType=&container=&q=form+email

    Check this out as well:

    http://nzchaudhry.WordPress.com/2013/05/31/send-report-via-email-attachment-in-Oracle-Forms-10G/

    You can find the init.ora or initSID.ora file under $ORACLE_HOME/dbs on linux and Windows under $ORACLE_HOME/database. Otherwise, you can create using the command "create pfile from spfile.

    Aneel

  • Urgent: db link from oracle 10g to sql server 2000

    Hello

    I have an oracle 10g db connection to sql server 2000. It was created a couple of years. This works.

    I have now created another link db of the same oracle on the same sql server server but it does not work.

    But I'm getting ORA-28500 and error IM002

    . Please notify.

    I can't understand what is wrong as I followed the hs odbc set up on this link db in the same way as I did 2 years ago.

    Thank you

    Shailaja

    Just sort the problem.

    Basically, I use HSODBC to connect to SQL Server from Oracle (on windows 2003 64-bit).

    To do this, I need to create a connection ODBC from Oracle to SQL Server.

    HSODBC is a 32-bit application and is why we use the ODBC 32-bit driver when we create the ODBC connection.

    When I created the connection ODBC from Oracle to SQL Server, I used the ODBC 64-bit driver and that's why the system could not find the name of the data source.

    I have now created connection ODBC from Oracle to SQL Server via the ODBC 32-bit driver and everything works fine now.

    No offense to anyone, but as you all works using Oracle software, I was hoping a better answer than some of the answers above. You can say that you did not understand the question or you do not know the reason why it happened.

    I have just listed how the problem was fixed so that in the future one having the same problem can benefit.

  • ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired

    Hi all

    I use oracle 11.2.0.3 with 3 node rac ODI.

    I have the table which I am not able to fall and give the error below.

    SQL > drop table I$ _CDS_FAULT_DEV1;

    fall of table I$ _CDS_FAULT_DEV1

    *

    ERROR on line 1:

    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired

    SQL > show parameter ddl_lock

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    DDL_LOCK_TIMEOUT integer 300

    I changed to 100 but still the same error too, I checked and there is no lock. Can you please provide me with a way to solve this problem.

    Kind regards

    DBApps

    For sure there are locks, because the table is in use.

    Drop table wants an exclusive lock on the dictionary or the corresponding records.

    When the table is used there will be a lock from line on the document in the dictionary.

    Have you consulted with SGS$ access?

    Please do so now.

    -------------

    Sybrand Bakker

    Senior Oracle DBA

  • Nightly jobs and error ORA-00054

    Today, I discovered that some of my scripts for the task has failed with error ORA-00054.
    TRUNCATE TABLE MY_SCHEMA. MV_005 STORAGE REDUCTION
    ORA-00054: resource busy and acquire with NOWAIT specified

    This is the first time that this error occurs: all these scripts run on regular basis and using Oracle Grid Engine.

    (1) is it possible now to know what and how the other session was using this table?
    (2) how to avoid this error?

    Pedro.

    If you're on 11 GR 1 material you can issue:

    alter session set ddl_lock_timeout=60
    
    DDL_LOCK_TIMEOUT
    Property      Description
    Parameter type      Integer
    Default value      0
    Modifiable      ALTER SESSION
    Range of values      0 to 1,000,000 (in seconds)
    Basic      No
    

    DDL_LOCK_TIMEOUT indicates how long between DDL statements patient in a DML lock queue. The default value of zero indicates a State of NOWAIT. The maximum value of 1 000 000 seconds will result in the DDL statement for still pending to acquire a DML lock.
    If a lock is not acquired before the expiration of the period time, then an error is returned

    Otherwise, you can create a procedure to intercept the error ORA-00054 and try again

  • Oracle 10g homepage not opening not... Oracle DB not listening to port 8080.

    I installed oracle 11g xe and home page did not come to the top. same thing happens when I installed oracle 10g xe. The homepage can be connected and run sql command line is also not not opening. I checked in services.msc that OracleServiceXE and OracleXETNSListener is running.

    Firewall is disabled. Using XP SP3. Already had Oracle 8i and uninstalled and deleted all remaining sound files manually.

    I opened cmd and typed-

    C:\ > SQLPLUS / as sysdba startup

    I got this result-

    SQL > startup ORA-01078: failure in the treatment of the system ORA-01565 settings: error in the identification of the files 'C:\oraclexe\app\oracle\product\10.2.0\serv er\dbs/spfileXE.ora' ORA-27041: could not open the OSD-04002 file: could not open the file S/O-error: (OS 2) the system cannot find the file specified. SQL > disconnected

    I typed-

    C:\ > telnet localhost 8080

    I got this result-

    Connecting to localhost... Could not open connection to the host, on port 8080: connection failed

    I did not the configuration changes to all files .ora and nothing is listening on port 8080. I deleted IE (off the frustration of slow speed), and only have Chrome, Firefox n Safari on my system. Does it matter?

    I also disabled WLAN n DB restarted but of no use... Check the LSNRCTL status given.

    LSNRCTL > status
    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - production
    ction
    Start date December 2, 2011 10:00:30
    Uptime 0 days 0 h 21 min 31 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Default Service XE
    Listener parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener log file C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Summary of endpoints listening...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = guddus-comp)(PORT=1521)))
    Summary of services...
    Service 'CLRExtProc' has 1 instance (s).
    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    The command completed successfully

    For the removal of Win services, find out about 'sc' (sc delete).

    Path indicators system of additional Oracle installs (ora92...). Who installs is 'in progress' and who is uninstalled?

    What happens if you just to open a command prompt and run oradim?

    What is the oracle.key file exists in dir\bin House xe? What is its content?

  • How to use Oracle 10g (LOGMINER) consistent with DBA privileges JKM

    Hi gurus,

    Transposition of the CDC, we are checking out JKM Oracle 10g coherent (LOGMINER).
    Only restriction is that we can have no privilege DBA granted to the user of the ODI.

    So far, I did the following

    JKM Oracle 10g compatible (LOGMINER) uesed with

    ASYNCHRONOUS_MODE = NO
    AUTO_CONFIG = NO
    JOURNAL_TABLE_OPTIONS: USERS


    1 source schema: test
    2. There are 2 tables (DEPT_CDC_SRC and EMP_CDC_SRC) in the schema of the TRIAL, the two were added to the process of the CDC
    3 schema work: cdc

    4. from SYS schema the following grants were given to ODI work shema user.

    Grant connect, the cdc resources
    GRANT SELECT ANY TABLE OF CDC
    Grant EXECUTE ON dbms_stats to cdc
    Grant execute on DBMS_CDC_PUBLISH at CDC
    Grant execute on DBMS_CDC_UTILITY to CDC
    Grant execute on DBMS_CDC_SUBSCRIBE at CDC
    Grant execute on DBMS_STREAMS_CDC_ADM to CDC
    Grant execute on DBMS_CDC_IPUBLISH to CDC
    Grant execute on DBMS_CDC_SYS_IPUBLISH to CDC
    Grant execute on DBMS_CDC_ISUBSCRIBE at CDC
    Grant execute on DBMS_CDC_DPUTIL to CDC
    Grant execute on DBMS_CDC_EXPDP to CDC
    Grant execute on DBMS_CDC_EXPVDP to CDC
    Grant execute on DBMS_CDC_IMPDP to CDC

    5. as a user SYSDBA has done the following:
    ====================================
    SHUTDOWN IMMEDIATE;
    BOOTABLE MEDIA;
    ALTER DATABASE ARCHIVELOG;
    ALTER DATABASE OPEN;
    ALTER SYSTEM ARCHIVE LOG START;
    ALTER SYSTEM SWITCH LOGFILE;
    ===================================

    6 start journal... it fails to create the stage newspaper.
    with the following error
    ORA-06512: at "SYS." DBMS_CDC_PUBLISH.

    7. for the goal conceded role DBA to CDC test and start the log it is successful

    8 revoked of CDC DBA and restart the log. It still fails to form newspaper market.
    with the same error i.e.
    ORA-06512: at "SYS." DBMS_CDC_PUBLISH.

    How to solve this problem without any DBA privilege to the scheme of ODI work?

    Kind regards
    Frédéric

    Published by: 804400 on November 24, 2010 02:39

    Hello

    http://www.DBA-Oracle.com/t_insifficient_privileges_create_view_grant.htm said

    You must have the privileges of the object that you made from tables

    Privileges required to create views

    To create a view, you must meet the following requirements:

    You must have been granted the CREATE VIEW (to create views in your schema) or CREATE ANY VIEW (to create a view of another user schema) system privilege, either explicitly, or by a role.

    You need to explicitly obtain the SELECT, INSERT, UPDATE, or DELETE privileges object on all underlying base objects in the view or system privileges SELECT ANY TABLE, INSERT a WHOLE TABLE, UPDATE ANY TABLE or DELETE ANY TABLE. You may not have gotten these privileges through roles.

    I hope this helps.

    Thank you
    Fati

  • IMP-00058: ORACLE error 1017 met ORA-01017: invalid username/passwo

    I want to run the Import tool with the user's system, I do not see as you see below script:
    D:\TÖÖ\exp_ddl.dmp>sqlplus system/[email protected] as sysdba
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 4 16:40:58 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    
    Connected to:
    Personal Oracle Database 10g Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> ALTER USER "SYSTEM" IDENTIFIED BY VALUES 'a';
    
    User altered.
    
    SQL> quit;
    Disconnected from Personal Oracle Database 10g Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    D:\TÖÖ\exp_ddl.dmp>imp userid=system/[email protected] file=exp_cas_ddl.dmp log=exp_ca
    s_ddl.log full=y
    
    Import: Release 10.2.0.1.0 - Production on Mon Oct 4 16:41:31 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    
    IMP-00058: ORACLE error 1017 encountered
    ORA-01017: invalid username/password; logon deniedUsername: system
    Password:
    
    IMP-00058: ORACLE error 1017 encountered
    ORA-01017: invalid username/password; logon deniedUsername: SYSTEM
    Password:
    
    IMP-00058: ORACLE error 1017 encountered
    ORA-01017: invalid username/password; logon denied
    IMP-00005: all allowable logon attempts failed
    IMP-00000: Import terminated unsuccessfully
    
    D:\TÖÖ\exp_ddl.dmp>sqlplus system/[email protected] as sysdba
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 4 16:41:53 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    
    Connected to:
    Personal Oracle Database 10g Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> select sysdate from dual;
    
    SYSDATE
    ---------
    04-OCT-10
    
    SQL> quit;
    Disconnected from Personal Oracle Database 10g Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    D:\TÖÖ\exp_ddl.dmp>sqlplus system/[email protected]
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 4 16:46:13 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    ERROR:
    ORA-01017: invalid username/password; logon denied
    
    
    Enter user-name:
    I read the following thread:
    Re: how to use sys as sysdba to import the database
    That did not help much either i think.
    I want is to have a single command that works "Imp" and gives the name tns-database as an input parameter and the user_id parameter must be in pramaters. I can run this way Import?

    What about:

    alter user system identified by A;
    

    I guess that the command "change user identified byvalues '" is the command to settig the encrypted password.
    Only, it will be useful carry passwords of a database to another, but do not for the definition of passwords initially.

    Edited by: hartmutm the 04.10.2010 07:22

  • connect the form builder to oracle 10g express?

    Hello

    How to connect the 10 form builder to oracle 10g express?

    Developer suite Home use Net Configuration Assistant to create an alias TNS (tnsnames.ora entry).

  • Import the schema in oracle 10G

    I had imported schema oracle 10g to oracle 7 s. but I found that all the tables are imported.
    When I looked in the log file, I found the message below.
    ->
    IMP-00003: ORACLE error 1659
    ORA-01659: impossible to allocate MINEXTENTS beyond 10 in the CCD_DATA tablespace
    IMP-00017: statement failed with error ORACLE 1917:
    < -.

    Could someone help me in this issue.

    Thanks in advance.
    Vijay

    ORA-01659: impossible to allocate MINEXTENTS beyond 10 in the CCD_DATA tablespace

    Increase storage space (resizing existing datafile) or add the data file to CCD_DATA

  • Oracle 10g first procedure

    pls help
    I installed oracle 10g on my windows 2003 server and configured a database.
    whenever I try to create a simple procedure in sys and scott it showing an error error ora02550 and some other error and procedural error not valid... . How can I solve this problem... I reinstalled the system, but again the same error...

    It seems that you get the error ORA-06550

    Error:
    ORA-06550: line num, column num: str
    Cause:
    You tried to compile a PLSQL code block, but a compilation error occurred.
    Action:
    To resolve the error Oracle options:

    Check the line and column numbers (in the error message) to find the compile error and correct it. Then try to recompile your code.

    Or create another basic procedure and check if you can run it or not. Try following:

    SQL> create or replace procedure p
      2  is
      3  begin
      4  dbms_output.put_line('hello');
      5  end;
      6  /
    
    Procedure created.
    
    SQL> set serveroutput on;
    SQL> exec p;
    hello
    
    PL/SQL procedure successfully completed.
    
    SQL>
    

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com
    [Step by step installation Oracle Linux and automate the installation by using Shell Script | http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

Maybe you are looking for

  • I can't do on the Satellite L505-GS5035 Toshiba Recovery

    Hello My L505 (GS5035) came with win 7 home recovery in a will get 10 GB partition is invisible in windows / my computer this version of windows by fault/recovery work properly... and I got it 2 times with the F8 Toshiba Recovery WizardBut I decided

  • 1 error to open the file + .vi in labview 8.5

    Hello I get a 1 error message whenever I try to run a part of this program. The program is great, but the problem is focused on a specific part in the case of IPCE where I try to read a file that is already saved on the computer. Basically, I run onc

  • I need to add an odbc connection to ms access on Server 2008 r2 sp1

    I have a BI application that uses ODBC data sources. One of these sources is MS Access.  The ODBC driver is not an option when I go to add a system DSN.  My COMPUTER says I want to add a complete Office Setup on the server, but I think it must be som

  • Upgrade memory EliteBook 2760p - removal of keyboard problems

    My 2760 p came with 4 GB, and I have now bought 2 x 8 GB to take up to 16 GB. The existing RAM is in the secondary area of RAM (under the keyboard) with another (primary) RAM location empty available under the basic sercie coverage. Use of the servic

  • ODI Jython os.system "&gt;" number of output file

    Hi, I have a 11 g to the server windows 2012 ODI.I noticed that when I run the script, jython as below:OS. System ("dir c:\\") is workingBut what questionOS. System (' dir c:\\------> c:\\temp\\out.txt "" ")No output file generated.Anyway to fix it?T