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

Similar Messages

  • Oracle 9i Lite/Sql Plus Installation Instructions?

    I am having the same problem with install Oracle 9i Lite. Really I need to get SQL PLUS up and running. I am installing it in Windows 98 and would like to use it on a stand alone pc/home pc.
    I ended up just installing sql plus without net8 and other mobile server components because I don't know what the port name and hostname is. I am just trying to get sql plus to work.
    After just installing sql plus, I get the same login username/password/host string. I think you can log in as SYSDBA or SYSOPER but what is the password and host string. I am not running sql plus from a server/internet I would like it to be stand alone. I know the host string has something to do with what type connection is being used but I don't have any (other than aol dial up connection) so I would just like to run sql on a stand alone pc!!! HELP!!
    Dionne

    Did your SQL*Plus install include create a database to connect to? I think a quick thing to check would be:
    Do you have a valid tnsnames.ora in $ORACLE_HOME\network\admin
    (address = is on one line)
    ie:
    orcl =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl.localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl.localhost)
    Where orcl is the name of the database you want to connect
    to and local host is your machine. (Check Network configuration). If you are on a network you will replace with orcl.mynet.com
    I think for a standalone SQL install they might expect you are on a NetWork and have a database to connect to. Maybe
    you should download the whole install for standalone use...
    9i and 8.1.7 are available for download. (8.1.7 is a little smaller and doesn't require as much memory depending on your home system)
    I'm not even sure what you are trying to do. Please post more details if this doesn't help.

  • 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.

  • How to login as DBA in oracle 9i from sql plus .

    how to login as DBA in oracle 9i from sql plus . ???

    First you need to check whether your HR schema is still unlocked or not? If it is locked - then you have to unlock it. And, then you can connect the Hr schema.
    But, i'm not sure - why you need system to log into the HR schema?
    Regards.
    Satyaki De.

  • Logging into ORACLE 9I using SQL*PLUS.TNS Error

    I have installed Oracle 9i for windows and am trying to login using SQL*PLUS
    user: system
    pwd: manager
    Host String: BHURU
    It says TNS could resolve service name.
    I have all the services running in the admin monitor.
    Am I missing something? Please advise.

    Can you post your tnsnames.ora file contents and listener.ora contents here?
    There may be tons of things wrong with the error actually,
    ORA-12154:     TNS:could not resolve the connect identifier specified
    Cause:     A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.
    Action:     
    - If you are using local naming (TNSNAMES.ORA file):
    - Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
    - Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
    - Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
    - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
    - If you are using directory naming:
    - Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Verify that the LDAP directory server is up and that it is accessible.
    - Verify that the net service name or database name used as the connect identifier is configured in the directory.
    - Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
    - If you are using easy connect naming:
    - Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Make sure the host, port and service name specified are correct.
    - Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.
    HTH
    Aman....
    Edited by: Aman.... on Oct 7, 2008 5:46 PM
    Added error info

  • 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

  • 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

  • Not able to connect Oracle DBXE from sql*plus client

    Hi,
    I have installed Oracle 10gXE from oracle site. i have updated the tnsnames.ora also
    but when i try to connect the db through sql*plus client, i am redirected to .net debugger.
    Pls help me in this,
    Thanks in advance.
    -- Raja

    Hello,
    Can you clarify what you are trying to connect from? If it's B1 ( one ) then post to the [B1 forum|http://forums.sdn.sap.com/index.jspa#44].
    Otherwise need more info on the product you are using?
    Typically the Oracle Path must be in the PATH statement as well it requires the correct platform ( 32 or 64 ) bit client installed.
    Most BOE/CR products are 32 bit so you need to install the 32 bit client.
    Don

  • Oracle Database LIte 10g installation error

    I downloaded Oracle Database Lite 10 g and tried to install it on Windows XP. On Mobile Server Repository Wizard after I type any password for SYSTEM user I receive the error: "Io exception. The Network Adapter could not establish the connection." Can anyone help on this?
    Thanks!

    Hi user629995
    You can find some help on :
    http://www.geekpedia.com/KB28_Fatal-error-C1083-Cannot-open-include-file-iostream.h-No-such-file-or-directory-when-trying-to-compile-your-C-or-Cplusplus-code.html
    and that
    http://www.cplusplus.com/forum/beginner/683/

  • 1st Login to Oracle 9i Personal SQL Plus (To 355099)

    To 355099
    Thank You for trying to help.
    I did as you told me in your reply but I am sorry to tell
    you that it did not worked.I steel demanded
    Password.
    If there is another thing that you forgot or you know
    another way to solve that problem then I shall
    be great thankful to you if you will let me know.
    You can reply to E-Mail [email protected]
    With Many Thanks and Great Respect
    Menahem Sharon

    it is very strange you still not got the solution because i read the sotion which work good on my system.
    do you remember the password which you gave during the installation of oracle database on you system . If so then your system user pass will the same.
    so when you click sql*plus enter user name => system
    and in Password field enter the password which you gave during installation . If you gave no password during installation then the password of user 'system' will be 'manager' so enter this information. and do the same processes which I told you.
    Thankyou.

  • First Login to Oracle 9i Personal SQL Plus after installation

    I downloaded the Opacle 9i for Windows NT/2000/XP,3 ZIP
    fiels andI extracted them into 3 special folders disk1,
    disk2 and disk3 according the instructions.Also I
    installed the JRE which is required for that.After the
    installation of Oracle 9,when I wanted to use the SQL Plus
    I could not do it because I had no the first login User
    Name and Password.
    For example,in Oracle 7 Personal for Windows 95 and in
    Oracle 8i Personal for Windows 98,the first login User
    Name is "scott" and the Password is "tiger".
    I shall be great thankfull to you if you will let me know
    how to perform the first login to the SQL Plus of Oracle
    9i (User Name and Password).
    With Great Respect
    Menahem Sharon

    in oracle9i all default users account are lock by default. so if you want to connect
    first when you open sqlplus in user name type "/nolog"
    sqlplus will open with no connection then issue the command.
    conn / as sysdba
    alter user scott account unlock;
    conn scott/tiger
    that is the procedure

  • 1st Login to Oracle 9i Personal SQL Plus (To Mr. Rizwan Islam)

    Dear Mr. Rizwan Islam
    Thank you for trynig to help me in the first login to the
    SQL Plus of Oracle 9i.
    I did as you wrote in your reply to me,but I am sorry to
    tell you that after I typed in the User Name box "/nolog"
    (as you said)and clicked OK button,the SQL Plus was opened
    but it demnded a Password form me.Because I did not know
    the Password for "/nolog" I could not continue with the
    procedure you wrote in your reply for me,so if you forgot
    something or you know another way to solve that problem,
    Please let me know.
    With Many Thanks and Gereat Respect
    Menahem Sharon

    Menahem,
    Here is how you do it.
    Click on the 'Start' button and choose 'Run' from the menu.
    In the 'Open' dialog box, type any of the following and hit the 'enter' key.
    sqlplus /nolog
    sqlplusw /nolog

Maybe you are looking for