Home » RDBMS Server » Networking and Gateways » Could not connect to SQL PLUS (Error 12154).Plz Help?
Could not connect to SQL PLUS (Error 12154).Plz Help? [message #245256] |
Fri, 15 June 2007 12:16  |
g.s1223
Messages: 17 Registered: May 2007
|
Junior Member |
|
|
Hi,
I'm a begginer in Oracle.I recentlydownloaded Oracle 10g (hich i use it at my home)and installed all the four options given during the installations.The Problem is that I'm not able to login to SQL PLUS.When I enter only scott/tiger or system/manager it is giving ORA-12560 TNS :Protocol adapter error.
Please what to enter in Username,Password and Host String.
I dont know if i'm totally right about the host string but i tried entering Beq-local.world from the below TNSNAMES.ORA, I get the
following error : ORA 12154 TNS:could not resolve service name
Hope you will help me out.
My TNSNAMES.ORA is as following :
*****************************************************************
tnsnames E:\orant\NET80\ADMIN
*****************************************************************
Beq-local.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = beq.world)
(PROTOCOL = BEQ)
(PROGRAM = oracle73)
(ARGV0 = oracle73ORCL)
(ARGS = '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')
)
)
(CONNECT_DATA = (SID = ORCL)
)
)
Tcp-loopback.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = 127.0.0.1)
(Port = 1521)
)
)
(CONNECT_DATA = (SID = ORCL)
)
)
Example1.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = Production1)
(Port = 1521)
)
)
(CONNECT_DATA = (SID = SID1)
)
)
Example2.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = spx.world)
(PROTOCOL = SPX)
(Service = Server_lsnr)
)
)
(CONNECT_DATA = (SID = ORCL)
)
)
Example3.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = nmp.world)
(PROTOCOL = NMP)
(Server = FinanceServer1)
(Pipe = ORAPIPE)
)
)
(CONNECT_DATA = (SID = ORCL)
)
)
Rep60_COMPUTER-195CD2,Rep60_COMPUTER-195CD2.world=(ADDRESS=(PROTOCOL=tcp)(HOST=COMPUTER-195CD2)(PORT=1949))
*****************************************************************
Gowtham
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Apr 17 05:26:08 CDT 2025
|