Oracle 10g Linux - Bad files on otn

Am I the only one that is having problems here...
I have tried downloading 10g over the past couple of days, multiple times. Each time, the files come in without issue but trying to unpack them with cpio (after un-gzipping them) gives me errors - every single time...
I've tried it from multiple computers on my network and have gotten the same results every time. I therefore have to believe that the archive files on OTN are borked.
root@raid:/data/isoimages/oracle# gunzip ship.ccd.cpio.gz
root@raid:/data/isoimages/oracle# gunzip ship.client.cpio.gz
root@raid:/data/isoimages/oracle# gunzip ship.crs.cpio.gz
root@raid:/data/isoimages/oracle# gunzip ship.db.cpio.gz
root@raid:/data/isoimages/oracle# cpio -idcmv <ship.db.cpio
cpio: warning: skipped 626773658 bytes of junk
cpio: Memory exhausted
root@raid:/data/isoimages/oracle# cpio -idcmv <ship.crs.cpio
cpio: premature end of file
root@raid:/data/isoimages/oracle# cpio -idcmv <ship.client.cpio
cpio: premature end of file
root@raid:/data/isoimages/oracle# ls -l
-rw-r--r-- 1 root root 515401728 Feb 27 17:57 ship.ccd.cpio
-rw-r--r-- 1 root root 413750784 Feb 27 17:54 ship.client.cpio
-rw-r--r-- 1 root root 125487104 Feb 28 03:19 ship.crs.cpio
-rw-r--r-- 1 root root 637000704 Feb 27 18:02 ship.db.cpio
Is there anyplace where standard ISO images are available instead of this non-standard cpio stuff?

That worked. Someone should ask Oracle to update the instruction page to remove the -c option from the cpio command line!
Thanks!

Similar Messages

  • Oracle 10g AS configuration file tutorial

    Is there any site from where I can get tutorial about oracle 10g AS configuration file? I have to modify the configuration file according to my application need.

    Hi,
    the OracleAs documentation contains a Forms Services deployment guide that explains all files used within Forms on the Web
    Frank

  • Oracle 10G Linux runInstaller Error in writing to directory

    RDBMS Version: 10.1.0.3.0
    Operating System and Version: Enterprise Red Hat Linux 4.0
    Linux runInstaller Error in writing to directory
    Steps :-
    1. Downloaded the Install 10.1.0.3 for Linux X86
    2. Followed the Instructions as per B15521-01
    3. When running runInstaller got below Error
    $ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8or UnitedLinux-1.0
    Failed <<<<
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2005-06-28_01-40-22PM/installActions2005-06-28_01-40-22PM.log
    4. Found Patch 4153257 after unzipping the file and running as below got another error
    $ ./runInstaller -paramFile /home/oracle/p4153257
    Starting Oracle Universal Installer...
    No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
    The Java RunTime Environment was not found at 0/bin/java. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.
    : No such file or directory
    5. Then Copied the oraparam.ini to the folder where the original oraparam.ini file was present ie /tmp/orcl/Disk1/install
    6. After running the installer again got below error
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8, UnitedLinux-1.0 or redhat-4
    Passed
    All installer requirements met.
    Checking Temp space: must be greater than 80 MB. Actual 3409 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 2055MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2005-06-28_01-53-49PM. Please wait ...sh: /tmp/orcl/Disk1/install/unzip: No such file or directory
    Error in writing to directory /tmp/OraInstall2005-06-28_01-53-49PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
    : Success
    7. Saw the Error that it was looking for unzip in /tmp/orcl/Disk1/install so Created a Soft link
    8. Still the other Error exists ie as below. Well the DIR is created and oracle user has written files. So not sure why it says check disk space or directory is writable.
    $ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8, UnitedLinux-1.0 or redhat-4
    Passed
    All installer requirements met.
    Checking Temp space: must be greater than 80 MB. Actual 3409 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 2055MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2005-06-28_02-23-50PM. Please wait ...
    Error in writing to directory /tmp/OraInstall2005-06-28_02-23-50PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
    : Success
    $ ls -al /tmp/OraInstall2005-06-28_02-23-50PM
    total 40
    drwxr-xr-x 3 oracle oinstall 4096 Jun 28 14:23 .
    drwxrwxrwt 44 root root 4096 Jun 29 04:03 ..
    -rwxr-xr-x 1 oracle oinstall 4036 Jun 28 14:23 command_output_27899
    drwxr-xr-x 2 oracle oinstall 4096 Jun 28 14:23 images
    -rwxr-xr-x 1 oracle oinstall 528 Jun 28 14:23 installActions2005-06-28_02-23-50PM.log

    I am not sure what was wrong in the Initial download of the Install.
    I did it again and this time it came properly and all the files in the install directory ie unzip was present and the Installer came up properly.

  • Copy and open Command in Oracle 10g Linux (Minut, Ubuntu)

    Dear All;
    I am facing one problem we used to copy any document and for open any document in WINDOWS
    Host('CMD /C COPY '||'"'||:Old_Doc||'"'||' X:\03\03\'||:New_Doc);
    Client_Host('Cmd /C Start '||'X:\03\03\'||:New_Doc);
    But these commands not running in Linux. Please provide me any solution that will help me to copy and open any kind of document in oracle 10g in Linux. I am waiting of your positive response. thx.

    I am not using any thing istead of HOST command, I dn't know any thing similier about HOST command. When I run this in Linux then it give me error message. I think there is something like HOST command in Linux but........ is it??

  • Oracle on Linux Library Files Equivalent

    Hi
    I installed RedHat Linux 6.0 and installed oracle downloaded. I
    have problem when porting my c programs, the following files are
    not available under LINUX where these library file are reqd in
    my earlier version on HP-Unix.
    Problem Summary :what is the equivalent of
    libcv6.a libc3v6.a libsqlnet.a libcore3.a
    Can someone let me know the equivalent files or any alternate
    solution to proceed further
    Thanx in advance
    Rgd
    GBS
    null

    That worked. Someone should ask Oracle to update the instruction page to remove the -c option from the cpio command line!
    Thanks!

  • How to Compare Two Oracle 10g Form(FMB) file.

    Hi,
    One developer had done some changes in one file called N004 version 2. I have done some changes in N004 version 3. If I like to see difference between two Oracle Form Version(FMB) then How can we see them..?
    Thanks,
    Div

    I'd convert it to xml before, as you can't be sure that two fmb's which are exact the same could look different in a text editor; first form got compiled with forms compiler and the second not => should not differ in functional way but I'm pretty sure that the files itself look diffrerent.
    regards

  • Oracle 10g Linux SLES, Physical Standby, Log Apply Stops

    Hi, ia am faced the following problem:
    Log applying on standby work perfect N days.
    (Managed recovery mode, not real time)
    Then just stops, without any (visible) reason.
    Cancel recovery does not work. There is nothing in log/ trace/ alert files. In v$ views - just "applying log N (let say) 877" - for hours.
    I kill DB Writer process on standby, do startup mount and "alter database recovery managed standby database disconnect from session". ...
    It works again N days perfect.
    I did not found nothing about that.
    Any ideas?
    Your help is highly appreciate, thank you in advance

    The error message (which you should have BTW looked up beforehand in the online error documentation, and apparently you didn't even do this minimal work) is self explanatory.
    Oracle can't reach the second server. You need to establish whether you can ping it on O/S level and whether you can TNSPING it.
    Problems will arise if the second server uses NAT and sends it's own IP address back, instead of the IP address it is known under by DNS.
    The Net administrators manual contains a troubleshooting chapter, as far as I remember this error is discussed in depth.
    Sybrand Bakker
    Senior Oracle DBA

  • Installing Oracle 10g XE cabinet file error

    I'ven been trying to install XE (production-version) on my PC, after removing the beta version first. I receive the following message during installation:
    ERROR 1335. The cabinet file 'Data1.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.
    Naturally I have tried downloading the whole file again, and rerunning the install program, but it comes up with the exact same message again. I don't think it very likely that a download will go wrong twice on independant occasions, so I assume something else is wrong. Can anyone help me?

    i get the same error. i tried installing both the singlebyte/english version and the multibyte/unicode version. both give the same error. anyone? thanx.

  • Oracle 10g +linux

    http://www.milinds.com/how_install_oracle_10g_r2_ubuntu_linux_032007
    7.logout and login again as oracle then open the .bashrc in your home (/home.oracle) and add following lines. (Change the ORACLE_SID from ORADBA to any other name of your choice but limit to 8 characters- thats your DB name)
    export ORACLE_BASE=/home/oracle/product
    export ORACLE_HOME=/home/oracle/product/10.2.0
    export ORACLE_SID=ORADBA
    export
    What is it mean by login and logout as oracle .Can anyone direct me with the commands please.
    Thanks!
    Message was edited by:
    user 987
    null

    useradd command is adding new users: oinstall,nobody and oracle
    -G specifies group for user being created
    man useradd can tell you everything about this...
    Sidhu

  • Minimal Oracle 10g required support files to run a C client

    Is ociw32.dll all I need? Do I have to include anything else in $ORACLE_HOME\bin? There are simply too many DLL's, such as oraclient10.dll, oracommon10.dll, oracore10.dll, orageneric10.dll...
    Thanks.

    Simple way is use Oracle Instant Client which requires minimum libraries

  • Is it possible to install Oracle 10g database on a linux Os ?

    Hello all,
    I recently installed Fedora 14, and oracle 10g free edition, on my modest laptop.
    Problem is , I can't upload any scripts, because as i recently learnt from my school teacher, Oracle only works smoothly with Internet explorer browser (i.e.).
    I tried using programs like winetricks to download a linux version of i.e. but in this case Oracle doesn't even open its homepage.
    -In a nutshell, does anyone know a possible way to work with oracle 10g , (or any alternative), that's fully functional on linux (fedora 14) ? Download, Install steps,etc.
    All i need to do is upload simple SQL scripts, and practice my " select from...." commands.
    -Is oracle linux a option ? and what is it?
    Thank you already for any replies, I'm really getting tired of googling threw different forums.

    865504 wrote:
    Ed,
    -i knew my teacher was being stubborn;
    -I meant that the winetricks version of i.e., didn't open the homepage of oracle 10g (=log in screen).
    -what i was trying to do was, after having installed oracle 10g , "go to data base homepage" (openend by firefox) , once logged in with my username, upload a script , and practice typing the different (select from ...group by..etc) sql commands.
    Here is one of several concepts you need to fix in your mind. Databases don't have home pages. Client applications do. Databases store and manage data. Humans at the keyboard see the client application, not the database. Oracle provides some client apps ( iSQLPlus, Oracle Enterprise Manager (Grid Control), dbcontrol, APEX) and even installs some with the database by default, but they are distinctly separate from the database, and so must be identified when talking about user interface issues. Unfortunately, telling us you tried to open "the home page of oracle" tells us nothing at all. If you had said "Tried to log in with iSQLPlus" or "I tried to connect with Apex", it would have conveyed MUCH more information. We would have then had some frame of reference as to what you were seeing.
    To the "upload from where" question : I simply copied the scripts ( .sql , file) from the pc's from school, on usb, then copied them on my own system. When using the "upload scripts" option from oracle, Again, you must distinguish between "oracle" (the database) and whatever client tool you use to connect to it. "Oracle" (the database) doesn't have an "upload scripts" option. Some un-named application does.
    the script is uploaded, but when i try to "run" it , nothing , blank page. no tables, nada. And given what I've said above, you can guess what this statement means. - grin -
    My first guess was, well the teacher said " i.e. only " , so i tried installing i.e. , using winetricks, but i had a feeling i was going off-track, and that surely there must have been a much easier way.
    Even Billy was more charitable toward your teacher than I feel. And when he is so wrong about something as simple as this, makes me wonder what else he is wrong about. And the quality of the teachers calls into question the quality of the school in general.
    In fact, had I been told that by an instructor, I would make it a personal mission to prove him wrong. Not in front of the class (as much short term satisfaction as that may provide) but just by taking my laptop to his office and saying "let me show you something". One of my personal hot buttons is for someone who should know better to pronounce something as "won't work" when I've been doing it for so long and so easily as to just take it for granted.
    >
    Linux (fedora 14) is up and running,
    oracle 10g , linux version, was installed using detailed guide.
    And yes, i will look into oracle linux, and oracle 11g ,
    but i was hoping to use the same version as my school, to avoid any surprises when passing my exams.Edited by: EdStevens on Jun 13, 2011 3:02 PM

  • How to reconfigure Oracle-xe (Oracle 10g for linux)?

    Hello!
    I found this article (seems useful since I use Mandriva 2010.2):
    [http://www.e-angel.net/index.php?tg=articles&idx=Print&topics=195&article=912|http://www.e-angel.net/index.php?tg=articles&idx=Print&topics=195&article=912]
    I installed Oracle 10g from the file "oracle-xe-univ-10.2.0.1-1.0.i386.rpm".
    Then, when run ./oracle-xe start and then ./oracle-xe status I get:
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 29-JUL-2011 23:39:49
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=%hostname%)(PORT=%port%)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    It does not seem ok to me.
    I would love to truy to reconfigure it but if I try the command:
    ./oracle-xe configure
    ...I get:
    Oracle Database 10g Express Edition is already configured
    Does any body know how to reset and reconfigure Oracle 10g for Linux?
    Best regards
    Fredrik

    it seems to be "PLSExtProc" bu default.Nope, the ORACLE_SID is taken from the environment variable when the database is started on a *nix host, windows its set up in the database service. If you want to change the ORACLE_SID, set it. See the environment setup script in OH/bin appropriate for your shell. (OH short for $ORACLE_HOME)
    how to create a databaseYou mean tablespace?
    what you think about this error message ... read from socketWhat do you think about the error message, its your database. Socket read error can be caused by many things, the ora-NNNN error number can provide some insight. http://download.oracle.com/docs/cd/E11882_01/server.112/e17766/toc.htm

  • Oracle 10g Database 64 bit setup file

    Hi Friends,
    I want 10g oracle database 64 bit or any Oracle 10g database setup file which is compatible with windows 7 64 bit.
    I have searched in torrents and Google every where for this. I dont have Oracle support a/c to order CD.
    Please help by sharing the setup file for this.
    I need this for installing obiee 11g in my laptop which have win 7 4gb ram.
    I tried installing Database 11g and obiee 11.1.1.5g simple install still 4GB RAM seems not sufficient.
    TIA

    The only 10gR2 version certified with Win 7 (Pro or higher, Home version is not supported) is 10.2.0.5 - http://docs.oracle.com/cd/B19306_01/relnotes.102/b15680/toc.htm#BABEBBJF
    10.2.0.5 is only available on My Oracle Support, which you do not have access to, so you will need to install 11gR2 that is available at http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    HTH
    Srini

  • Bad file is not created during the external table creation.

    Hello Experts,
    I have created a script for external table in Oracle 10g DB. Everything is working fine except it does not create the bad file, But it creates the log file. I Cann't figure out what is the issue. Because my shell scripts is failing and the entire program is failing. I am attaching the table creation script and the shell script where it is refering and the error. Kindly let me know if something is missing. Thanks in advance
    Table Creation Scripts:_-------------------------------
    create table RGIS_TCA_DATA_EXT
    guid VARCHAR2(250),
    badge VARCHAR2(250),
    scheduled_store_id VARCHAR2(250),
    parent_event_id VARCHAR2(250),
    event_id VARCHAR2(250),
    organization_number VARCHAR2(250),
    customer_number VARCHAR2(250),
    store_number VARCHAR2(250),
    inventory_date VARCHAR2(250),
    full_name VARCHAR2(250),
    punch_type VARCHAR2(250),
    punch_start_date_time VARCHAR2(250),
    punch_end_date_time VARCHAR2(250),
    event_meet_site_id VARCHAR2(250),
    vehicle_number VARCHAR2(250),
    vehicle_description VARCHAR2(250),
    vehicle_type VARCHAR2(250),
    is_owner VARCHAR2(250),
    driver_passenger VARCHAR2(250),
    mileage VARCHAR2(250),
    adder_code VARCHAR2(250),
    bonus_qualifier_code VARCHAR2(250),
    store_accuracy VARCHAR2(250),
    store_length VARCHAR2(250),
    badge_input_type VARCHAR2(250),
    source VARCHAR2(250),
    created_by VARCHAR2(250),
    created_date_time VARCHAR2(250),
    updated_by VARCHAR2(250),
    updated_date_time VARCHAR2(250),
    approver_badge_id VARCHAR2(250),
    approver_name VARCHAR2(250),
    orig_guid VARCHAR2(250),
    edit_type VARCHAR2(250)
    organization external
    type ORACLE_LOADER
    default directory ETIME_LOAD_DIR
    access parameters
    RECORDS DELIMITED BY NEWLINE
    BADFILE ETIME_LOAD_DIR:'tstlms.bad'
    LOGFILE ETIME_LOAD_DIR:'tstlms.log'
    READSIZE 1048576
    FIELDS TERMINATED BY '|'
    MISSING FIELD VALUES ARE NULL(
    GUID
    ,BADGE
    ,SCHEDULED_STORE_ID
    ,PARENT_EVENT_ID
    ,EVENT_ID
    ,ORGANIZATION_NUMBER
    ,CUSTOMER_NUMBER
    ,STORE_NUMBER
    ,INVENTORY_DATE char date_format date mask "YYYYMMDD HH24:MI:SS"
    ,FULL_NAME
    ,PUNCH_TYPE
    ,PUNCH_START_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
    ,PUNCH_END_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
    ,EVENT_MEET_SITE_ID
    ,VEHICLE_NUMBER
    ,VEHICLE_DESCRIPTION
    ,VEHICLE_TYPE
    ,IS_OWNER
    ,DRIVER_PASSENGER
    ,MILEAGE
    ,ADDER_CODE
    ,BONUS_QUALIFIER_CODE
    ,STORE_ACCURACY
    ,STORE_LENGTH
    ,BADGE_INPUT_TYPE
    ,SOURCE
    ,CREATED_BY
    ,CREATED_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
    ,UPDATED_BY
    ,UPDATED_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
    ,APPROVER_BADGE_ID
    ,APPROVER_NAME
    ,ORIG_GUID
    ,EDIT_TYPE
    location (ETIME_LOAD_DIR:'tstlms.dat')
    reject limit UNLIMITED;
    _***Shell Script*:*----------------_*
    version=1.0
    umask 000
    DATE=`date +%Y%m%d%H%M%S`
    TIME=`date +"%H%M%S"`
    SOURCE=`hostname`
    fcp_login=`echo $1|awk '{print $3}'|sed 's/"//g'|awk -F= '{print $2}'`
    fcp_reqid=`echo $1|awk '{print $2}'|sed 's/"//g'|awk -F= '{print $2}'`
    TXT1_PATH=/home/ac1/oracle/in/tsdata
    TXT2_PATH=/home/ac2/oracle/in/tsdata
    ARCH1_PATH=/home/ac1/oracle/in/tsdata
    ARCH2_PATH=/home/ac2/oracle/in/tsdata
    DEST_PATH=/home/custom/sched/in
    PROGLOG=/home/custom/sched/logs/rgis_tca_to_tlms_create.sh.log
    PROGNAME=`basename $0`
    PROGPATH=/home/custom/sched/scripts
    cd $TXT2_PATH
    FILELIST2="`ls -lrt tstlmsedits*.dat |awk '{print $9}'`"
    NO_OF_FILES2="`ls -lrt tstlmsedits*.dat |awk '{print $9}'|wc -l`"
    $DEST_PATH/tstlmsedits.dat for i in $FILELIST2
    do
    cat $i >> $DEST_PATH/tstlmsedits.dat
    printf "\n" >> $DEST_PATH/tstlmsedits.dat
    mv $i $i.$DATE
    #mv $i $TXT2_PATH/test/.
    mv $i.$DATE $TXT2_PATH/test/.
    done
    if test $NO_OF_FILES2 -eq 0
    then
    echo " no tstlmsedits.dat file exists " >> $PROGLOG
    else
    echo "created dat file tstlmsedits.dat at $DATE" >> $PROGLOG
    echo "-------------------------------------------" >> $PROGLOG
    fi
    NO_OF_FILES1="`ls -lrt tstlms*.dat |awk '{print $9}'|wc -l`"
    FILELIST1="`ls -lrt tstlms*.dat |awk '{print $9}'`"
    $DEST_PATH/tstlms.datfor i in $FILELIST1
    do
    cat $i >> $DEST_PATH/tstlms.dat
    printf "\n" >> $DEST_PATH/tstlms.dat
    mv $i $i.$DATE
    # mv $i $TXT2_PATH/test/.
    mv $i.$DATE $TXT2_PATH/test/.
    done
    if test $NO_OF_FILES1 -eq 0
    then
    echo " no tstlms.dat file exists " >> $PROGLOG
    else
    echo "created dat file tstlms.dat at $DATE" >> $PROGLOG
    fi
    cd $TXT1_PATH
    FILELIST3="`ls -lrt tstlmsedits*.dat |awk '{print $9}'`"
    NO_OF_FILES3="`ls -lrt tstlmsedits*.dat |awk '{print $9}'|wc -l`"
    $DEST_PATH/tstlmsedits.datfor i in $FILELIST3
    do
    cat $i >> $DEST_PATH/tstlmsedits.dat
    printf "\n" >> $DEST_PATH/tstlmsedits.dat
    mv $i $i.$DATE
    #mv $i $TXT1_PATH/test/.
    mv $i.$DATE $TXT1_PATH/test/.
    done
    if test $NO_OF_FILES3 -eq 0
    then
    echo " no tstlmsedits.dat file exists " >> $PROGLOG
    else
    echo "created dat file tstlmsedits.dat at $DATE" >> $PROGLOG
    echo "-------------------------------------------" >> $PROGLOG
    fi
    NO_OF_FILES4="`ls -lrt tstlms*.dat |awk '{print $9}'|wc -l`"
    FILELIST4="`ls -lrt tstlms*.dat |awk '{print $9}'`"
    $DEST_PATH/tstlms.datfor i in $FILELIST4
    do
    cat $i >> $DEST_PATH/tstlms.dat
    printf "\n" >> $DEST_PATH/tstlms.dat
    mv $i $i.$DATE
    # mv $i $TXT1_PATH/test/.
    mv $i.$DATE $TXT1_PATH/test/.
    done
    if test $NO_OF_FILES4 -eq 0
    then
    echo " no tstlms.dat file exists " >> $PROGLOG
    else
    echo "created dat file tstlms.dat at $DATE" >> $PROGLOG
    fi
    #connecting to oracle to generate bad files
    sqlplus -s $fcp_login<<EOF
    select count(*) from rgis_tca_data_ext;
    select count(*) from rgis_tca_data_history_ext;
    exit;
    EOF
    #counting the records in files
    tot_rec_in_tstlms=`wc -l $DEST_PATH/tstlms.dat | awk ' { print $1 } '`
    tot_rec_in_tstlmsedits=`wc -l $DEST_PATH/tstlmsedits.dat | awk ' { print $1 } '`
    tot_rec_in_tstlms_bad=`wc -l $DEST_PATH/tstlms.bad | awk ' { print $1 } '`
    tot_rec_in_tstlmsedits_bad=`wc -l $DEST_PATH/tstlmsedits.bad | awk ' { print $1 } '`
    #updating log table
    echo "pl/sql block started"
    sqlplus -s $fcp_login<<EOF
    define tot_rec_in_tstlms     = '$tot_rec_in_tstlms';
    define tot_rec_in_tstlmsedits     = '$tot_rec_in_tstlmsedits';
    define tot_rec_in_tstlms_bad     = '$tot_rec_in_tstlms_bad';
    define tot_rec_in_tstlmsedits_bad='$tot_rec_in_tstlmsedits_bad';
    define fcp_reqid ='$fcp_reqid';
    declare
    l_tstlms_file_id number := null;
    l_tstlmsedits_file_id number := null;
    l_tot_rec_in_tstlms number := 0;
    l_tot_rec_in_tstlmsedits number := 0;
    l_tot_rec_in_tstlms_bad number := 0;
    l_tot_rec_in_tstlmsedits_bad number := 0;
    l_request_id fnd_concurrent_requests.request_id%type;
    l_start_date fnd_concurrent_requests.actual_start_date%type;
    l_end_date fnd_concurrent_requests.actual_completion_date%type;
    l_conc_prog_name fnd_concurrent_programs.concurrent_program_name%type;
    l_requested_by fnd_concurrent_requests.requested_by%type;
    l_requested_date fnd_concurrent_requests.request_date%type;
    begin
    --getting concurrent request details
    begin
    SELECT fcp.concurrent_program_name,
    fcr.request_id,
    fcr.actual_start_date,
    fcr.actual_completion_date,
    fcr.requested_by,
    fcr.request_date
    INTO l_conc_prog_name,
    l_request_id,
    l_start_date,
    l_end_date,
    l_requested_by,
    l_requested_date
    FROM fnd_concurrent_requests fcr, fnd_concurrent_programs fcp
    WHERE fcp.concurrent_program_id = fcr.concurrent_program_id
    AND fcr.request_id = &fcp_reqid; --fnd_global.conc_request_id();
    exception
    when no_data_found then
    fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
    fnd_file.put_line(fnd_file.log, 'No data found for request_id');
    fnd_file.put_line(fnd_file.log, sqlerrm);
    raise_application_error(-20001,
    'Error occured when executing RGIS_TCA_TO_TLMS_CREATE.sh ' ||
    sqlerrm);
    when others then
    fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
    fnd_file.put_line(fnd_file.log,
    'Error occured when retrieving request_id request_id');
    fnd_file.put_line(fnd_file.log, sqlerrm);
    raise_application_error(-20001,
    'Error occured when executing RGIS_TCA_TO_TLMS_CREATE.sh ' ||
    sqlerrm);
    end;
    --calling ins_or_upd_tca_process_log to update log table for tstlms.dat file
    begin
    rgis_tca_to_tlms_process.ins_or_upd_tca_process_log
                   (l_tstlms_file_id,
                   'tstlms.dat',
                   l_conc_prog_name,
                   l_request_id,
                   l_start_date,
                   l_end_date,
                   &tot_rec_in_tstlms,
                   &tot_rec_in_tstlms_bad,
                   null,
                   null,               
                   null,
                   null,
                   null,
                   null,
                   null,
                   l_requested_by,
                   l_requested_date,
                   null,
                   null,
                   null,
                   null,
                   null);
    exception
    when others then
    fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
    fnd_file.put_line(fnd_file.log,
    'Error occured when executing rgis_tca_to_tlms_process.ins_or_upd_tca_process_log for tstlms file');
    fnd_file.put_line(fnd_file.log, sqlerrm);
    end;
    --calling ins_or_upd_tca_process_log to update log table for tstlmsedits.dat file
    begin
    rgis_tca_to_tlms_process.ins_or_upd_tca_process_log
                   (l_tstlmsedits_file_id,
                   'tstlmsedits.dat',
                   l_conc_prog_name,
                   l_request_id,
                   l_start_date,
                   l_end_date,
                   &tot_rec_in_tstlmsedits,
                   &tot_rec_in_tstlmsedits_bad,
                   null,
                   null,               
                   null,
                   null,
                   null,
                   null,
                   null,
                   l_requested_by,
                   l_requested_date,
                   null,
                   null,
                   null,
                   null,
                   null);
    exception
    when others then
    fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
    fnd_file.put_line(fnd_file.log,
    'Error occured when executing rgis_tca_to_tlms_process.ins_or_upd_tca_process_log for tstlmsedits file');
    fnd_file.put_line(fnd_file.log, sqlerrm);
    end;
    end;
    exit;
    EOF
    echo "rgis_tca_to_tlms_process.sql started"
    sqlplus -s $fcp_login @$SCHED_TOP/sql/rgis_tca_to_tlms_process.sql $fcp_reqid
    exit;
    echo "rgis_tca_to_tlms_process.sql ended"
    _**Error:*----------------------------------*_
    RGIS Scheduling: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    TCATLMS module: TCA To TLMS Import Process
    Current system time is 18-AUG-2011 06:13:27
    COUNT(*)
         16
    COUNT(*)
         25
    wc: cannot open /home/custom/sched/in/tstlms.bad
    wc: cannot open /home/custom/sched/in/tstlmsedits.bad
    pl/sql block started
    old 33:     AND fcr.request_id = &fcp_reqid; --fnd_global.conc_request_id();
    new 33:     AND fcr.request_id = 18661823; --fnd_global.conc_request_id();
    old 63:                &tot_rec_in_tstlms,
    new 63:                16,
    old 64:                &tot_rec_in_tstlms_bad,
    new 64:                ,
    old 97:                &tot_rec_in_tstlmsedits,
    new 97:                25,
    old 98:                &tot_rec_in_tstlmsedits_bad,
    new 98:                ,
    ERROR at line 64:
    ORA-06550: line 64, column 4:
    PLS-00103: Encountered the symbol "," when expecting one of the following:
    ( - + case mod new not null others <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    <an alternatively-quoted string literal with character set specification>
    <an alternatively-q
    ORA-06550: line 98, column 4:
    PLS-00103: Encountered the symbol "," when expecting one of the following:
    ( - + case mod new not null others <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql st
    rgis_tca_to_tlms_process.sql started
    old 12: and concurrent_request_id = '&1';
    new 12: and concurrent_request_id = '18661823';
    old 18: and concurrent_request_id = '&1';
    new 18: and concurrent_request_id = '18661823';
    old 22: rgis_tca_to_tlms_process.run_tca_data(l_tstlms_file_id,&1);
    new 22: rgis_tca_to_tlms_process.run_tca_data(l_tstlms_file_id,18661823);
    old 33: rgis_tca_to_tlms_process.run_tca_data_history(l_tstlmsedits_file_id,&1);
    new 33: rgis_tca_to_tlms_process.run_tca_data_history(l_tstlmsedits_file_id,18661823);
    old 44: rgis_tca_to_tlms_process.send_tca_email('TCATLMS',&1);
    new 44: rgis_tca_to_tlms_process.send_tca_email('TCATLMS',18661823);
    declare
    ERROR at line 1:
    ORA-20001: Error occured when executing RGIS_TCA_TO_TLMS_PROCESS.sql ORA-01403:
    no data found
    ORA-06512: at line 59
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 18661823      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 18-AUG-2011 06:13:29
    ---------------------------------------------------------------------------

    Hi,
    Check the status of the batch in SM35 transaction.
    if the batch is locked by mistake or any other error, now you can release it and aslo you can process again.
    To Release -Shift+F4.
    Also you can analyse the job status through F2 button.
    Bye

  • Regarding Auditing in Oracle 10g

    Hi all,
    i want to enable auditing for particular tables in oracle 10g(linux)..To enable auditing i have put
    audit_trail=db
    in init.ora files found in "/proc/4310/cwd" and "/proc/self/cwd/app/oracle/product/10.2.0/server/config/scripts"...
    but im not getting any values in sys.aud$ table...
    please tell me the way to get rid of this problem...
    Thanx
    in advance..

    For Oracle 9 and later:
    alter system set audit_trail = DB;
    If you want to audit a specific user run the following:
    audit alter table, select table, insert table, update table, delete table, grant table, grant
    procedure by USERNAME;
    To stop audit for that user run:
    noaudit alter table, select table, insert table, update table, delete table, grant table,
    grant procedure by USERNAME;
    To enable auditing for a specific object do:
    AUDIT SELECT, INSERT, UPDATE, DELETE ON SCHEMA.TABLE;
    To stop auditing:
    NOAUDIT SELECT, INSERT, UPDATE, DELETE ON SCHEMA.TABLE;
    To see the results:
    SQL> select * from dba_audit_trail;

Maybe you are looking for