I was successful in doing this on a development machine which hosts
only one instance and one database.
But when I tried to do the same on the production machine which has
three databases on the same instance of Oracle I get a ORA-28575
error.
I am including the Listener.ora and tnsnames.ora. Can someone give me
an insight as to why I am getting this error..
TNSNAMES.ORA
EXTPROC_CONNECTION_DATA.MYCO.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
INST1_HTTP.MYCO.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asp1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = asp.myco)
(PRESENTATION = http://admin)
)
)
ASP.MYCO.COM=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asp1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = asp.myco)
)
)
STARS.MYCO.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asp1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = stars.myco)
)
)
STARS_D.MYCO.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asp1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = stars_d.myco)
)
)
LISTENER.ORA
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asp1)(PORT = 1521))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/8.1.7)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = asp.myco)
(ORACLE_HOME = /oracle/8.1.7)
(SID_NAME = asp)
)
(SID_DESC =
(GLOBAL_DBNAME = stars.myco)
(ORACLE_HOME = /oracle/8.1.7)
(SID_NAME = stars)
)
(SID_DESC =
(GLOBAL_DBNAME = stars_d.myco)
(ORACLE_HOME = /oracle/8.1.7)
(SID_NAME = stars_d)
)
)
Thanks in advance.........
does the sqlnet.ora on the server have a names.default_domain of myco.com in it?
If not, the tnsnames entry is wrong
--
Thomas Kyte (tk...@oracle.com) http://asktom.oracle.com/
Expert one on one Oracle, programming techniques and solutions for Oracle.
http://www.amazon.com/exec/obidos/ASIN/1861004826/
Opinions are mine and do not necessarily reflect those of Oracle Corp
1. do a
tnsping EXTPROC_CONNECTION_DATA
and see if you can get something useful out of it.
2. Whenever you get an error, check the log files under ORACLE_HOME\network\log
You minght find something useful there.
3. Compare all 3 net config. files on both servers.
The sqlnet.oRA has the following set
NAMES.DEFAULT_DOMAIN = MYCO.COM
on both the machines.
Should I specify in the connect_data clause SERVER=SHARED for the
extproc_connection_data.MYCO.COM??
When I did tnsping I am getting No Listener error.
When I go into lsnrctl services then I do not see this service enabled
but I see all the other services avalable for asp, stars and stars_d.
How can start the EXTPROC_CONNECTION_DATA service on the problem
machine??
TNS Listener was not running in the appropriate shell and it works now
after I restared/rebooted teh machine.( Also there were lot of other
OS problems which was indirectly causing this problem.
Thanks for your guidance.
Thanks for your help and guidance....
> >LISTENER =
> > (DESCRIPTION_LIST =
> > (DESCRIPTION =
> > (ADDRESS_LIST =
> > (ADDRESS = (PROTOCOL = TCP)(HOST = asp1)(PORT = 1521))
> > )
> > (ADDRESS_LIST =
> > (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
> > )
> > )
> > )
> >
> >SID_LIST_LISTENER =
> > (SID_LIST =
> > (SID_DESC =
> > (SID_NAME = PLSExtProc)
> > (ORACLE_HOME = /oracle/8.1.7)
> > (PROGRAM = extproc)
> > )
>