Oracle 10g R2 dbms_scheduler ora-00054

Hi,
I am using dbms_scheduler in Oracle 10g R2 to process a list of requests in a table queue. I am using job chains in my package. I realize that, at times, one of the chain step can fail with Ora-00054 error. Can we rectify the situation by adding a chain rule that if job failed due to Ora-00054 error, execute 'dbms_scheduler.alter_running_chain(jobname,stepname,'STATE','NOT_STARTED') and expect the job to run again?

Hi,
It is possible to do this. Let the step which fails be step-x You would need to create a new step e.g. rerun-step-x which points to a program that would do an alter running chain to set both step-x and rerun-step-x to not _started.
In the rule you would check if ':step-x:state=''FAILED'' and :step-x.error_code=54' and if so start rerun-step-x .
You can see the exact syntax supported here
http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_sched.htm#CHDBAFJE
Hope this helps,
Ravi.

Similar Messages

  • Oracle 10g XE and ORA-12514

    Hi,
    I just installed Oracle 10g XE on my computer (WinXP Home) and tried to use sqlplus to connect to the db by entering the following standard command:
    sqlplus system/system@XEUnfortunately I got ORA-12514 error
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    but then sqlplus prompts me once again for user name and pass (it does not prompt for service name) and after entering those two connection is established as shown below
    Enter user-name: system
    Enter password: <hidden_pass=system>
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Calling the command
    lsnrctl servicesgives me the following result
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUN-2007 21:51:00
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    I have no idea why the XE service is unavailable while it is properly configured in my tnsnames.ora file.
    I will appreciate your help and advices on how to configure the database to be able to connect to it by providing the service name.
    Best regards
    Mans

    Hm, 12514 or 12154?
    ORA-12154: TNS:could not resolve the connect
    identifier specifiedThis means that your tnsnames.ora (or other naming method) is missing the called for entry/stanza.
    E.g.
    C:\>sqlplus u/p@an_alias_not_defined
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 6 23:02:34 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/troublestng.htm#BABBBGGG
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/tnsus.htm#sthref14854
    >
    but then sqlplus prompts me once again for user name
    and pass (it does not prompt for service name) and
    after entering those two connection is established as
    shown belowIn the username field you could input for example user@service
    If this is the only oracle product installed on the machine, and you are connecting to it locally, you could use just
    sqlplus system/system
    which uses the "default" instance (on Windows, that is).
    lsnrctl services
    I have no idea why the XE service is unavailable
    while it is properly configured in my tnsnames.oralsnrctl serv is on the server side, it does not matter what you have in tnsnames.ora
    Normally the database should register itself to the listener, so the XE instance should have a service for it listed.
    If you restart the instance's Windows service, does it show up in the listener?
    Message was edited by:
    orafad

  • Oracle 10G Encryption Problem - ORA-28353: failed to open wallet

    I have an Oracle 10g R2 database. I would like to use the Transparent Database Encription on a table. However, whenever I try to create or open a wallet I get the following error:
    ORA-28353: failed to open wallet
    I have a directory called wallet in the $ORACLE_BASE directory. I've checked Meta-Link. I can't seem to find any information on what to do.
    Any out-of-the-box ideas.
    Thanks,
    John

    Hi,
    Did you follow the procedure described in Oracle 10g documentation titled as 'Advanced Security' about "Using Transparent Data Encryption" (Chapter 3).????
    Also , in the advisable actions of Oracle about this type of error is this....
    Action: Execute the command again using the correct wallet password or verfying a wallet exists in the specified directory. If necessary, create a new wallet and initialize it.
    Regards ,
    Simon

  • ORA-00054 error when loading Oracle table using Data Services

    Hello,
    we are facing ORA-00054 error when loading Oracle table using BO Data services
    (Oracle 10g database, BODS Xi 3.2 SP3)
    Test Job performs
    1- truncate table
    2- load table (tested in standard and bulk load modes)
    Scenario when issue happens is:
    1- Run loading Job
    2- Job end in error for any Oracle data base error
    3- When re-running the same Job, Job fails with following error
         ORA-00054: resource busy and acquire with NOWAIT specified
    It seems after first failure, Oracle session for loading the table stays active and locks the table.
    To be able to rerun the Job, we are forced need to kill Oracle session manually to be able to run the Job again.
    Expected behaviour would be : on error rollback modifications made on table and BODS stops Oracle session in a clean way.
    Can somebody tell me / or point me to any BODS best practice about Oracle error handling to prevent such case?
    Thanks in advance
    Paul-Marie

    the ora-0054 can occure depending how the job failed before. If this occures you will need the DBA to release the lock on the table in question
    Or
           AL_Engine.exe on The server it creates the Lock. Need to Kill Them. Or stop it..
    This Problem Occurs when we select The Bulkloading Option in orclae  We also faced the same issue,Our admin has Killed the session. Then everything alright.

  • ORA-03106  Error when connecting to Oracle 10g from Forms 6i

    I have migrated my database from Oracle 8.0.5 to Oracle 10g, version 10.0.1.0.3 through import-export utility. During migration, one difference I made was to change the NLS_LANG to UTF8 from ANSI.
    The NLS_LANG for client is AMERICAN_AMERICA.WE81S08859P1.
    I am using HP ML370 Proliant Server and running Red Hat Enterprise Linux AS version 3 with Oracle 10g
    My client-server application is based on Oracle Developer version 2.1. I am using forms 5.0 and reports 3.0 only.
    The problem with me is that the client-server application is working against the upgraded database, but with greatly downgraded speed. The .fmb files cannot be compiled, however some of the .rdf files are compiled successfully, but remaining not.
    My question is that is Developer 2000 (Forms 5.0.6 and Reports 3.0.5) compatable with Oracle 10 database, as my application is running very slow ?
    I tried Forms 6i to remove this problem. I used Forms Developer 6i Recut version and successfully installed on Windows XP, however, when try to create connection using Net 8 Easy Utility, the connection does not establish with following error:
    ORA-03106 : fatal two-task communication protocol error
    The entry has been checked in tnsnames.ora and is found correct. I also tried connecting through SQL, but the application closes.
    The patch set 17 for installation on Windows XP has also been applied, but still the same error persits.
    The same installation has also been checked on Windows 2000, but the same problem persists.
    I would be thankful if any one provide me solution for the same. Where I am mistaken and what do I do to get out of this problem.
    Regards
    Naveen.

    Naveen,
    Forms 5.0 is not certified and not tested with Oracle DB 10g because it was desupported before 10g got released.
    The other problem is hard to give a generic answer for and I suggest to address this to metalink.oracle.com
    Frank

  • Repeated ORA-12547 Messages after installing Oracle 10g

    Hi,
    I installed Oracle 10g on a Redhat ES 3 box, and the install went okay, but when I try and interact with the server I get the message:
    ORA-12547: TNS: lost contact
    For example, if I use the Database Configuration Assistant to attempt to create a database, I will see the above message when it begins the database creation process, or if I try to interact with the Oracle server using sqlplus I will see the above message after each command entered.
    I had recently tried to install Oracle 8.1.7 on the same box, but abandoned that after deciding that the effort required to link Oracle 8 on RHES3 just wasn't worth it. I have been told that this previous partial installation may be the cause of the problem, and have been advised to uninstall Oracle 8, uninstall Oracle 10g, and reinstall Oracle 10g. I find it hard to believe that it would require such an action to solve this problem. Is there any configuration changes I can make to resolve it? Also, what does this message actually mean?
    I am new to Oracle, so thanks for any help with this problem.
    Colm.

    My last message asking for a grater degree of specificity was not overly specific, hence I am posting the kernel parms that I have set with the hopes that you will spot one that I set improperly or one that I neglected to set.
    [root@awyr ~]# cat /proc/sys/kernel/shmmax
    2147483648
    [root@awyr ~]# cat /proc/sys/kernel/shmmni
    4096
    [root@awyr ~]# cat /proc/sys/kernel/shmall
    2097152
    [root@awyr ~]# ipcs -lm |grep "min seg size"
    min seg size (bytes) = 1
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $1}'
    250
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $2}'
    32000
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $3}'
    100
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $4}'
    128
    [root@awyr ~]# cat /proc/sys/fs/file-max
    65536
    [root@awyr ~]# cat /proc/sys/net/ipv4/ip_local_port_range
    1024 65000
    [oracle@awyr Desktop]$ ulimit -n
    63536
    [oracle@awyr Desktop]$ ulimit -u
    4091
    [oracle@awyr Desktop]$ ulimit -a
    core file size (blocks, -c) 0
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    max locked memory (kbytes, -l) 32
    max memory size (kbytes, -m) unlimited
    open files (-n) 63536
    pipe size (512 bytes, -p) 8
    stack size (kbytes, -s) 8192
    cpu time (seconds, -t) unlimited
    max user processes (-u) 4091
    virtual memory (kbytes, -v) unlimited
    from sysctl -a
    my fs.file-max = 65536
    in my limits.conf I added:
    oracle soft nofile 4096
    oracle hard nofile 63536
    in my (1) /etc/pam.d/system-auth (2) /etc/pam.d/sshd (3) /etc/pam.d/su (4) /etc/pam.d/login
    files I added:
    session required pam_limits.so
    and verified that it exists
    in my limits.conf I added
    oracle soft nproc 2047
    oracle hard nproc 16384
    my /etc/oratab has:
    orcl:/usr/local/oracle/app/oracle/oracle/product/10.2.0/db_1:N
    I tried to change the N at the end to a Y but to no avail
    my /etc/oraInst.loc has:
    inventory_loc=/usr/local/oracle/app/oracle/oraInventory
    inst_group=oinstall
    Thanks again for your atention
    Richard

  • ORA-01722: Invalid number - error only in Oracle 10g?

    While trying to insert a numeric value into a decimal column, I get this error. Hitherto, my update statements used to look fine.
    Can anyone let me know if this enforcement is specific to Oracla 10g? I am running :
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Thanks in advance for your help!
    Niranjan

    Well, you've a blank space which isn't a number, that's why you have an error.
    Please see the following example to have a default value :
    SQL> create table tutu (id number, text varchar2(10));
    Table created.
    SQL> alter table tutu modify id default 0;
    Table altered.
    SQL> insert into tutu values (' ', 'NoWork');
    insert into tutu values (' ', 'NoWork')
    ERROR at line 1:
    ORA-01722: invalid number
    SQL> insert into tutu values (null,'NullValue');
    1 row created.
    SQL> insert into tutu (text) values ('Default');
    1 row created.
    SQL> insert into tutu values (1,'NonDefault');
    1 row created.
    SQL> select * from tutu;
            ID TEXT
               NullValue
             0 Default
             1 NonDefault
    SQL> Nicolas.
    Message was edited by:
    N. Gasparotto

  • ORA-01722: invalid number error coming in Oracle 10g.

    Hi,
    We are getting the error "ORA-01722: invalid number" while opening a cursor using CURSOR FOR LOOP.
    This error has started coming only after we have migrated to Oracle 10g from Oracle 9i. Earlier the same code used to work properly. And also on Oracle 10g, its not happening every time. Sometimes it gives error while sometimes it works.
    Does anybody know about any such bug in Oracle 10g. Our cursor is a parametrized cursor accepting a VARCHAR2 parameter and the value we are passing to it is also character.
    Our database is Oracle 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production and is running on UNIX server.

    And also on Oracle 10g, its not happening every time. Sometimes it gives error while sometimes it works. This is typically due to
    a) environment settings that differ from session to session
    b) or more often, data
    The actual error means that Oracle expects a number and is unable to obtain a number from the input (data or SQL or bind variables) supplied. I agree with William that it looks a lot like an implicit TO_NUMBER() conversion failing.
    Why not add a debug exception handler to the code? When that exception occurs, dump the PL/SQL call stack and values of all variables and parameters to a debug/logging table (using an autonomous transaction).

  • ORA-12154 while installing Oracle 10g on windows 7

    Hi,
    I am trying to install Oracle 10g express edition on my machine (core 2 duo 2.93) running on Windows 7.
    The installation moves on perfectly for the 1st step and while running the 2nd step (Net configuration Assistant), it gives the ORA-12154 error.
    The contents of my configuration files at this point are as follows:
    Listener.ora
    =============
    SID_LIST_ORCL =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = ORCL)
    (ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    ORCL =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    =============
    And that of tnsnames.ora is:
    =============
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    =============
    After some googling around, I have found and installed the Microsoft Loopback adapter too (since my LAN is DHCP enabled) and also tried to turn on the firewall on my machine to check if it is not a problem with the port 1521 being blocked by the firewall.
    However, even after all that I still get the error "ORA-12154: TNS:could not resolve the connect identifier specified." while running the Net configuration Assistant and/or running SQL Plus to connect to the SID - ORCL.
    I can only see one service running in my services by the name : OracleOraDb10g_home1TNSListenerORCL
    Any suggestions or advice on the error would be much welcome.
    Is it anything related to Windows 7 ? Because I have managed to install using the same installer on another machine which runs Windows XP and everything seems fine there.
    Thanking you all in anticipation.
    Shreyas

    user12753151 wrote:
    Hmmm.. but then I'd have expected some installation error. I have read around that people have managed to install oracle on windows 7.
    The error displayed seems to be indicating that there is some configuration or permissions issue.Check that the user has permission to write in the ORACLE_HOME\network\admin - UAC might be blocking that.
    Install with software only, and run netca & dbca separately to create the database after the s/w install. (That's the way it is done in production anyway, so get used to it.)
    But yes - you still may have problems. Those who did fake it out on Windows 7 usually understand what to do. If you are smart enough to actually do it, my hat is off to you.

  • Ora-00604 while installing Oracle 10g on Windows XP SP2

    I was installing Oracle 10g on Windows XP but the dbca was failling. So I tried to create a database manually.
    But every time I launch this:
    "SQL> startup nomount pfile="C:\oracle\product\10.2.0\admin\XP10G\scripts\initXP10G.ora";"
    I always had:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    I tried to change some memory value in the init*.ora without more success.
    So if anyone has been had such issue; he would be an help for me.
    Thansks
    MUGANGA

    initXP10G.ora is a 3 Kbytes file created by OEM and updated by Dos edit program. Here bellow is the contain:
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Cache and I/O
    db_block_size=8192
    db_cache_size=25165824
    db_file_multiblock_read_count=16
    # File Configuration
    control_files=("C:\oracle\product\10.2.0\oradata\XP10G\control01.ctl", "C:\oracle\product\10.2.0\oradata\XP10G\control02.ctl", "C:\oracle\product\10.2.0\oradata\XP10G\control03.ctl")
    db_recovery_file_dest=C:\oracle\product\10.2.0\flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Cursors and Library Cache
    open_cursors=150
    processes=100
    # Diagnostics and Statistics
    background_dump_dest=C:\oracle\product\10.2.0\admin\XP10G\bdump
    core_dump_dest=C:\oracle\product\10.2.0\admin\XP10G\cdump
    user_dump_dest=C:\oracle\product\10.2.0\admin\XP10G\udump
    # Miscellaneous
    compatible=10.2.0.1.0
    # Job Queues
    job_queue_processes=10
    # Database Identification
    db_domain=""
    db_name=XP10G
    # SGA Memory
    sga_target=177209344
    # Processes and Sessions
    processes=150
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=XP10GXDB)"
    # Security and Auditing
    audit_file_dest=C:\oracle\product\10.2.0\admin\XP10G\adump
    remote_login_passwordfile=EXCLUSIVE
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=58720256
    shared_pool_size=83886080
    nls_territory='SWITZERLAND'
    nls_language='FRENCH'

  • ORA-06502: PL/SQL: numeric or value error While Exporting in Oracle 10g

    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in AR8MSWIN1256 character set and AL16UTF16 NCHAR character set
    server uses AR8ISO8859P6 character set (possible charset conversion)
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions
    . exporting system procedural objects and actions
    . exporting pre-schema procedural objects and actions
    . exporting cluster definitions
    . about to export SYSTEM's tables via Conventional Path ...
    . . exporting table DEF$_AQCALL 0 rows exported
    . . exporting table SRC_RQST_SEQ 1 rows exported
    EXP-00091: Exporting questionable statistics.
    . . exporting table SRC_USERS 6 rows exported
    EXP-00091: Exporting questionable statistics.
    . . exporting table SRC_YEAR_LOOKUP 40 rows exported
    EXP-00091: Exporting questionable statistics.
    . . exporting table TENDER_DETAIL_TABLE 36 rows exported
    EXP-00091: Exporting questionable statistics.
    . . exporting table TENDER_MASTER_TABLE 34 rows exported
    EXP-00091: Exporting questionable statistics.
    . . exporting table TENDER_NEW_DETAIL_TABLE 4 rows exported
    EXP-00091: Exporting questionable statistics.
    . exporting synonyms
    . exporting views
    EXP-00056: ORACLE error 6502 encountered
    ORA-06502: PL/SQL: numeric or value error
    LPX-00210: expected '<' instead of 'n'
    ORA-06512: at "SYS.UTL_XML", line 152
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 7195
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 9135
    ORA-06512: at "SYS.DBMS_METADATA", line 1882
    ORA-06512: at "SYS.DBMS_METADATA", line 3707
    ORA-06512: at "SYS.DBMS_METADATA", line 3689
    ORA-06512: at line 1
    EXP-00056: ORACLE error 6502 encountered
    ORA-06502: PL/SQL: numeric or value error
    LPX-00210: expected '<' instead of 'n'
    ORA-06512: at "SYS.UTL_XML", line 152
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 7195
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 9135
    ORA-06512: at "SYS.DBMS_METADATA", line 1882
    ORA-06512: at "SYS.DBMS_METADATA", line 3707
    ORA-06512: at "SYS.DBMS_METADATA", line 3689
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    Plz reply me the appropriate Solution
    Edited by: user8920919 on May 3, 2010 12:27 AM

    hi,
    EXP-00091: Exporting questionable statistics The client character set(NLS_LANG) does not match the server character;
    select parameter,value from nls_database_parameters where parameter like '%CHARACTERSET%';
    and check the client system character set
    - Pavan Kumar N
    - ORACLE OCP - 9i/10g
    https://www.oracleinternals.blogspot.com

  • Cretaion of UTL.File in Oracle 10G and directory entry in Ora.ini file

    Hi,
    Kindly advise me if:
    (!) we can create a directory and log file in this directory on some other server instead of creating it in the file system of the server where the Oracle 10G database is residing?
    Created directory in Oracle using create or replace directory command.
    My package will be creating a log file using UTL.File in the above directory.
    I want to create this directory on some other server to save my log file/s. Is this possible?
    (2) Also, let me know in Oracle 10G, do we need to add the directory entry (mention above in #1) in the Ora.ini file on the Oracle 10G server?

    Hi,
    1) utl_dir are different from directory object
    2) you cannot create directory on remote server and there is no need to write directory entry on oracle init file (not ini..)
    Acr

  • ORA-12157 when installing Oracle 10g on Fedora 5?

    Hi, Im installing Oracle 10g on Fedora 5, I did it once, but when I tried to set it up again I
    got this error on the last part of the install...
    ORA-12157: TNS: internal network communication error
    Anybody know what might cause this?
    I think I have installed all required RPMs and set environment variables, kernel parameters,
    created oracle users and groups as needed, but still get the above error. I searched the error and some claim it is a problem using newer glibc 2.4.4, so I tried installing on Fedora 4 and had the same error even with glibc 2.3???
    Thanks so much,
    Jon

    Oracle Database 10g Release 2 (10.2.0.1) Installation On Fedora Core 5 (FC5 X86) Step by Step
    This is a Server Installation with a minimum of 2G swap, secure Linux disabled and the following package groups installed:
    Editors
    Graphical Internet
    Administration Tools
    Base
    X Window System
    System Tools
    Server Configuration Tools
    GNOME Desktop Environment
    Development Libraries
    Development Tools
    Legacy Development Support
    Legacy Server Support
    Alternative installations may require more packages to be loaded, in addition to the ones listed below.
    Download Software
    Unpack Files
    Hosts File
    Set Kernel Parameters
    Setup
    Installation
    Post Installation
    Download Software
    Download the following software:
    Oracle Database 10g Release 2 (10.2.0.1) Software
    openmotif21-2.1.30-14.i386.rpm
    Unpack Files
    Unzip the files:
    unzip 10201_database_linux32.zipYou should now have a single directory containing installation files. Depending on the age of the download this may either be named "db/Disk1" or "database".
    Hosts File
    The /etc/hosts file must contain a fully qualified name for the server:
    <IP-address> <fully-qualified-machine-name> <machine-name>Set Kernel Parameters
    Add the following lines to the /etc/sysctl.conf file:
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    # semaphores: semmsl, semmns, semopm, semmni
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default=262144
    net.core.rmem_max=262144
    net.core.wmem_default=262144
    net.core.wmem_max=262144Run the following command to change the current kernel parameters:
    /sbin/sysctl -pAdd the following lines to the /etc/security/limits.conf file:
    * soft nproc 2047
    * hard nproc 16384
    * soft nofile 1024
    * hard nofile 65536Add the following line to the /etc/pam.d/login file, if it does not already exist:
    session required /lib/security/pam_limits.soDisable secure linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows:
    SELINUX=disabledAlternatively, this alteration can be done using the GUI tool (Desktop > System Settings > Security Level). Click on the SELinux tab and disable the feature.
    Setup
    Install the following packages:
    # From Fedora Core 5 DVD
    cd /media/dvd/Fedora/RPMS
    rpm -Uvh setarch-*
    rpm -Uvh --force tcl-*
    rpm -Uvh libXp-*
    rpm -Uvh openmotif-2*
    rpm -Uvh compat-db-*
    rpm -Uvh compat-libstdc++-33*
    rpm -Uvh compat-libf2c-32-*
    rpm -Uvh compat-gcc-32-*
    rpm -Uvh libaio-*
    rpm -Uvh compat-gcc-32-c++-*
    rpm -Uvh compat-libstdc++-296*
    rpm -Uvh compat-libgcc-296*
    # From download
    rpm -Uvh openmotif21-2.1.30-14.i386.rpmCreate the new groups and users:
    groupadd oinstall
    groupadd dba
    groupadd oper
    useradd -g oinstall -G dba oracle
    passwd oracleCreate the directories in which the Oracle software will be installed:
    mkdir -p /u01/app/oracle/product/10.2.0/db_1
    chown -R oracle.oinstall /u01Login as root and issue the following command:
    xhost +<machine-name>Edit the /etc/redhat-release file replacing the current release information (Fedora Core release 5 (Bordeaux)) with the following:
    redhat-4Login as the oracle user and add the following lines at the end of the .bash_profile file:
    # Oracle Settings
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
    ORACLE_SID=TSH1; export ORACLE_SID
    ORACLE_TERM=xterm; export ORACLE_TERM
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
    if [ $USER = "oracle" ]; then
    if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
    else
    ulimit -u 16384 -n 65536
    fi
    fiInstallation
    Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable:
    DISPLAY=<machine-name>:0.0; export DISPLAYStart the Oracle Universal Installer (OUI) by issuing the following command in the database directory:
    ./runInstallerEnter the appropriate ORACLE_HOME and name then continue with the installation.
    During the installation, before the linking phase, edit the contents of the "$ORACLE_HOME/bin/gennttab" file, amending the following entries:
    # Change this...
    LIB=`$ECHO ${TtoLIB} | $SED 's/ /\\
    /g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
    INI=`$ECHO ${TtoINI} | $SED 's/ /\\
    /g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
    BAS=`$ECHO ${TtoBAS} | $SED 's/ /\\
    /g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
    # To this...
    LIB=`$ECHO ${TtoLIB} | $SED 's/ /\n/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
    INI=`$ECHO ${TtoINI} | $SED 's/ /\n/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
    BAS=`$ECHO ${TtoBAS} | $SED 's/ /\n/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`If you don't do this the ntcontab will hang indefinitely during the linking phase.
    Post Installation
    Edit the /etc/redhat-release file restoring the original release information:
    Fedora Core release 5 (Bordeaux)Finally edit the /etc/oratab file setting the restart flag for each instance to 'Y':
    TSH1:/u01/app/oracle/product/10.2.0/db_1:Y
    Ref.: http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnFedora5.php

  • ORA-22275 writing BLOB using Oracle 10g

    Am trying to INSERT a record including a BLOB. Using Visual C++ 6.0, Oracle 10g, and Oracle ODBC Driver.
    Setup calls to SQLAllocStmt, SQLBindParameter (for the BLOB, only), and SQL_LEN_DATA_AT_EXEC all are ok as far as can be told. (Return code is zero.)
    After setup calls, call to SQLExecDirect returns -1 (error with info) and the info is error ORA-22275 (invalid LOB locator specified). (Was expecting 99 (SQL_NEED_DATA) to start feeding LOB data.)
    This same code ran under Oracle 9i, but fails under 10g. Did not even rebuild the code.
    Does anyone have any ideas?
    Thanks in advance

    This was resolved in the latest 10g ODBC driver (10.1.0.3.1)
    Jon

  • ORA-12952 and Oracle 10g XE problem with migration to 11g XE

    Hi, all
    My DB (Oracle 10g XE) reach storage limit. I have tried to migrate to 11g XE version but unsuccessful.
    For migration I used next manual: http://download.oracle.com/docs/cd/E17781_01/install.112/e18803/toc.htm#XEINW136
    expdp returned next error:
    Processing object type DATABASE_EXPORT/SCHEMA/CLUSTER/INDEX
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.CREATE_OBJECT_ROWS while calling FORALL [TABLE]
    ORA-12952: The request exceeds the maximum allowed database size of 4 GB
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 116
    ORA-06512: at "SYS.KUPW$WORKER", line 6248
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    2D6F0304 14916 package body SYS.KUPW$WORKER
    2D6F0304 6300 package body SYS.KUPW$WORKER
    2D6F0304 5638 package body SYS.KUPW$WORKER
    2D6F0304 2145 package body SYS.KUPW$WORKER
    2D6F0304 6861 package body SYS.KUPW$WORKER
    2D6F0304 1262 package body SYS.KUPW$WORKER
    285BD50C 2 anonymous block
    Next I have tried to garbage some information from DB but I got some as "UNDO cannot get next block" error.
    What else can I do to migrate the data from 10g with limitation problem to 11g?
    Thank You in advance.

    There is output from SQL:
    "OWNER"; "TABLESPACE_NAME"; "COUNT(*)"; "SIZE_MB"
    "A1"; "USERS"; "899"; "3995,9375"
    "SYS"; "SYSTEM"; "980"; "323,1875"
    "FLOWS_020100";"SYSAUX"; "658"; "297,625"
    "SYS"; "SYSAUX"; "626"; "151,125"
    "XDB"; "SYSAUX"; "753"; "84,5"
    "SYSTEM";"SYSTEM"; "259"; "31,75"
    "SYS"; "UNDO"; "10"; "20,25"
    "MDSYS"; "SYSTEM"; "96"; "12,25"
    "SYSTEM";"SYSAUX"; "109"; "6,8125"
    "CTXSYS";"SYSAUX"; "74"; "4,625"
    "D1"; "USERS"; "14"; "3,5625"
    "DBSNMP";"SYSAUX"; "25"; "1,5625"
    "HR"; "USERS"; "25"; "1,5625"
    "FLOWS_FILES";"SYSAUX"; "7"; ",5"
    "OUTLN"; "SYSTEM"; "8"; ",5"
    "TSMSYS";"SYSAUX"; "4"; ",25"
    1. When I tried to delete some old data from USERS dataspase by some PROCEDURE I got the next error:
    ERROR at line 1:
    ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDO'
    This problem I solved. PROCEDURE generate huge buffer for transaction. Therefore I deleted the old data by small pieces.
    After I have deleted the old data the Application start to comunicate with database without ORA-12952 error.
    2. I've reduced the size of SYSAUX (http://remidian.com/oracle/purging-sysaux-tablespace-purging-awr-reports.html) down to 94%
    3. I has SYSTEM tablespace 100% full. When I've tried to resize the SYSTEM table up I got the ORA-12952. Then I've increased the SYSTEM table size by 1M. In such way I got additional 9Mb for the SYSTEM tablespace (from 360Mb to 369Mb 98%). Is any other way to reduce of the SYSTEM tablespace filling?
    4. Next (http://wiki.oracle.com/page/Data+Pump+Export+%28expdp%29+and+Data+Pump+Import%28impdp%29)
    on the step: $ expdp system/<password> DIRECTORY=expdp_dir DUMPFILE=expfull.dmp FULL=y LOGFILE=expfull.og
    i got the error:
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.CREATE_OBJECT_ROWS while calling FORALL [TABLE]
    ORA-12952: The request exceeds the maximum allowed database size of 4 GB
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 116
    ORA-06512: at "SYS.KUPW$WORKER", line 6248
    There is my last state of the tablespace filling:
    "Tablespace"; "Size (MB)"; "Free (MB)"; "% Free"; "% Used"
    "UNDO"; "500"; "411,6875"; "82"; "18"
    "SYSAUX"; "570"; "31,5"; "6"; "94"
    "USERS"; "4180"; "178,875"; "4"; "96"
    "SYSTEM"; "369"; "1,25"; "0"; "100"
    "TEMP"; "291"; "0"; "0"; "100"

Maybe you are looking for