Oracle8.1.7 - Can't log in to SQL*Plus

I have just installed the Course Technology kit for Oracle8i (Oracle8i Personal Edition and Oracle Forms and Reports 6i). I am running Windows 98.
I am able to start the database and have created the connect string in tnsnames.ora as instructed (I copy/pasted from the website so there shouldn't be any typo's), but when I try to start SQL*Plus and connect to the database I get
ERROR:
ORA-12547 TNS: lost contact
What do I do now?

GoodDay,
Ok. You should try to restart the tnslnr.exe,lsnrctl.exe present in oracle/bin directory it should reinitiate the variables and after that one you should also change the contents of Listerner depending upon the type of protocal used such as TCP/IP,IPC etc and you should try Beq_LOCAL.world in Tnsnames.ora file that would help you resolve your problem.
With Best Wishes,
M.Ram Chaitanya

Similar Messages

  • Logging in on SQL Plus

    I have yet been able to log in to SQL Plus. I just installed 8i Personal. I created a DB called "SCOTTSDB". After creating it, I wanted to login to SQL Plus. I tried user:system password:manager, user:internal password:oracle, and user:sys password:change_on_install. I just started an Oracle class at the university and wanted to run it at home for more practice. The login that I use at school is user:system password:manager. The host string is the name of the database right? For instance the name of the database that I created is like I said earlier "SCOTTSDB". Is that what I put in the host field? Any help is greatly appreciated. Thank you. scott

    Hi I want to know, if Oracle 8i server can be installed in Win
    98 properly? I tried and it got installed. But, I could not
    connect to it from Oracle client. It is giving error ORA-
    12541:TNS: no listener . How to start a listener in Win 98? Is
    it possible or Oracle 8i server has to be installed in NT/
    2000 ? I want to use the client and server in a single machine,
    thats why I do not want to unistall my OS. Can u suggest
    anything?
    Thanks and regards,
    -surajit

  • Cannot log in to SQL*Plus after initial login

    Hi all,
    I have an irritating problem that I am hoping that you can help with. I installed Oracle 10g on RedHat Linux ES 3. Everything seems to be working fine as long as I do not log out my oracle user. If I leave the user logged in everything works as expected. Once I log out, when I log back in I cannot access SQL*Plus normally.
    I enter: sqlplus my_user/my_password
    I get this:
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Sep 27 11:59:01 2005
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27123: unable to attach to shared memory segment
    Linux Error: 22: Invalid argument
    Additional information: 1
    Additional information: 360457
    But, if I enter it with the connection string: sqlplus my_user/my_password@ora1 then it works fine.
    I get the same behavior through VNC. As long as I never log out of VNC but just close the session, logging in to SQL*Plus works as normal.
    Any thoughts? My ORACLE_BASE, ORACLE_HOME, and ORACLE_SID seem to be correct.
    Thanks,
    Mike

    Hi,
    Kill the shared memory process and restart your database.
    Regards,
    Umair

  • Logging in to SQL Plus as DBUSER

    I can log in to SQL Plus as username scott, password tiger. But I need to login as username DBUSER, password oracle. How can I do this?

    In the same way as you did with username scott.
    Or maybe there is no user DBUSER in your database.
    check with...(as DBA)
    select username from dba_users where username='DBUSER'

  • URGENT - cannot log in to SQL Plus on Oracle 8i

    Hi, I have Oracle 8i (8.1.6.0.0) installed on windows 98.
    I want to use the SQL Plus module, but I have trouble to login SQL plus, and I an get error message:
    ORA-12560: TNS:Protocol adapter error
    I supposed the default username and password as follows:
    SYS/CHANGE_ON_INSTALL
    SYSTEM/MANAGER
    SCOTT/TIGER
    Am I using the correct version or edition (which I also don't know which edition)? Does windows 98 supports SQL Plus?
    I was told to set up a database by selecting database administration then follow by database configuration assistant (in order to use the SQL Plus, firstly a database have to set up). I'm not sure whether this is true? but inside the database administration I don't have the so call "database configuration assistant". Can someone please help me?
    Thanks a lot in advance!

    I hope you can help, I'm in the same boat as the others who cannot log on to the SQL* using Oracle Personal Edition 8
    I'm running on 98, and everytime I try entering SYS as username & CHANGE_ON_INSTALL as password, or SYSTEM as username & MANAGER as password; I get:
    ORA-01034: ORACLE not available
    ORA-27101: Shared memory realm does not exist
    I've been trying for a number of days, and have created databases using the Database config assistant, and everytime, it gives me the details as SYS CHANGE_ON_INSTALL etc, but it still doesn't let me log into SQL*
    Any help would be gratefully received,
    Patrick

  • Apex 4.0 - Can see view data in SQL*Plus but no data in Object Browser

    Hi There,
    I have just started using Apex 4.o and migrated some apps. I have an issue with a report, but see the same issue with Object browser, which is easier to describe.
    I have a view:
    create or replace view V_PLJ_USERDEF_CODES (
             CODE_SET_ID,
             CODE_SET_CODE,
             CODE_SET_DESC,
             CODE_ID,
             CODE_SYS_CODE,
             CODE_VALUE,
             CODE_DESC,
             DISPLAY_SEQ,
             DISPLAY_FLAG,
             LANGUAGE_CODE) as
      select CS.CODE_SET_ID,
             CS.CODE_SET_CODE,
             CS.CODE_SET_DESC,
             C.CODE_ID,
             C.CODE_SYS_CODE,
             C.CODE_VALUE,
             C.CODE_DESC,
             C.DISPLAY_SEQ,
             C.DISPLAY_FLAG,
             C.LANGUAGE_CODE
        from PLJ_CODES C,
             PLJ_CODE_SETS CS
       where C.CODE_SET_ID         = CS.CODE_SET_ID
         and CS.CODE_SET_TYPE_CODE = SYS_CONTEXT('PLJUMPSTART','C_USERDEF_CODE_SET');This returns data in SQL*Plus, but no data in Object Browser OR report region based on this view.
    Workspace parses in the same schema as tested in SQL*Plus.
    If, in report, I swap out view, and use underlying table - no problem.
    Any ideas -
    thanks
    P

    Hi all,
    Thanks for getting back so promptly.
    It just seems weird to me, as tables are just fine, but not views.
    In the underlying schema:
    SQL> sho user
    USER is "ICSREPORTING"
    SQL> select count(*) from plj_codes;
      COUNT(*)
           107
    SQL> select count(*) from v_plj_userdef_codes;
      COUNT(*)
            29And in the APEX schema
    SQL> sho user
    USER is "APEX_040000"
    SQL> select count(*) from icsreporting.plj_codes;
    select count(*) from icsreporting.plj_codes
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> select count(*) from icsreporting.v_plj_userdef_codes;
    select count(*) from icsreporting.v_plj_userdef_codes
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL>However, in SQL browser, I can see the data in PLJ_CODES but in V_PLJ_USERDEF_CODES, just the message "This view has no data". Indeed, it is like this for all views.
    I even explicitly granted access to APEX_040000 but no good.
    In fact, I would like to know more about how Apex gets access to do DML against the underlying parsing schema(s).
    This is a little frustrating though. It worked just fine in lots of apps in version 2.1 to 3.2
    Am I missing something
    paul
    p.s I knew there would be a question about the context, but I had already checked that. :)
    Edited by: PJ on Nov 19, 2010 4:09 AM

  • Can not query PQH_BUDGET_DETAILS in SQL*Plus

    Hi!
    I can see the Positions in the Forms-Mask within EBS.
    I want to write a concurrent Programm which queries some data form the positions-table.
    If i klick on "Help > Diagnostics > Examine" and select "system.last_query" i can see, that the data comes from a view called: "PQH_POS_BUDGETS_V".
    But if i try to query this view in SQL*Plus, it is empty.
    So i had a look at how this view is build, and i found, that the base tables should be PQH_BUDGETS and PQH_BUDGET_DETAILS.
    How can i query the position_id in PQH_BUDGET_DETAILS in a concurrent program or an self-writen BI Publisher Report?
    If i try to query in SQL*Plus it's empty.
    Who can help me with this issue?
    Thank you for your help!
    Best regards,
    Thomas

    Hi!
    Thats great!
    Thank you very much!
    Best regards,
    Thomas

  • Oracle10g - getting error when tried to log in using SQL plus

    I have installed Oracle Database 10g with following settings
    A) In Select Installation Method with basic installation
    1) Global Database Name: orcl
    2) Database Password: srinu
    B) In Database Configuration Assistant shows following information
    Global Database Name: orcl
    System Identifier(SID):orcl
    c) Password management
    User Name SYS and SYSTEM shows accounts are not locked and password shows empty
    I have tried to log in using scott/tiger, SYS/srinu, SYSTEM/srinu, SYS, SYSTEM with providing no pass word
    Could you please provide me the details to connect Databse from SQL plus editor
    I have all the screen shots of the above settings
    I will appreciate any help

    Please find the commands and respective results below
    D:\Documents and Settings\Administrator>SET
    ALLUSERSPROFILE=D:\Documents and Settings\All Users
    APPDATA=D:\Documents and Settings\Administrator\Application Data
    CLIENTNAME=Console
    CommonProgramFiles=D:\Program Files\Common Files
    COMPUTERNAME=SRINU
    ComSpec=D:\WINDOWS.0\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=D:
    HOMEPATH=\Documents and Settings\Administrator
    LOGONSERVER=\\SRINU
    NUMBER_OF_PROCESSORS=1
    OS=Windows_NT
    Path=D:\oracle\product\10.2.0\db_2\bin;D:\WINDOWS.0\system32;D:\WINDOWS.0;D:\WIN
    DOWS.0\System32\Wbem;D:\Program Files\Java\jdk1.5.0_19\bin;D:\Program Files\Apac
    he Software Foundation\Tomcat 6.0\bin;D:\Program Files\Java\jre1.5.0_19\lib;D:\o
    racle\product\10.2.0\db_2\BIN
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PERL5LIB=D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWin32-x86;D:\oracle\prod
    uct\10.2.0\db_2\perl\5.8.3\lib;D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWi
    n32-x86;D:\oracle\product\10.2.0\db_2\perl\site\5.8.3;D:\oracle\product\10.2.0\d
    b_2\perl\site\5.8.3\lib;D:\oracle\product\10.2.0\db_2\sysman\admin\scripts;
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0d08
    ProgramFiles=D:\Program Files
    PROMPT=$P$G
    SESSIONNAME=Console
    SystemDrive=D:
    SystemRoot=D:\WINDOWS.0
    TEMP=D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
    TMP=D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
    USERDOMAIN=SRINU
    USERNAME=Administrator
    USERPROFILE=D:\Documents and Settings\Administrator
    windir=D:\WINDOWS.0
    ============================
    D:\Documents and Settings\Administrator>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAY-2010 03:08
    :55
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 15-MAY-2010 23:44:31
    Uptime 0 days 3 hr. 24 min. 25 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\10.2.0\db_2\network\admin\listener.o
    ra
    Listener Log File D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.51)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ========================================
    D:\Documents and Settings\Administrator>lsnrctl service
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAY-2010 03:10
    :10
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: SRINU, pid: 3740>
    (ADDRESS=(PROTOCOL=tcp)(HOST=srinu)(PORT=1092))
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    Thanks,
    Srinivas

  • How to append timestamp to log file in SQL*Plus ?

    Version: 11.2.0.3
    Platform : RHEL 5.8 (But I am looking for platform independant solution)
    I want to append the timestamp to spooled log file name in SQL*Plus.
    The spooled log filename should look like
    WMS_APP_23-March-2013.logI tried the following 3 methods found in the google. But none of them worked !
    I tried this
    col sysdt noprint new_value sysdt_var
    SELECT TO_CHAR(SYSDATE, 'yyyymmdd_hh24miss') sysdt FROM DUAL;
    spool run_filename_&sysdt_var.Logas suggested in
    http://power2build.wordpress.com/2011/03/11/sqlplus-spool-name-with-embedded-timestamp/
    and this
    spool filename with timestamp
    col sysdt noprint new_value sysdt
    SELECT TO_CHAR(SYSDATE, 'yyyymmdd_hh24miss') sysdt FROM DUAL;
    spool run_filename_&sysdt..Logas suggested in
    http://powerbuildev.wordpress.com/2011/03/11/sqlplus-spool-name-with-embedded-timestamp/
    and this
    column tm new_value file_time noprint
    select to_char(sysdate, 'YYYYMMDD') tm from dual ;
    prompt &file_time
    spool logfile_id&file_time..logas suggested in
    Creating a spool file with date/time appended to file name
    None of the above worked in RHEL or MS DOS. Any workaround ?

    I have tested your suggestions. But I still couldn't append the date to the logfile in RHEL or MS DOS SQL*Plus
    Here are the attempts I've made. I am posting how the logfile looked like after every test.
    #Attempt1 with two dots (&sysdate..log )
    set echo on
    set feedback on
    set define off
    set pages 999
    column dcol new_value SYSDATE noprint
    select to_char(sysdate,'YYYYMMDD') dcol from dual;
    spool testlog.&sysdate..log
    select 'hello' from dual;
    spool off;Log File Name -- > testlog.&sysdate..log
    #Attempt2 with single dot (&sysdate.log)
    set echo on
    set feedback on
    set define off
    set pages 999
    column dcol new_value SYSDATE noprint
    select to_char(sysdate,'YYYYMMDD') dcol from dual;
    spool testlog.&sysdate.log
    select 'hello' from dual;
    spool off;Log File Name ---> testlog.&sysdate.log
    #Attempt3. Replacing first dot with Hyphen (testlog- ) to check if the first dot was causing the issue
    set echo on
    set feedback on
    set define off
    set pages 999
    column dcol new_value SYSDATE noprint
    select to_char(sysdate,'YYYYMMDD') dcol from dual;
    spool testlog-&sysdate.log
    select 'hello' from dual;
    spool off;Log Filename: testlog-&sysdate.log
    #Attempt4: replacing SYSDATE with SDATE
    set echo on
    set feedback on
    set define off
    set pages 999
    column dcol new_value SDATE noprint
    select to_char(sysdate,'YYYYMMDD') dcol from dual;
    spool testlog1.&SDATE..log
    select 'hello' from dual;
    spool off;Log File Name -- > testlog1.&SDATE..log

  • Logging in to SQL*Plus

    I've just installed Oracle 9i to Windows 2000 server. When I use SQL*Plus, it asked for a username and password. But when I installed Oracle 9i, it never asked me to create user. Then I tried logging in using windows 2000 username and it still did not worked. Is there any default username (like 'root' maybe). Thanks.

    There was a dialog displayed during installation that gave you the default logins. They are:
    scott/tiger
    system/manager
    sys/change_on_install
    Your Windows login has nothing to do with your Oracle9i login, with the exception of the ORA_DBA group, but that's a whole other discussion that I won't go into here.
    I suggest you get reading some Oracle documetation at http://tahiti.oracle.com.
    Alison

  • Cannot log in to SQL Plus on Oracle 8i

    Hi,
    I have Oracle 8i (8.1.6) Client installed on windows 200 professional. I donnot connect to any servers, and I want to use the SQL Plus module, but I have trouble to login SQL plus, and I an get error message:
    ORA-12560: TNS:Protocole adapter error.
    Would you please let me know what they are supposed to be: username, password and host string ?
    Am I using the correct version, or I have to use the personnal edition, and if so I have Oracle 8i personnal edition, but it is not working with 2000, is there a patch file or do I have to download the 2000 version.
    Thanks a lot in advance.

    The default logins for Oracle8i are:
    SYS/CHANGE_ON_INSTALL
    SYSTEM/MANAGER
    SCOTT/TIGER
    If you are connecting to the default database, don't enter anything in the Host String area. If you are connecting to a remote database, you will need to set up Oracle Net on your machine to connect to the remote database (tnsnames.ora file).
    Do you have a database to connect to? You have installed the Oracle8i Client, which should be used to connect to remote databases (on other machines). If you don't have a remote database, you should install the full Oracle9i Server component, not just the Client.
    The Oracle8i Personal Edition includes a cut-down version of the Server and the Client, and I think this is what you should be using if you don't have a remote database to connect to.
    Personal Edition Version 8.1.6 is now desupported, but was certified against Windows 2000. Personal Edition Version 8.1.7 is still supported and is also certified against Windows 2000.
    Alison

  • Problem logging on to SQl *Plus

    Hi
    I have installed Oracle 8i Personal Edition Release 8.1.7 on my computer where I have the operating system Windows 98. When I am trying to log on to the database through SQL*Plus, I get the following message: "ORA-12541: TNS: no bugging/listener " (I get the message in Swedish so I hope I have translated it correct in English)
    kindly help me out to resolve this problem.
    Thanks in advance
    Anna

    From the error messages documentation:
    Cause: The connection request could not be completed because the listener is not running.
    Action: Ensure that the supplied destination address matches one of the addresses used by the listener. Compare the TNSNAMES.ORA entry with the appropriate LISTENER.ORA file (or TNSNAV.ORA if the connection is to go by way of an Interchange). Start the listener on the remote machine.

  • Can we invoke sqlloader from sql * plus

    Hi,
    I need to invoke sql * loader from sql plus.
    is it possible?

    SQL*Loader is an OS prompt command, why want to use it under sql*plus ?
    Anyway, you can find threads searching to see how run a shell scripts into the database.
    Nicolas.

  • Can't log on my SQL*

    Hello everybody:
    I have a problem loging on SQL*>
    I installed the personal 8i oracle software and I'm trying to log in in order to create and manage tables.This is what I've had
    Username: System
    Password: Manager
    Host String:
    Error: ORA-1256; protocol adapter error
    I left "Host String" blanc because I'm using my local computer(home computer).I don't want to log on the network because I don't have internet at home.At the University system,this work fine,but on my home computer it doesn't work.Please I would greatly appreciated if anyone can help me solve this problem.
    Annick dongmo

    Use ServerManager to startup oracle then try to logon as 'system'.

  • Logging in Oeacle SQL*Plus (ORA-12170: TNS: Connect timeout occured)  ...

    I installed recently Oracle 10g. When I try to log in, with the account and password setup[ earlier, I get the message "ORA-12170: TNS: Connect timeout occured". Do I need to specify a Host String" at Log On? Should I un-install and re-install the software again? Thank you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    /* Error:     ORA-12170 (ORA-12170)
    Text:     TNS:Connect timeout occurred
    Cause:     The server shut down because connection establishment with a
         client failed to complete within the allotted time interval. This
         may be a result of network/system delays; or this may indicate
         that a malicious client is trying to cause a Denial of Service
         attack on the server.
    Action:     If the error occurred because of a slow network/system,
         reconfigure the SQLNET.INBOUND_CONNECT_TIMEOUT parameter in
         sqlnet.ora to a larger value. If a malicious client is suspected,
         use the address in sqlnet.log to identify the source and restrict
         access. Note that logged addresses may not be reliable as they can
         be forged (e.g. in TCP/IP).
    Could also be a firewall issue.
    Werner

Maybe you are looking for

  • My fonts in photoshop elements 6 & 11 seem corrupt. they all are viewed as looking digital

    When I am using a text box, the fonts all look digital no matter what font I am using.  I have uninstalled and reinstalled the programs.  Old projects when opened are fine.  Just the new ones are effected.

  • Tracking problem?

    I am working with tracking problem. I am somewhat new to VC++. I have to take several data from the position sensor and read in the PLC and feed the data to the motor to run. That is fine. But the problem arises when I receive the data from position

  • 10.5.2=AEBS+USB+TM??

    Has anyone with the AEBS installed 10.5.2 yet and tested whether AEBS USB disks are available for Time Machine backups? Message was edited by: Jeff Bailey

  • Uninstall  webdispatcher

    Hello, We are running on EP 7.0.We install webdispatcher on the same server as the portal with the sapinst.But we did not know the icmadm password.So we have to reinstall web dispatcher.   Although I run unistall using sapinst,I see WDT (webdispatche

  • Hard Drive swapping

    Hello all. My Dual 450 G4's power supply was fried by a power surge and instead of paying big bucks for a new power supply I bought a used Dual 533 instead. My old computer had two hard drives; the 30g that held OS9 and OSX, and a 120g that kept my a