[ nzdero @ 08.03.2006. 13:22 ] @
Imam problem sa konektovanjem na bazu. Napravio sam klon baze koja ima iste parametre kao i originalna, ali nece da se konektuje.
Kada u tnsnames.ora vratim ime stare baze onda se konektuje bez problema.
U sqlnet.log se prikazuje sledeca greska

Fatal NI connect error 12520, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test_baza)(PORT=1521))(CONNECT_DATA=(SERVER=SHARED)(SERVICE_NAME=BW)(CID=(PROGRAM=C:\Program Files\CR2\BankWorld Admin Tools\bin\BWManager.exe)(HOST=CMTEST)(USER=IplanService))))

VERSION INFORMATION:
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.1.0.2.0 - Production
Time: 07-MAR-2006 14:04:02
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0


[ noctua @ 10.03.2006. 06:58 ] @
Pozdrav!

Ne bih da budem zakeralo, ali sve mi se nesto cini da ti nedostaje jedna zagrada - ) - koja bi zatvorila CID! Proveri pa javi...

[ nzdero @ 10.03.2006. 14:25 ] @
Nije do zagrade. Cim promenim ime masine u tnsnames.ora iz test_baza u dbserver sve radi normalno.
Ja sam ipak proverio zagrade za svaki slucaj i uverio se da nije to razlog.
pozdrav!
[ Dejan Topalovic @ 13.03.2006. 08:21 ] @
Kopiraj sadrzaj datoteka listener.ora i tnsnames.ora, kao i ispis komandi:
lsnrctl status
lsnrctl services

Cini mi se da ti listener nije dobro podesen, da prima zahtjeve i za novu instancu...
[ tijanans @ 14.03.2006. 14:14 ] @
...

[Ovu poruku je menjao tijanans dana 04.05.2006. u 11:54 GMT+1]
[ nzdero @ 23.03.2006. 11:51 ] @
Izvinjavam se sto ovoliko kasnim sa odgovorom!
evo opis komandi lsnrctl status i lsnrctl services kao i sadrzaj datoteka listener.ora i tnsnames.ora

C:\>lsnrctl status

LSNRCTL for 32-bit Windows: Version 9.2.0.5.0 - Production on 23-MAR-2006 09:30:
30

Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test_baza)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 9.2.0.5.0 - Produc
tion
Start Date 04-MAR-2006 12:31:24
Uptime 18 days 20 hr. 59 min. 6 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File C:\oracle\ora92\network\admin\listener.ora
Listener Log File C:\oracle\ora92\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test_baza)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test_baza)(PORT=8080))(Presentation=
HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test_baza)(PORT=2100))(Presentation=
FTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test_baza)(PORT=8080))(Presentation=
HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test_baza)(PORT=2100))(Presentation=
FTP)(Session=RAW))
Services Summary...
Service "BW" has 2 instance(s).
Instance "BW", status UNKNOWN, has 1 handler(s) for this service...
Instance "BW", status READY, has 1 handler(s) for this service...
Service "BW1XDB" has 1 instance(s).
Instance "BW", status READY, has 1 handler(s) for this service...
Service "OEMBW1" has 2 instance(s).
Instance "OEMBW1", status UNKNOWN, has 1 handler(s) for this service...
Instance "OEMBW1", status READY, has 1 handler(s) for this service...
Service "OEMBW1XDB" has 1 instance(s).
Instance "OEMBW1", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

C:\>


C:\>lsnrctl services

LSNRCTL for 32-bit Windows: Version 9.2.0.5.0 - Production on 23-MAR-2006 09:35:
09

Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test_baza)(PORT=1521)))
Services Summary...
Service "BW" has 2 instance(s).
Instance "BW", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:10 refused:0
LOCAL SERVER
Instance "BW", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:12888 refused:0 state:ready
LOCAL SERVER
Service "BW1XDB" has 1 instance(s).
Instance "BW", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: TEST_BAZA, pid: 3788>
(ADDRESS=(PROTOCOL=tcp)(HOST=test_baza)(PORT=1099))
Service "OEMBW1" has 2 instance(s).
Instance "OEMBW1", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Instance "OEMBW1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:28 refused:0 state:ready
LOCAL SERVER
Service "OEMBW1XDB" has 1 instance(s).
Instance "OEMBW1", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: TEST_BAZA, pid: 1928>
(ADDRESS=(PROTOCOL=tcp)(HOST=test_baza)(PORT=1037))
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
The command completed successfully

C:\>


# LISTENER.ORA Network Configuration File: C:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test_baza)(PORT = 1521))
)
)
)



SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = BW)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = BW)
)
)



# TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

BW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test_baza)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = BW)
)
)

INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test_baza)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)
)