Results 1 to 13 of 13

Thread: sql plus - login

  1. #1
    Join Date
    Jun 2003
    Posts
    10

    sql plus - login

    hi
    yesterday i have installed oracle 8i personal edition on my computer. At first i logged on to sql plus using username scott and password tiger,it worked.Then today when i tried to log in using the same username and password, it says oracle not available.
    please help me ASAP

    thanks

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    see whether major servies of Oracle services like oracleorahome8listener is running

    start-run- services.msc

  3. #3
    Join Date
    Jun 2003
    Posts
    10
    thanks for ur reply
    i checked, it is like this

    oracleorahome81nslistener started automatic local system

    what i should do
    hope to hear from u soon
    thanks

  4. #4
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    are you giving the right "Host String"

    look in to the
    oracle\ora81\network\tnsnames.ora and see whats your service name


    try system/manager if you have accidentally changed the password.

  5. #5
    Join Date
    Jun 2003
    Posts
    10
    i looked into oracle\ora81\network\names, it is empty

    i tried system/manager, i am getting the same message 'oracle not available'

    looking forward for ur reply
    thanks

  6. #6
    Join Date
    Jun 2003
    Posts
    10
    when i checked here --- Oracle\Ora81\network\admin\tnsnames.ora
    service_name = shica

  7. #7
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    What is the connection name for service name shica?

    If it is also shica, try using TNSPING (it should be in your bin directory, may be named TNSPING80) utility to test the connection from command prompt.

    tnsping shica

    If you can't connect, check if your listener.ora file is listening for correct SID or Service Name. At command prompt start

    lsnrctl

    then run status to see what service name the listener listening on. If it is different from the service name listed in tnsnames.ora, that is your problem. You can correct either of them and restart the listener.

  8. #8
    Join Date
    Jun 2003
    Posts
    10
    when i tried lsnrctl(status), it gave status of LISTENER.
    listener using listener name LISTENER has already been started
    should i need to change anything? if yes, how to change???

  9. #9
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Did it list your database's service name?

    If not the database may not have been started (even if service is started). Stop and start Oracle database service or in command prompt start server manager with

    svrmgr30

    connect internal/manager (assuming manager is the password for internal account)

    select * from v$instance;

    this should show you the status of database, if it is not started start it or open it as the case may be.

    To start up type
    startup

    to open

    alter database open

  10. #10
    Join Date
    Jun 2003
    Posts
    10

    Today when i tried to log in using user name scott, password tiger, i got an error message
    TNS protocol adapter error
    what does it mean and how to solve it?

    also when i checked in services, the status of oracleservicesSHICA is as STARTING not STARTED,what i should do?
    hope to hear from u soon
    thanks
    Last edited by shica; 06-09-2003 at 12:50 PM.

  11. #11
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Try to start it from command prompt using Server Manager. Or you can use the startup.bat file in orant\bin directory.

  12. #12
    Join Date
    Jun 2003
    Posts
    10
    i 've started the listener.
    now i am getting another error message
    TNS PROTOCOL ADAPTER ERROR

    what should i do
    thanks

  13. #13
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Check your listerner.ora file to see what protocols are enabled and verify you have drivers installed for those protocols.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •