ERROR 32 runuing sqlplus in UNIX

I am runing a sqlplus script (done before) and I am getting this error?
jet:/home/rechever:PPRD$ sqlplus faismgr_midd/XXXX @finaid3_idoc.sql
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 25 08:08:52 2009
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining Scoring Engine options
32
Any help will be appreciated!

That is what I am getting, when I run the query in sqlplus UNIX
jet:/home/rechever:PPRD$ sqlplus faismgr_midd/xxxxx @finaid3_idoc.sql
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 25 08:24:48 2009
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining Scoring Engine options
32
When I look at the list file in UNIX
jet:/home/rechever:PPRD$ more finaid2.lst
32
SQL> exit
Edited by: user648177 on Mar 25, 2009 5:33 AM

Similar Messages

  • ORA-12560: TNS:protocol adapter error. Running sqlplus in different paths.

    Hi,
    Title: ORA-12560: TNS:protocol adapter error. Running sqlplus in different paths.
    Very strange. We have windows host, 32 bit oracle software 10g, 64 bit sap kernel X64.
    We have done Kernel patch yesterday and it was successful, system up and running.
    Only problem with sqlplus. I have logged in as SIDADM user and when i open command box, the default path is C:\Documents and Settings\SIDADM. when i run sqlplus sys as sysdba, iam able to connnect without any problem but when iam in this path -   /usr/sap/SID/SYS/exe/run and run sqlplus sys as sysdba, it returns ORA-12560 error. Thats why, the BRTOOLS are also not working, giving same error.
    Is there a problem in the kernel? Where could be the problem?
    The environment variables ORACLE_SID, ORACLE_HOME are set properly.
    Many thanks,
    Mohan.

    Hi,
    Please look into below SAP recommendation from SAP note 192822:
    3. Can I run 32-bit applications on my 64-bit platform?
    This depends on the platform you are running on. For all unix- platforms, this  can be done without any problem. Even if the OS is started in 64-bit mode, it is possible to run 32-bit applications (R/3, oracle) on it. there is no need to either upgrade oracle or R/3 toa 64-bit version.
    This, however is NOT the case for windows & Linux. If you have IA64 hardware in place, you do need to run an 64-bit OS as well as all application in 64-bit mode.
    Could you please now share with me your OS (version and whether it is 32 bit or 64 bit as well), database (32 bit or 64 bit), SAP system (32 bit or 64 bit and System release) ?
    Thanks
    Sunny

  • Getting error while posting reports on Unix Process Scheduler Server

    Hello ,
    I am getting the below error while posting reports on Unix Process Scheduler Server .
    PSDSTSRV.14338 (2) [09/08/09 08:21:34 PostReport](1) (JNIUTIL): Java exception thrown: java.io.IOException: Stream closed.
    PSDSTSRV.14338 (2) [09/08/09 08:21:34 PostReport](3) HTTP transfer error.
    PSDSTSRV.14338 (2) [09/08/09 08:21:34 PostReport](3) Post Report Elapsed Time: 0.0900
    PSDSTSRV.14171 (10) [09/08/09 08:21:34 PostReport](1) (JNIUTIL): Java exception thrown: java.io.IOException: Stream closed.
    Please advise ,thank you.

    user5838027 wrote:
    Node name :PS_HTTP
    URL: http://ddas1020.dev.com:16000/psreports/hrdmo
    URI:SchedulerTransfer/hr90dmo
    URI Port: 16000
    Please let me know if any other info is needed.
    Thanks.
    typo...
    URL: http://ddas1020.dev.com:16000/psreports/hr90dmo
    Hopefully, your application URL looks like http://ddas1020.dev.com:16000/psp/hr90dmo/..., your URI host looks like ddas1020.dev.com (or corresponding ip address), and hhtp is checked.
    Did you also tried to give the web login/password ?
    Nicolas.

  • I am trying to install xcode on a macpro running OSX 10.6.8 .  It installs, but with the error that there is no unix support.Do I have to upgrade to Lion 10.7 to do this? And if so, is this a free upgrade if I have the extended 3 yr support?

    I am trying to install xcode on a macpro running OSX 10.6.8 .  It installs, but with the error that there is no unix support.   Do I have to upgrade to Lion 10.7 to do this? And if so, is this a free upgrade if I have the extended 3 yr support?
    thx,
    Pandabig

    Xcode 4.x cannot be installed on Snow Leopard.  You need a 3.x.  So if that is what you used then yes, you need to install lion.   If connect.apple.com still alows registration or logins using an existing appleid then you could download the last xcode 3.2.6 for free.

  • Error conecting linux(sqlplus(ora8/9 client)) to SCO(ora7( DB))

    HI. I apologize of my poor english....
    Im trying to connect a new linux machine with ora8 to an old sco with ora7
    points about...:
    1- tnsping works fine. and I can see it in the logs
    2- (here the problem) on "sqlplus user/pass@AUDI"
    SQL*Plus: Release 9.2.0.1.0 - Production on Mie Nov 6 15:43:47 2002
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-03113: end-of-file on communication channel
    It got nothing on the trace files on the ora7 DB.
    And the ora7 DB is working fine at production level with net clients whitout problems.
    The service names tnsnames.ora for AUDI is:
    AUDI =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.119.207)(PORT = 1521))
    (CONNECT_DATA = (SID = AUDI)(SERVER=DEDICATED))
    3- I can connect to any ora8 ora9 DB. without any error
    what can I do ?
    can I trace to a lower level ?
    I really do not know what to do, becose I cant see any error at server side.
    may it be an enviroment variable problem ??? I tried to put the same as in the sco enviroment.but nothing.
    Please tell me any way to continue with it.
    I've searched about and tried it...:
    Solution Description:
    =====================
    The ORA-3113 error is a general error reported by Oracle client tools,
    which signifies that they cannot communicate with the oracle shadow
    process. As it is such a general error more information must be collected
    to help determine what has happened.
    This short article describes what information to collect for an
    ORA-3113 error when the Oracle server is on a Unix platform.
    General Issues:
    ===============
    1) Is it only one tool that encounters the error or
    do you get an ORA-3113 from any tool doing a similar operation?
    If the problem reproduces in SQL*Plus, use this in all tests
    below.
    2) Check if the problem is just restricted to:
    [ ] One particular UNIX user,
    [ ] Any UNIX user
    or [ ] Any UNIX user EXCEPT as the Oracle user.
    3) Check if the problem is just restricted to:
    [ ] One particular ORACLE logon
    or [ ] Any ORACLE logon that has access to the
    relevant tables.
    4) If you have a client-server configuration does this occur from:
    [ ] Any client
    [ ] Just one particular client
    or [ ] Just one group of clients ?
    If so what do these clients have in common ?
    Eg: Software release .
    5) Do you have a second server or database version where the
    same operation works correctly?
    Connecting to Oracle
    ====================
    If the ORA-3113 error occurs when actually connecting to Oracle then
    continue with this section. If you connect to Oracle successfully and get
    the error on an established connection, please go to the next section
    'An Established Connection'.
    Local Connections
    ~~~~~~~~~~~~~~~~~
    For local connections check the following:
    1) Have you installed the Parallel Server Option?
    ORA-3113 will occur if you have installed the Parallel
    Server Option but do NOT have a Distributed Lock Manager
    installed or running.
    To deinstall the Parallel Server Option:
    Shut down any Oracle instances
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    # 'oracle' should not exist so delete it if it present
    % rm -f oracle
    % make -f oracle.mk no_parropt ioracle
    % exit
    If the above reports any errors Oracle support will need to
    see the contents of the file /tmp/relink.out.
    2) Try using the SQL*Net V1 driver for local connections:
    setenv TWO_TASK P:
    Then try the client tool. If this now works you may have a
    problem with the default SQL*Net driver.
    3) Your 'oracle' executable may be corrupt. Relink it as follows:
    Log in as the 'oracle' user.
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    % rm -f oracle
    % make -f oracle.mk ioracle
    % exit
    If this reports any errors Oracle support will need to see
    the contents of the file /tmp/relink.out .
    4) Some Unix platforms need LD_LIBRARY_PATH to be set
    correctly to resolve any dynamically linked libraries.
    As the user with the problem:
    % script /tmp/ldd.out
    % id
    % cd $ORACLE_HOME/bin
    % ldd oracle
    % exit
    If the 'ldd' command does not exist go to the next step below.
    Check that all lines listed show a full library file. If there
    are any 'not found' lines reported contact Oracle support
    with the output of /tmp/ldd.out.
    5) If you cannot connect as the Oracle user AND your system has
    the 'truss' command try the following when logged in as
    'oracle' (using the relevant client tool):
    % truss -o /tmp/truss.out -f sqlplus user/password
    Exit from sqlplus (or the problem tool)
    Keep the file /tmp/truss.out safe - Oracle MAY need to see it.
    Remote Connections
    ==================
    For remote connections check the following:
    1) Check if you can make LOCAL connections. If not then follow
    the steps above for LOCAL connection problems.
    2) Which SQL*Net protocol are you using ?
    Table C.1
    ~~~~~~~~~
    SYMBOL SQL*Net V1 Layer Prefix Debug Listener
    osnptt PIPE Two Task P: OSNTTD none
    osnasy ASYNC A: OSNADBUG none
    osnttt TCP/IP Two Task T: OSNTDBUG orasrv
    osntlitcp TCP/TLI Two Task TT: OSNTLIDBUG tcptlisrv
    osntlispx SPX Two Task X: OSNTLIDBUG spxsrv
    osndnt DECNET Two Task D: OSNDDBUG none
    For the protocol you are using check that the oracle
    executable has this linked in as follows:
    Log in as oracle on the server
    % script /tmp/drivers.out
    % cd $ORACLE_HOME/bin
    % drivers oracle
    % exit
    Eg: If you are using TCP/IP it should list TCP/IP.
    If the drivers command does not exist on your machine, check
    the oracle executable as below substituting the relevant
    symbol from Table C.1 for the word SYMBOL. If you do not
    receive any output then:
    % script /tmp/symbols.out
    % cd $ORACLE_HOME/bin
    % nm oracle | grep -i SYMBOL # Use relevant SYMBOL
    % exit
    Eg: For SQL*Net TCP/IP you would use the command:
    % nm oracle | grep -i osnttt
    If the required driver is not installed you should:
    a) Relink Oracle (See step (B3) above).
    b) Re-check the oracle executable for the
    relevant driver. If it is still missing then
    the relevant SQL*Net driver has probably not
    been installed. Reinstall the required SQL*Net
    driver.
    3) Check your /etc/oratab or /var/opt/oracle/oratab file
    is of the form:
    # Comments begin with a HASH
    SID:/path/to/oracle/home:N
    And confirm:
    [ ] There are no blank lines.
    [ ] The PATH to ORACLE_HOME is correct and contains
    no environment variables.
    [ ] There are no ':'s in the ORACLE_HOME path.
    [ ] There is NOTHING at the end of the line.
    The last character on a line should be Y or N.
    There should NOT be a fourth field.
    4) If you have truss available try to truss the Oracle
    connection. You will normally need the root privilege to do this
    and should use truss on the relevant listener process (see
    Table C1)
    Eg: For TCP/IP the listener is 'orasrv' so enter these
    commands as 'root':
    % truss -o /tmp/truss.out -f -eall -p <PID_of_orasrv>
    Attempt the connection to reproduce the ORA-3113 then
    interrupt this 'truss' session.
    An Established Connection:
    ==========================
    If the ORA-3113 error occurs AFTER you have connected to Oracle, then
    it is most likely that the oracle executable has terminated unexpectedly.
    1) Determine which database you were connected to and
    obtain the following init.ora parameter values:
    Parameter Default
    USER_DUMP_DEST $ORACLE_HOME/rdbms/log
    BACKGROUND_DUMP_DEST $ORACLE_HOME/rdbms/log
    CORE_DUMP_DEST $ORACLE_HOME/dbs
    Eg: To find these log into SQL*DBA or Server Manager and:
    SQLDBA> show parameter dump
    2) Check in your 'USER_DUMP_DEST' for any Oracle trace file.
    It is important to find the correct trace file. Use the
    command 'ls -ltr' to list files in time order with the
    latest trace files appearing LAST. If you are not sure
    which trace file may be relevant, move all the current trace
    files to a different directory and reproduce the problem.
    The trace file will typically be of the form 'ora_<PID>.trc'.
    3) If there is no trace file check for a core dump in the
    CORE_DUMP_DEST. Check as follows:
    % cd $ORACLE_HOME/dbs # Or your CORE_DUMP_DEST
    % ls -l core*
    If there is a file called core, check that its time matches
    the time of the problem. If there are directories called
    'core_<PID>' check for core files in each of these. It is
    IMPORTANT to get the correct core file. Now obtain a stack
    trace from this core file. Check each of the sequences below
    for the procedure. One of the following should work for your
    platform:
    If you have dbx:
    % script /tmp/core.stack
    % dbx $ORACLE_HOME/bin/oracle core
    (dbx) where
    (dbx) quit
    % exit
    If you have sdb:
    % script /tmp/core.stack
    % sdb $ORACLE_HOME/bin/oracle core
    * t
    * q
    % exit
    If you have xdb:
    % script /tmp/core.stack
    % xdb $ORACLE_HOME/bin/oracle core
    (xdb) t
    (xdb) q
    % exit
    If you have adb:
    % script /tmp/core.stack
    % adb $ORACLE_HOME/bin/oracle core
    $c
    $q
    % exit
    4) Try to isolate the SQL command that is executing when
    the error occurs. Eg: Is it a particular SQL statement
    or PL/SQL block that causes the error ?
    To help establish this turn on SQL_TRACE for the client
    tool.
    Eg: Product Action
    ~~~~~~~ ~~~~~~
    SQL*Forms Use the '-s' statistics option at run time.
    SQL*Plus Issue 'ALTER SESSION SET SQL_TRACE TRUE;'
    Pro* EXEC SQL ALTER SESSION SET SQL_TRACE TRUE;
    This should force a server side SQL trace file as detailed
    in #2 above. The trace file should give a clue as to what
    SQL was being executed.
    5) Try to obtain any SQL*Net trace to show what the latest
    operation sent to the oracle process was.
    For SQL*Net V2 ask for the article [NOTE:16564.1]
    For SQL*Net V1 check which SQL*Net protocol you are using
    and note the Debug environment variable from table C1 above.
    Then catch SQL*Net trace from the client. Eg: For SQL*Net
    TCP/IP and sqlplus:
    % setenv OSNTDBUG -1 # Use correct OSN*DBUG
    variable
    % sh
    % sqlplus scott/tiger@t:hostname:sid 2>/tmp/net1.out
    6) Based on information collected above try to determine a small
    test case which will reproduce the problem. This is important
    for two reasons:
    a) It gives Oracle support a small test case if the
    problem does not look like a known problem.
    b) It gives you a simple way to check if any patch
    supplied will fix the problem.
    7) It may be useful to follow the instructions in step (4) above.
    This will produce a lot of output but MAY be useful if no
    other information is available.

    HI. I apologize of my poor english....
    Im trying to connect a new linux machine with ora8 to an old sco with ora7
    points about...:
    1- tnsping works fine. and I can see it in the logs
    2- (here the problem) on "sqlplus user/pass@AUDI"
    SQL*Plus: Release 9.2.0.1.0 - Production on Mie Nov 6 15:43:47 2002
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-03113: end-of-file on communication channel
    It got nothing on the trace files on the ora7 DB.
    And the ora7 DB is working fine at production level with net clients whitout problems.
    The service names tnsnames.ora for AUDI is:
    AUDI =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.119.207)(PORT = 1521))
    (CONNECT_DATA = (SID = AUDI)(SERVER=DEDICATED))
    3- I can connect to any ora8 ora9 DB. without any error
    what can I do ?
    can I trace to a lower level ?
    I really do not know what to do, becose I cant see any error at server side.
    may it be an enviroment variable problem ??? I tried to put the same as in the sco enviroment.but nothing.
    Please tell me any way to continue with it.
    I've searched about and tried it...:
    Solution Description:
    =====================
    The ORA-3113 error is a general error reported by Oracle client tools,
    which signifies that they cannot communicate with the oracle shadow
    process. As it is such a general error more information must be collected
    to help determine what has happened.
    This short article describes what information to collect for an
    ORA-3113 error when the Oracle server is on a Unix platform.
    General Issues:
    ===============
    1) Is it only one tool that encounters the error or
    do you get an ORA-3113 from any tool doing a similar operation?
    If the problem reproduces in SQL*Plus, use this in all tests
    below.
    2) Check if the problem is just restricted to:
    [ ] One particular UNIX user,
    [ ] Any UNIX user
    or [ ] Any UNIX user EXCEPT as the Oracle user.
    3) Check if the problem is just restricted to:
    [ ] One particular ORACLE logon
    or [ ] Any ORACLE logon that has access to the
    relevant tables.
    4) If you have a client-server configuration does this occur from:
    [ ] Any client
    [ ] Just one particular client
    or [ ] Just one group of clients ?
    If so what do these clients have in common ?
    Eg: Software release .
    5) Do you have a second server or database version where the
    same operation works correctly?
    Connecting to Oracle
    ====================
    If the ORA-3113 error occurs when actually connecting to Oracle then
    continue with this section. If you connect to Oracle successfully and get
    the error on an established connection, please go to the next section
    'An Established Connection'.
    Local Connections
    ~~~~~~~~~~~~~~~~~
    For local connections check the following:
    1) Have you installed the Parallel Server Option?
    ORA-3113 will occur if you have installed the Parallel
    Server Option but do NOT have a Distributed Lock Manager
    installed or running.
    To deinstall the Parallel Server Option:
    Shut down any Oracle instances
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    # 'oracle' should not exist so delete it if it present
    % rm -f oracle
    % make -f oracle.mk no_parropt ioracle
    % exit
    If the above reports any errors Oracle support will need to
    see the contents of the file /tmp/relink.out.
    2) Try using the SQL*Net V1 driver for local connections:
    setenv TWO_TASK P:
    Then try the client tool. If this now works you may have a
    problem with the default SQL*Net driver.
    3) Your 'oracle' executable may be corrupt. Relink it as follows:
    Log in as the 'oracle' user.
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    % rm -f oracle
    % make -f oracle.mk ioracle
    % exit
    If this reports any errors Oracle support will need to see
    the contents of the file /tmp/relink.out .
    4) Some Unix platforms need LD_LIBRARY_PATH to be set
    correctly to resolve any dynamically linked libraries.
    As the user with the problem:
    % script /tmp/ldd.out
    % id
    % cd $ORACLE_HOME/bin
    % ldd oracle
    % exit
    If the 'ldd' command does not exist go to the next step below.
    Check that all lines listed show a full library file. If there
    are any 'not found' lines reported contact Oracle support
    with the output of /tmp/ldd.out.
    5) If you cannot connect as the Oracle user AND your system has
    the 'truss' command try the following when logged in as
    'oracle' (using the relevant client tool):
    % truss -o /tmp/truss.out -f sqlplus user/password
    Exit from sqlplus (or the problem tool)
    Keep the file /tmp/truss.out safe - Oracle MAY need to see it.
    Remote Connections
    ==================
    For remote connections check the following:
    1) Check if you can make LOCAL connections. If not then follow
    the steps above for LOCAL connection problems.
    2) Which SQL*Net protocol are you using ?
    Table C.1
    ~~~~~~~~~
    SYMBOL SQL*Net V1 Layer Prefix Debug Listener
    osnptt PIPE Two Task P: OSNTTD none
    osnasy ASYNC A: OSNADBUG none
    osnttt TCP/IP Two Task T: OSNTDBUG orasrv
    osntlitcp TCP/TLI Two Task TT: OSNTLIDBUG tcptlisrv
    osntlispx SPX Two Task X: OSNTLIDBUG spxsrv
    osndnt DECNET Two Task D: OSNDDBUG none
    For the protocol you are using check that the oracle
    executable has this linked in as follows:
    Log in as oracle on the server
    % script /tmp/drivers.out
    % cd $ORACLE_HOME/bin
    % drivers oracle
    % exit
    Eg: If you are using TCP/IP it should list TCP/IP.
    If the drivers command does not exist on your machine, check
    the oracle executable as below substituting the relevant
    symbol from Table C.1 for the word SYMBOL. If you do not
    receive any output then:
    % script /tmp/symbols.out
    % cd $ORACLE_HOME/bin
    % nm oracle | grep -i SYMBOL # Use relevant SYMBOL
    % exit
    Eg: For SQL*Net TCP/IP you would use the command:
    % nm oracle | grep -i osnttt
    If the required driver is not installed you should:
    a) Relink Oracle (See step (B3) above).
    b) Re-check the oracle executable for the
    relevant driver. If it is still missing then
    the relevant SQL*Net driver has probably not
    been installed. Reinstall the required SQL*Net
    driver.
    3) Check your /etc/oratab or /var/opt/oracle/oratab file
    is of the form:
    # Comments begin with a HASH
    SID:/path/to/oracle/home:N
    And confirm:
    [ ] There are no blank lines.
    [ ] The PATH to ORACLE_HOME is correct and contains
    no environment variables.
    [ ] There are no ':'s in the ORACLE_HOME path.
    [ ] There is NOTHING at the end of the line.
    The last character on a line should be Y or N.
    There should NOT be a fourth field.
    4) If you have truss available try to truss the Oracle
    connection. You will normally need the root privilege to do this
    and should use truss on the relevant listener process (see
    Table C1)
    Eg: For TCP/IP the listener is 'orasrv' so enter these
    commands as 'root':
    % truss -o /tmp/truss.out -f -eall -p <PID_of_orasrv>
    Attempt the connection to reproduce the ORA-3113 then
    interrupt this 'truss' session.
    An Established Connection:
    ==========================
    If the ORA-3113 error occurs AFTER you have connected to Oracle, then
    it is most likely that the oracle executable has terminated unexpectedly.
    1) Determine which database you were connected to and
    obtain the following init.ora parameter values:
    Parameter Default
    USER_DUMP_DEST $ORACLE_HOME/rdbms/log
    BACKGROUND_DUMP_DEST $ORACLE_HOME/rdbms/log
    CORE_DUMP_DEST $ORACLE_HOME/dbs
    Eg: To find these log into SQL*DBA or Server Manager and:
    SQLDBA> show parameter dump
    2) Check in your 'USER_DUMP_DEST' for any Oracle trace file.
    It is important to find the correct trace file. Use the
    command 'ls -ltr' to list files in time order with the
    latest trace files appearing LAST. If you are not sure
    which trace file may be relevant, move all the current trace
    files to a different directory and reproduce the problem.
    The trace file will typically be of the form 'ora_<PID>.trc'.
    3) If there is no trace file check for a core dump in the
    CORE_DUMP_DEST. Check as follows:
    % cd $ORACLE_HOME/dbs # Or your CORE_DUMP_DEST
    % ls -l core*
    If there is a file called core, check that its time matches
    the time of the problem. If there are directories called
    'core_<PID>' check for core files in each of these. It is
    IMPORTANT to get the correct core file. Now obtain a stack
    trace from this core file. Check each of the sequences below
    for the procedure. One of the following should work for your
    platform:
    If you have dbx:
    % script /tmp/core.stack
    % dbx $ORACLE_HOME/bin/oracle core
    (dbx) where
    (dbx) quit
    % exit
    If you have sdb:
    % script /tmp/core.stack
    % sdb $ORACLE_HOME/bin/oracle core
    * t
    * q
    % exit
    If you have xdb:
    % script /tmp/core.stack
    % xdb $ORACLE_HOME/bin/oracle core
    (xdb) t
    (xdb) q
    % exit
    If you have adb:
    % script /tmp/core.stack
    % adb $ORACLE_HOME/bin/oracle core
    $c
    $q
    % exit
    4) Try to isolate the SQL command that is executing when
    the error occurs. Eg: Is it a particular SQL statement
    or PL/SQL block that causes the error ?
    To help establish this turn on SQL_TRACE for the client
    tool.
    Eg: Product Action
    ~~~~~~~ ~~~~~~
    SQL*Forms Use the '-s' statistics option at run time.
    SQL*Plus Issue 'ALTER SESSION SET SQL_TRACE TRUE;'
    Pro* EXEC SQL ALTER SESSION SET SQL_TRACE TRUE;
    This should force a server side SQL trace file as detailed
    in #2 above. The trace file should give a clue as to what
    SQL was being executed.
    5) Try to obtain any SQL*Net trace to show what the latest
    operation sent to the oracle process was.
    For SQL*Net V2 ask for the article [NOTE:16564.1]
    For SQL*Net V1 check which SQL*Net protocol you are using
    and note the Debug environment variable from table C1 above.
    Then catch SQL*Net trace from the client. Eg: For SQL*Net
    TCP/IP and sqlplus:
    % setenv OSNTDBUG -1 # Use correct OSN*DBUG
    variable
    % sh
    % sqlplus scott/tiger@t:hostname:sid 2>/tmp/net1.out
    6) Based on information collected above try to determine a small
    test case which will reproduce the problem. This is important
    for two reasons:
    a) It gives Oracle support a small test case if the
    problem does not look like a known problem.
    b) It gives you a simple way to check if any patch
    supplied will fix the problem.
    7) It may be useful to follow the instructions in step (4) above.
    This will produce a lot of output but MAY be useful if no
    other information is available.

  • Error in starting sqlplus

    Initializing first test to use userid: scott, password: tiger
    Attempting to connect using userid: scott
    The test did not succeed.
    ORA-12541: TNS:no listener
    There may be an error in the fields entered,
    or the server may not be ready for a connection.

    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    and try again as user oracle:dba
    Regards: Michael
    craig (guest) wrote:
    : Hi all,
    : I've installed Oracle on RH5.2. It all seemed to go well. No
    : i've just run the root.sh script as root. Before going much
    : further, I wanted to start up the database (via svrmgrl). I
    : tried starting both svrmgrl and sqlplus and received an error
    : (error in loading shared libraries
    : libclntsh.so.1.0: cannot open shared object file: No such file
    : or directory)
    : I ran env from root. I don't see the environment variables I
    : defined for the install (e.g., ORACLE_HOME, ORACLE_SID, etc).
    : What is wrong?
    : Any help is appreciated.
    : craig
    null

  • Error while creating user on Unix through OIM timeout waiting for user password

    Hello all ,
    we made integration with Unix using connector  , while creating user  we receive the following error
    <Jun 27, 2013 1:30:14 PM AST> <Error> <ORACLE.IAM.CONNECTORS.ICFCOMMON.PROV.ICPROVISIONINGMANAGER> <BEA-000000> <oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : createObject : Error while creating user
    org.identityconnectors.framework.common.exceptions.ConnectorException: Exception occured while setting the password.org.identityconnectors.framework.common.exceptions.OperationTimeoutException: Command timed-out while waiting for: new[\s](unix[\s])?password:
            at org.identityconnectors.genericunix.GenericUnixConnection.setUserPassword(GenericUnixConnection.java:866)
            at org.identityconnectors.genericunix.operation.GenericUnixCreate.setUserPassword(GenericUnixCreate.java:193)
            at org.identityconnectors.genericunix.operation.GenericUnixCreate.analyzeResult(GenericUnixCreate.java:233)
            at org.identityconnectors.genericunix.operation.GenericUnixCreate.createOp(GenericUnixCreate.java:180)
            at org.identityconnectors.genericunix.operation.GenericUnixCreate.create(GenericUnixCreate.java:111)
            at org.identityconnectors.genericunix.GenericUnixConnector.create(GenericUnixConnector.java:200)
            at org.identityconnectors.framework.impl.api.local.operations.CreateImpl.create(CreateImpl.java:80)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)
            at $Proxy363.create(Unknown Source)
    any one can support me how to fix this

    Try increasing the commandTimeout from 100seconds to 200seconds and see if this works?
    Also, look at the Section 5.2.5 in the connector doc.

  • Error while OSB Building on UNIX Machine

    Hi All,
    I am building OSB Projects on OSB Server on UNIX Machine using ant scripts. The script runs properly on Windows. OSB Version being used is 11.1.1.4. I am getting the following error while creating sbconfig.jar:
    !SESSION 2011-09-05 11:26:40.424 -----------------------------------------------
    eclipse.buildId=M20100909-0800
    java.version=1.6.0_23
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Framework arguments: -application com.bea.alsb.core.ConfigExport -configProject OSB Configuration -configJar /var/build/osb_deployment/deployment/domains/osb/cz-osb-build.jar -configSubProjects Project_A,Project_B,Project_C -includeDependencies true
    Command-line arguments: -data /var/build/osb_deployment/temp -application com.bea.alsb.core.ConfigExport -configProject OSB Configuration -configJar /var/build/osb_deployment/deployment/domains/osb/cz-osb-build.jar -configSubProjects Project_A,Project_B,Project_C -includeDependencies true
    !ENTRY org.eclipse.osgi 4 0 2011-09-05 11:26:52.492
    !MESSAGE An error occurred while automatically activating bundle com.bea.alsb.core (768).
    !STACK 0
    org.osgi.framework.BundleException: Exception in com.bea.alsb.core.AlsbCore.start() of bundle com.bea.alsb.core.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
         at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
         at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
         at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
         at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
         at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    Caused by: java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
         at com.bea.alsb.core.AlsbCore.preStart(Unknown Source)
         at com.bea.alsb.core.AlsbCore.start(Unknown Source)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
         ... 34 more
    Caused by: java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         ... 39 more
    Root exception:
    java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
         at com.bea.alsb.core.AlsbCore.preStart(Unknown Source)
         at com.bea.alsb.core.AlsbCore.start(Unknown Source)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
         at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
         at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
         at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
         at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
         at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    Caused by: java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         ... 39 more
    !ENTRY org.eclipse.osgi 4 0 2011-09-05 11:26:53.551
    !MESSAGE Application error
    !STACK 1
    org.eclipse.core.runtime.CoreException: Plug-in com.bea.alsb.core was unable to load class com.bea.alsb.core.internal.repositories.ConfigExportApplication.
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
         at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
         at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
         at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.bea.alsb.core (768).
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:121)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
         at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
         at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
         ... 16 more
    Caused by: org.osgi.framework.BundleException: Exception in com.bea.alsb.core.AlsbCore.start() of bundle com.bea.alsb.core.
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
         at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
         ... 28 more
    Caused by: java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
         at com.bea.alsb.core.AlsbCore.preStart(Unknown Source)
         at com.bea.alsb.core.AlsbCore.start(Unknown Source)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
         ... 34 more
    Caused by: java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         ... 39 more
    Please help!!
    Thanks in advance!!
    Regards,
    Karthik
    Edited by: Karthik Krishnamurthy on Sep 5, 2011 2:15 AM

    Hi Karthik
    Looking at the exception stack trace, looks like the root cause is this error: It is not able to find the class "weblogic/descriptor/DescriptorManager"
    java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
    Well you need to set the .JAR that has this class in the classpath before you run your command or script. NOW you have to generate something called wlfullclient.jar.
    If you are using WLS 10.3.x, here is the link on how to generate a client jar file that has almost all the APIs from weblogic.jar and wls-api.jar etc etc. Most of the times, when we want to run WebServices, EJB clients etc as standalone, we need all these classes. So here is the link on how to generate something called "wlfullclient.jar" and put that in classpath or java build path etc.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/jarbuilder.html (To create wlfullclient.jar)
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/t3.html
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/basics.html#wp1069994
    NOTE: I already generated this wlfullclient.jar and I do see the above missing class in this .jar file. So hopefully this should solve your issue.
    Thanks
    Ravi Jegga

  • What are the common error while EBS installation in Unix /windows

    what are the common error while EBS R12 installation with os unix and windows.
    oracle have any any check after installation all installation are correct according to no of directory, files and file size ?
    regards

    Hi user;
    what are the common error while EBS R12 installation with os unix and windows.AFAIK there is no document which show common error.There are some common error for installation like:
    RW-5004- RW-50010 etc.
    For error we have to check instalaltion log files for can get more details about it
    oracle have any any check after installation all installation are correct according to no of directory, files and file size ?Oracle has 2 checking mechanisim during installation.
    1. Before start installation, rapidwiz makes Validate system Configuration check which is checking port avaliability,file system check etc.
    2. End of the installation,rapidwiz makes Validate system Configuration again to check jsp,dbc file, db avaliablity etc..
    For more details Please check:
    For r12.1.1:
    http://download.oracle.com/docs/cd/B53825_01/current/html/docset.html
    For r12:
    http://download.oracle.com/docs/cd/B40089_10/current/html/docset.html
    Hope it helps
    Regard
    Helios

  • Error while Invoking SQLPLUS from Command Prompt

    Hi All,
    I am trying to Connect to Oracle through sqlplus from command prompt of windows and getting this Error:
    C:\Documents and Settings>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Dec 28 10:08:43 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    set ORACLE_SID=database_name was set
    Anyone ever got this error or has any idea could you please help.
    Thanks.

    Try
    set LOCAL=<tns_name>
    Regards
    Kurt

  • Error while invoking sqlplus

    I am facing a problem while invoking sqlplus.
    The error message is as follows.
    Enter user-name: scott
    Assertion failed: !(fgets(hardwareAddr, (STRLEN-1), fstream) == NULL), file snlu
    i.c, line 1249
    IOT trap (core dumped) ----------------------------------------
    Can anyone help me on this?
    Thanks & Regards
    null

    Try
    set LOCAL=<tns_name>
    Regards
    Kurt

  • Error While Executing Sqlplus from shell

    I am trying to execute the below shell script with out back ticks(`${ORACLE_HOME}/bin/sqlplus) while calling sqlplus in the below code. When i do that all the next lines after that are changing to red color in vi and when i execute the script i am getting an error as "syntax error: unexpected end of file". may i know i please know what could be the issue? i suspect it could be because of EOF, when i have the backticks on it is executing fine.
    #!/bin/bash
    logit "Updating the Validation Status Field in ${DBSTGUSER}.FEED_PROCESS_LOG Table as RUNNING With Matching Parameters"
            logit "UNINUM :: ${UNINUM} PROVIDER :: ${PROVIDER} EXTRACT_DT :: ${EXTRACT_DT} VER_NUM :: ${VER_NUM}"
            `${ORACLE_HOME}/bin/sqlplus ${DBSTGUSER}/${DBSTGPASS}@${DBSRC} <<EOF > ${UPD_FEED_PROC_LOG}
            spool ${UPD_SQL1}
            UPDATE ${DBSTGUSER}.FEED_PROCESS_LOG SET VALIDATION_STATUS='RUNNING'
            WHERE UNINUM='${UNINUM}' and PROVIDER='${PROVIDER}' and EXTRACT_DT='${EXTRACT_DT}'
            and VER_NUM=${VER_NUM} and ACT_END_DT IS NULL  AND (VALIDATION_STATUS IS NULL OR VALIDATION_STATUS='RUNNING');
            spool off;
            COMMIT;
            EXIT;
            EOF`
            if grep -q "ERROR" ${UPD_FEED_PROC_LOG}
            then
                    logit "Error While Updating the ${DBSTGUSER}.FEED_PROCESS_LOG Table"
                    logit "Please Check ${UPD_FEED_PROC_LOG} Log File For Detailed Information"
                    exit 3
            else
                    logit "Updation Of ${DBSTGUSER}.FEED_PROCESS_LOG Table Completed Successfully"
                    logit "Please Check ${UPD_FEED_PROC_LOG} Log File For Detailed Information"
            fi

    Ariean wrote:
    I thought forum will have people with mixed skills (sql/scripting) they would be able to quickly point me to right direction. There is no problem is with RDBMS!
    I know EOF stands for End of file and i am piping the data into the program (sqlplus).You could just as well use "FUBAR" in place of EOF; which just happens to be some arbitrary string.
    piping ("|") is NOT involved , as in env | sort
    you don't know, what you don't know.

  • Error while starting sqlplus in SunSolaris-5.8

    Hello,
    I'm getting below error when I start sqlplus in sunOS-5.8.
    I'm just giving following command.
    $sqlplus
    It giving the error like,
    Message file sp1<lang>.msb not found
    Error 6 initializing SQL*Plus
    Any info on this would be very useful..
    Thanks,
    Pradeep

    Hi Jhon,
    While connecting the work rep I am getting following error. Could you help me in this regards please ? I am new to ODI world. I am able to connect master rep but when I am trying to connect work rep getting following errors
    oracle.odi.core.config.WorkRepositoryResourceFailureException: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
         at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:155)
         at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:504)
         at oracle.odi.core.OdiInstance.<init>(OdiInstance.java:581)

  • Error in invoking sqlplus

    Hi All,
    Yesterday we didnt one database upgrade after upgrade from 8.1.7.4 to 10.2.0.4 every thing went fine but after upgrade application users is not able to connect to the database by using their credentials.
    FROM ORACLE USER
    $ sqlplus
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Apr 26 10:50:22 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Enter user-name: / as sysdba
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    BUT BY USING APPLICATION USER CREDENTIALS ON THE SAME BOX
    cyrus: sqlplus
    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    even all the env var is setted.
    even i have ran the changePerm.sh also for relaxing the permissions.
    can you tell me where i have made the mistake
    OS is AIX 5.3
    KK

    Hi,
    1. Check if $ORACLE_HOME of both users is exactly the same
    2. Check if sqlplus that you are executing is the same too (which sqlplus)
    3. If that doesn't work, try executing directly ORACLE_HOME=/u01/oracle/.... sqlplus "/as sysdba"
    Regards,
    Mario Alcaide

  • Error Messages in SQLPLUS

    We are having Oracle 9i (9.2.0.5) which handles a whole bunch of applications.
    Suddenly the server has started giving out the entire error stack.eg:
    in sqlplus
    SQL> select e from emp;
    will give out
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 8
    ORA-00904: "E": invalid identifier
    instead of just
    ORA-00904: "E": invalid identifier
    This is happening at a global level(ie: all users are getting this), can someone tell me which init.ora parameter/sqlnet parameter is making this happen.
    DK

    One of your triggers on EMP table has in invalid stateNote that the error is on running the SELECT statement (Not a Insert/Update/Delete).
    Try using disable all triggers on this tableExtended Error stack is NOT coming because of a invalid trigger on emp table.
    SQL> create or replace trigger trig_emp
      2  before insert or update
      3  on emp
      4  for each row
      5  begin
      6    raise program_error ;
      7    err ;
      8  end ;
      9  /
    Warning: Trigger created with compilation errors.
    SQL> show errors
    Errors for TRIGGER TRIG_EMP:
    LINE/COL ERROR
    3/3      PL/SQL: Statement ignored
    3/3      PLS-00201: identifier 'ERR' must be declared
    SQL>
    SQL> select status from user_objects where object_name = 'TRIG_EMP' ;
    STATUS
    INVALID
    1 row selected.
    SQL>
    SQL> select e from emp ;
    select e from emp
    ERROR at line 1:
    ORA-00904: "E": invalid identifier
    SQL>

Maybe you are looking for