Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2009
    Posts
    3

    Unanswered: error connecting to DB

    I am a newbie to oracle, i get an error saying TNS no listener when trying to connect to DB thru sqltools.
    below is my tnsnames and listener.ora

    *****************tnsnames*****************
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sony-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )
    )


    LISTENER=(Address=(PROTOCOL=TCP) (HOST=sony-pc) (PORT=1521))
    LOCAL_LISTENER=orcl

    (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC15 21)))

    *******************listener.ora******************* *****

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sony-PC)(PORT = 1521))
    )
    )

    (ORACLE_HOME = S:\app\sony\product)
    ************************************************

    appreciate your help in advance!

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool lsnrctl start

    Did you start the listener? Check the services...
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  3. #3
    Join Date
    Jun 2009
    Posts
    3
    The listener status is:

    TNS-01150: The address of the specified listener name is incorrect
    NL-00303: syntax error in NV string

    when I try to start it manually; says:

    TNS-12560: TNSrotocol adapter error
    TNS-00530: Protocol adapter error

  4. #4
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    Post Operating System (OS) name & version for DB server system.
    Post Oracle version to 4 decimal place of database s/w.

    Code:
    01150, 00000, "The address of the specified listener name is incorrect"
    // *Cause:  The address on which the listener attempted to listen contains a
    // syntax error.
    // *Action: For the listener name or service name specified to LSNRCTL, check
    // that the address or connect descriptor is well-formed. You can find the
    // listener name in LISTENER.ORA, or you can access the listener through
    // the service name is TNSNAMES.ORA.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

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