Oracle SQL*PLUS Error

Dear,
When I run a complex query or a query with huge numnber of records, My sql*plus session is aborting by giving a message. Is this an Oracle session problem or an OS problem? Please suggest,
With warm regards
AIJAZ

Hola Marcela. Mucho gusto: Joel Pérez
mi e-mail directo es: [email protected] y mi telefono es : 584129955506 . Me estoy conectando a Internet solo en las mañanas.
Como supistes que era de Vzla. Vistes mi perfil ?
Joel Pérez
http://otn.oracle.com/experts

Similar Messages

  • Oracle SQL*PLUS has encountered a problem and needs to close

    When I have done like below,
    C:\Documents and Settings\himanshu.chaudhari>sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 14 07:38:22 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn sys@dev as sysdba
    Enter password:
    Connected.
    SQL> spool e:/spool/test.log
    SQL> @e:/spool/ms_script.sql
    Got error like ,
    Oracle SQL*PLUS has encountered a problem and needs to close. We are sorry for the inconvenience.
    AppName: sqlplus.exe     AppVer: 0.0.0.0     ModName: oranls10.dll
    ModVer: 10.2.0.1     Offset: 0005d6ff
    I am using,
    Operating System: Microsoft Windows XP Professional Version 2002 Service Pack 3,
    Have two different oracle client on same drive
    1) 10.2.0.1.0
    2) 8.1.7.4.0
    I have tried,
    Run selecthome.bat from BIN but got same error,
    Run sqlpus.exe from particular home then also got same error..
    So , Please anyone can have some idea regarding the same ?

    Is there any other error in error.log file?
    What do you run in that (ms_script) script?
    Have you used both sqlplus?
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Oracle SQL*PLUS has encountered a problem and needs to close.  We are sorry

    I have installed oracle10g release2(10.2.0.1.0) in my system
    my porblem when i am trying to issue command
    SQL> commit;
    Commit complete.
    SQL> cl scr;
    then it is show below mentioned error
    Oracle SQL*PLUS has encountered a problem and needs to close. We are sorry for the inconvenience.
    Please can anybody help for me.
    with regards,
    srinivas.

    When working with mixed environments you should make sure the path environment variable is consistent with the executables you are currently running, and try not to mix them, i.e. if you are working with the sqlplus from 9i, make sure you execute the sqlplus.exe file from the 9i oracle home and temporarily by means of a batch file put your Oracle Home 9i executables prior to those of 10g , and the other way around, when executing from the 10g make sure all executables and paths are consistent. It should be easier since when installing oracle, oracle configures the PATH environment variable so it can be seen first in the path environment variable.
    In your case you are using two compatible versions, but if the dll's get mixed there could be unexpected results.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Oracle sql*plus has stopped working ?

    During creation of database in oracle 11.1.0.6 using database configuration i am getting following error
    oracle sql*plus has stopped working
    any solution?

    Sorry ,we r getting the error while installation?
    May be this can help
    SQL*Plus won't start: Instant client 10.1 on Solaris 10

  • Oracle SQL*PLUS Log-In Problems

    I installed Oracle 9i Standard Edition yesterday and I logged in fine with my sys and system username and password in Oracle SQL*PLUS.
    Today when I type in the same username/password, it doesn't let me access the software and gives me "error 01033: Oracle initialization or shutdown in progress" and shuts down in three tries...
    I am not sure why so...any help?

    Like the error message says, the Oracle initialization is in progress. That means that it can't log you in because it is still busy starting up. If you try to logon three times before it is done starting up, it will exit the logon screen. Try waiting a while, perhaps a few minutes, before you try to logon. The slower your system is, the longer it may take to start up. For example, if you are using Windows on a PC, every time you start your computer, it starts your Oracle database along with everything else that is started automatically and, if you have a lot of stuff that loads on startup, it may take several minutes.

  • Tell me the COMMAND to see the Explain Plain in Oracle SQL * Plus

    HI all,
    Tell me the COMMAND to see the Explain Plain in Oracle SQL * Plus?
    Regards,
    Balaji.C

    SET AUTOT TRACE EXPor EXPLAIN PLAN ... and @?/rdbms/admin/utlxpls
    SCOTT@lsc01> explain plan for select * from dept where deptno=10;
    Explained.
    SCOTT@lsc01> @?/rdbms/admin/utlxpls
    PLAN_TABLE_OUTPUT
    Plan hash value: 2852011669
    | Id  | Operation                   | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |         |     1 |    20 |     1   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| DEPT    |     1 |    20 |     1   (0)| 00:00:01 |
    |*  2 |   INDEX UNIQUE SCAN         | PK_DEPT |     1 |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("DEPTNO"=10)

  • Oracle SQL DEVELOPER ERROR

    Hello everyone
    Can anyone here please help me with oracle sql developer error
    My problem is that i have installed oracle sql developer as a root and now when i execute the following command
    [root@localhost tmp]# sqldeveloper
    Oracle SQL Developer
    Copyright (c) 2008, Oracle. All rights reserved.
    Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk
    /opt/oracle/softwares/jdk1.5.0.19
    Error: /opt/oracle/softwares/jdk1.5.0.19/bin/java not found
    As you can see i did install java but still i keep getting that error
    Thank you

    From what you have shown us, we can't tell that you have installed java. What do you get from the following command?
    /opt/oracle/softwares/jdk1.5.0.19/bin/java -versiontheFurryOne

  • Download Oracle SQL*Plus help related like word help

    Hello all
    I just wanna ask if where i can download Oracle SQL*Plus help related like word help.?
    ty

    <p>You can access SQL*Plus help from the command line in a SQL*Plus session by typing 'help index'. If you want more information than that, take a look at the SQL*Plus Quick Reference located <b>here</b> or the SQL*Plus User's Guide and Reference located <b>here</b>. These docs are all for Oracle 10g. Other version documentation can be found <b>here</b>.</p>
    Tom

  • Oracle 8i Lite Sql*Plus error

    When attempting to connect to Sql*Plus I get
    the error ORA-21526 in an infinite loop.
    Any ideas how to get around it?
    I am running under Windows 98.
    null

    debbie (guest) wrote:
    : When attempting to connect to Sql*Plus I get
    : the error ORA-21526 in an infinite loop.
    : Any ideas how to get around it?
    : I am running under Windows 98.
    Check the NLS_DATE_FORMAT to make sure it is set up correctly.
    null

  • Clear Screen, Sql plus Error, in release 10.2.0.1.0

    Hi there,
    I'm having problem in using clear screen command in SQLPlus utility of Oracle Release 10.2.0.1.0. When executing clear screen in SQL Plus ( in command prompt) in windows machine, suddenly a dialogue box opens and saying that "SQLPlus encountered an error and sorry for inconvenience "
    Is this the problem with OS or Oracle Client?
    Could anyone please help me in resolving this issue?
    Thanks
    Raja

    So that is the problem with Oracle client only, not with the OS configuration and all.... shall i assume?

  • Re: SQL Plus Error ORA - 12560 TNS:Protocol Adapter error

    I am using Oracle 9i
    On Windows XP Home
    I am trying to learn and become familiar with Oracle 9i
    I get the above error whenever I try to log on to SQL Plus
    I use the following Id scott
    and the following Password Tiger
    and the above error comes up
    now I can't log on to Oracle9i SQL
    I tried going into Start, Control Panel, Administrative Tools, Services
    I see the Oracle SID which says Automatic, Started
    But I am unable to still logon
    Anyone has a solution
    Assistance would be appreciated
    The solution can be printed here as well as please forward a copy to [email protected]
    Thanks

    Here is the following output of your instructions
    sc query oracleserviceoracle
    SERVICE_NAME: ORACLESERVICEORACLE
    TYPE: 10 WIN32_OWN_PROCESS
    STATE: 4 RUNNING
    (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
    WIN32_EXIT_CODE: 0 (0X0)
    SERVICE_EXIT_CODE: 0 (0X0)
    CHECKPOINT: 0X0
    WAIT_HINT: 0X0
    set | find "ORACLE"
    comes back empty
    set | find "oracle"
    JSERV=J:\oracle\ora92/Apache/Jserv/conf;C:\oracle\ora92/Apache/Jserv/conf
    Path=J:\oracle\ora92\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MSSQL7\BINN;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier";C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Executive Software\DiskeeperLite\;C:\Program Files\CA\PPRT\bin;C:\Program Files\SSH Communications Security\SSH Secure Shell;;J:\Acucobol\BIN
    WV_GATEWAY_CFG=J:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app
    ebrian
    Yes I realize that the JSERV is pointing in the incorrect are
    the J drive is a flashdrive
    In the Registry I have just deleted the 2nd Orahome directory which was on the J drive
    so all I have now left is the Orahome directory on the C drive
    how do I make corrections so that from now on the JSERV, Path, and WV_Gateway._CFG point to the C drive

  • Sql*plus error while executing

    Hi ,
    Note : "I am in unix terminal in sql*plus prompt running this below query"
    SQL> declare
    v_len number(9);
    v_sublen number(9);
    v_resval number(9);
    v_cnt number(9):=1;
    v_parm varchar2(600):='&peo_no';
    begin
    select length(v_parm) into v_len from dual;
    for i in 1..v_len loop
    select substr(v_parm||',',v_cnt, instr(v_parm||',',','))
    into v_resval
    from dual;
    select length(v_resval) into v_sublen from dual;
    insert into t(col)values(v_resval);
    v_cnt:=v_cnt + (v_sublen+2);
    end loop;
    end;
    / 2 3 4 5 6 7 8 9 10 11 12 13 14 14 15 16
    17 18
    Enter value for peo_no: 123,456,789,852,147,369
    old 6: v_parm varchar2(600):='&peo_no';
    new 6: v_parm varchar2(600):='123,456,789,852,147,369';
    declare
    ERROR at line 1:
    ORA-01722: invalid number
    ORA-06512: at line 10
    It's getting the error above pls anyone suggestions
    Thanks,

    You don't have to use a for loop to do the job, which is a slow process. try this instead.
    PRAZY@11gR2> select * from t;
    no rows selected
    Elapsed: 00:00:00.00
    PRAZY@11gR2>
    declare
         v_parm varchar2(600):='&peo_no';
    begin
         insert into t select case when level = 1 then
              substr(v_parm,1,instr(v_parm,',')-1)
         when level = length(v_parm) - length(replace(v_parm,',')) + 1 then
              substr(v_parm,instr(v_parm,',',-1)+1,length(v_parm) - length(substr(v_parm,1,instr(v_parm,',',-1))))
         else
              substr(v_parm,length(substr(v_parm,1,instr(v_parm,',',1,level-1)))+1,
              length(substr(v_parm,1,instr(v_parm,',',1,level))) - length(substr(v_parm,1,instr(v_parm,',',1,level-1))) - 1)
         end
         from dual
         connect by level <= length(v_parm) - length(replace(v_parm,',')) + 1;
         commit;
    end;
    Enter value for peo_no: 85232,456256,324562,89654
    old   2: v_parm varchar2(600):='&peo_no';
    new   2: v_parm varchar2(600):='85232,456256,324562,89654';
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.04
    PRAZY@11gR2> select * from t;
           COL
         85232
        456256
        324562
         89654
    Elapsed: 00:00:00.00
    PRAZY@11gR2>Btw, I had never seen a Oracle 7 DB. I thought it was RIP. ;)
    Note: Posted this on your other thread.. this is just in case... :)
    Regards,
    Prazy

  • SQL Plus error

    I'm working with Ubuntu 10.04 Server.
    I just installed Oracle XE 11g (11.2.0 specifically)
    All I did was download the .rpm file and converted it to a deb (using alien) and then ran the deb (using dpkg). Everything seems to be installed fine however when I try to run sqlplus I get the following message:
    Error 6 initializing SQL*Plus
    SP2-0667: Message file sp1(lang).msb file not found
    SP2-0750: You may need to set your ORACLE_HOME to your Oracle software directory
    However the oracle_env.sh states that ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe which is the correct path (at least I think it is). So does anyone know what the issue is?
    Thanks

    I've checked all of the log files in the log directory and there doesn't seem to have been any errors in them.That's good. So we can assume most things worked as intended.
    Path looks wrong... But no idea how it got to be wrong or how to fix it.It does. Did you execute the following from Step 9)
    echo "" >>./.profile
    echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >>./.profileThis should set up your environment as needed. In the guide, this had been done for the "oracle" user only. If you use a different account, you'll have to either source or include that environment script as well.
    Please also check whether it has been created correctly by running
    cat /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.shThe output should read
    export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
    export ORACLE_SID=XE
    export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
    export PATH=$ORACLE_HOME/bin:$PATHThough possibly not mandatory, you could add
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/libto that script. This will set the library path to include the oracle libraries, such as client libraries.
    LANG-settings are okay, by the way.
    -Udo
    Edited by: Udo on 26.03.2012 16:02

  • Oracle SQL Plus login fails

    Hi
    I have install Oracle 9i Enterprise Edition on Windows XP. Then I have created a database call "itcmdb". Then to login to SQL Plus in graphical mode I have enter
    User Name: sys as sysdba
    Password : password
    Host String : itcmdb
    Then I have got an error:
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb 17 16:46:17 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_string>] | /
    so I try to log into SQL Plus by using command prompt. So i enter following command in the command prompt.
    D:\>SQLPLUS /NOLOG
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb 17 16:50:34 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> connect sys/password@itcmdb as sysdba
    Connected.
    SQL>
    the it was connected without any problem. Then i check "C:\oracle\ora92\network\admin\tnsnames.ora". So it was contain following information.
    ITCMDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Rasika)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME=itcmdb)
    Then i check "C:\oracle\ora92\network\admin\listener.ora". so it was contains following information.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rasika)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ITCMDB)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = ITCMDB)
    Cold u plz help me to fix this problem........

    Hi
    I have install Oracle 9i Enterprise Edition on
    Windows XP. Then I have created a database call
    "itcmdb". Then to login to SQL Plus in graphical mode
    I have enter
    User Name: sys as sysdba
    Password : password
    Host String : itcmdb
    Then I have got an error:
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb
    17 16:46:17 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All
    rights reserved.
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::=
    <username>[<password>][@<connect_string>] | /
    so I try to log into SQL Plus by using command
    prompt. So i enter following command in the command
    prompt.
    D:\>SQLPLUS /NOLOG
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb
    17 16:50:34 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All
    rights reserved.
    SQL> connect sys/password@itcmdb as sysdba
    Connected.
    SQL>
    the it was connected without any problem. Then i
    check "C:\oracle\ora92\network\admin\tnsnames.ora".
    So it was contain following information.
    ITCMDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Rasika)(PORT
    )(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME=itcmdb)
    Then i check
    "C:\oracle\ora92\network\admin\listener.ora". so it
    was contains following information.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =
    )(HOST = rasika)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ITCMDB)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = ITCMDB)
    Cold u plz help me to fix this problem........on the sqlplusw gui you can not pass sys as sysdba as this option is available in OEM or other FRONTEND tools, wherein they inherently implement connect command.
    Hope this helps !

  • SQL Plus Error - "Can't open file" when spooling

    Hi:
    I have a user who is either able or unable to spool when running a script depending on what Oracle user she logs in as. She's always logging in as the same Linux user but connecting to Oracle as different Oracle users via SQL Plus. When spool files are created they are created with that user's account and group settings, so the OS account seems to be fine.
    I'm having a problem with the idea that there is an Oracle role or something that controls this. Spool isn't UTL_FILE. Is this a SQL Plus application setting or something?
    We're using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    Thanks

    Well, I'm working off an email so maybe they cut and pasted and maybe they didn't. They say the error is
    spool error: "Cannot create spool file"
    I'll have to recreate their situation and see what it really says. But either way, my confusion is how this same OS user can log in as a different Oracle user and spool away. Perhaps the comment above is correct. It worked the first time and they tried to run under the other account without removing the current file. I tend not to think so because these users have been running similar reports for years and they usually have to remove the old output file before re-running.

Maybe you are looking for

  • FM file with PDFincludes not converted in Robohelp

    Win7, 64bit, FM 9.0.2, RH 8.0.2.208 I have some thousand pages of FrameMaker files that include lots of PDF graphics (in ancored frames, by reference). When importing and converting the whole thing into Robohelp, the PDF graphics do NOT seem to get p

  • Need help with SelectOneMenu in a HtmlDataTable: Default Values

    Hello again, I have an DataTable in my jsp and 1 of the columns need to be a dropdown. Further, I also need the dropdown defaulted to whatever data that is currently in the datatable. I can get the dropdown data to display, however I cannot get it to

  • Video connectivity cable

    How can i connect my nokia C6-01 to TV. without HDMI cable, as per contenation of my nokia C6-01 phone setting and user guid. the picture of the cable is not HDMI cable. so i want to know that how can i connect my nokia C6-01 to TV without HDMI cable

  • Lightroom 1.4 forum reaction

    I would just like to take a moment to dwell on the positive and thank Ian for all the work he does for this forum and his forthright, honest and helpful responses as we worked our way through identifying the bugs in the 1.4 release. Rory

  • Problems with Superdupe and then Winclone - please help!

    Okay.. I just got a 17" and I used Superdupe to clone my 15" and used Winclone to do the same for my windows partition. I bought a new 500 gig hard drive and formatted it. I formatted it to Mac OS Extended Journaled with just one partition. After clo