ORA-28546: Connection initialization failed,probable Net 8 admin error
I am getting this error in calling an external procedure (dll file) from a stored procedure.
This was running fine earlier . It started causing problem after Database restart.
Please suggest
check to make sure that your extproc_connection_data entry in your tnsnames.ora file is correctly setup for external procedures.
ORA-28546 connection initialization failed, probable Net8 admin error
Cause: A failure occurred during initialization of a network connection from the Oracle database server to a second process: The connection was completed but a disconnect occurred while trying to perform protocol-specific initialization, usually due to use of different network protocols by opposite sides of the connection. This usually is caused by incorrect Net8 administrative setup for database links or external procedure calls. The most frequent specific causes are:
Database link setup for an Oracle-to-Oracle connection instead connects to a Heterogeneous Services agent or an external procedure agent.
Database link setup for a Heterogeneous Services connection instead connects directly to an Oracle database server.
The extproc_connection_data definition in tnsnames.ora connects to an Oracle instance instead of an external procedure agent.
Connect data for a Heterogeneous Services database link, usually defined in tnsnames.ora, does not specify (HS=).
Connect data for an Oracle-to-Oracle database link, usually defined in tnsnames.ora, specifies (HS=).
Action: Check Net8 administration in the following ways:
When using TNSNAMES.ORA or an Oracle Names server, make sure that the connection from the ORACLE server uses the correct service name or SID.
Check LISTENER.ORA on the connection end point's host machine to assure that this service name or SID connects to the correct program.
Confirm in TNSNAMES.ORA or the equivalent service definition that service 'extproc_connection_data' does NOT contain (HS=), or that the service definition used by a Heterogeneous Services database link DOES contain (HS=).
Similar Messages
-
ORA-28546: connection initialization failed, probable Net8 admin error
hello all!
so i'm using Heterogeneous services to connect to an SQL server DB from a Oracle DB. When i try with both the SQL server and Oracle DB on the same PC, everything works fine but when i try to access the SQL Server DB from another PC across a network i get the above error. Is the setup different when using a network?
Thnx.Please see the following if it helps:
http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm -
ORA-01033: ORACLE initialization or shutdown in progress (standby error)
Hi all,
OS : SunOS 5.10 Generic_144488-02 sun4u sparc SUNW,Sun-Fire-880
Database : 10.2.0.4
I made physical standby database from primary to stanby using RMAN as
rman target / nocatalog sys/password@standby
RMAN>run {
allocate auxiliary channel ch1 device type disk;
duplicate target database for standby;
standby creation finished sucessfully , but when i performed log switch and forcely archive the current log the arhive was not trasferring.
while trying to connect from primary to standby as :
conn sys/password@standby (the below error displaying)
ORA-01033: ORACLE initialization or shutdown in progress
On stanby also the same error coming while connecting to sys/password@standby
but while setting export ORACLE_SID=standby and ORACLE _HOME i can be able to connect to sqlplus and managed standby database in recovery mode.
I am not confused why sys/password@standby is not being connecting ..
Please help !
ThanksStandby alert log :
alter database recover managed standby database disconnect from session
Fri Dec 10 14:59:17 2010
Attempt to start background Managed Standby Recovery process (pstdby)
MRP0 started with pid=16, OS id=11517
Fri Dec 10 14:59:17 2010
MRP0: Background Managed Standby Recovery process started (pstdby)
Managed Standby Recovery not using Real Time Apply
parallel recovery started with 3 processes
Fri Dec 10 14:59:23 2010
Waiting for all non-current ORLs to be archived...
Media Recovery Waiting for thread 1 sequence 84
Fri Dec 10 14:59:23 2010
Completed: alter database recover managed standby database disconnect from session
primary alert log :
Errors in file /software/oracle/admin/stdby/bdump/stdby_arc1_24121.trc:
ORA-12545: Connect failed because target host or object does not exist
PING[ARC1]: Heartbeat failed to connect to standby '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pstdby_XPT)(INSTANCE_NAME=standby)(SERVER=dedicated)))'. Error is 12545.
Sat Dec 11 02:18:33 2010
Error 12545 received logging on to the standby
Sat Dec 11 02:18:33 2010
Errors in file /software/oracle/admin/stdby/bdump/stdby_arc1_24121.trc:
ORA-12545: Connect failed because target host or object does not exist
PING[ARC1]: Heartbeat failed to connect to standby '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pstdby_XPT)(INSTANCE_NAME=standby)(SERVER=dedicated)))'. Error is 12545.
Edited by: VipinK on Dec 10, 2010 1:39 AM -
Connection to Failed Service or Not Serializable Errors
Hi. I'm getting connection to failed service errors or not serializable errors when I run a production sized load for my project. I'm trying to generate 100,000 PDFs one at a time on each thread against the Output web service. I'm running custom code that makes the Output web service call on individual thread. I run up to 40 threads against my vertical cluster and occasionally I see a not serializable error or connection to failed service on my code. Any ideas on what could be the cause of the errors? Thank you for any insight you can provide.
I'm running a WebLogic vertical cluster on one box. 1 admin server of WebLogic 9.2 MP3 with 10 managed WebLogic servers on the same physical box in a cluster. I have enough RAM to support all these JVMs and the GDS is on the local drive on the box.
Environment details:
Software: Windows 2003 R2 SP2 (32-bit), WebLogic 9.2 MP3, Adobe LC 8.2.1 SP3 + QF 3.19, Oracle 10.2.0.4, BEA Jrockit 1.5.0_12 (32-bit)
Hardware: 2 CPU 2.8GHz * 4 cores * Hyper-Threading = makes it look like 16 CPUs in Task Manager, Performance tab, 16 GB RAM, 50+ GB HD space free
Error Message:
+ com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable
IVS Error Message that happens randomly when the errors are occurring. I can resubmit the same IVS test where this error shows up on the managed WL instance and it :
java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.FormServerException
Exception in Output Service
Stack Trace
at com.adobe.formServer.FormServer.renderForm(FormServer.java:210)
at com.adobe.formServer.FormServer.renderForm(FormServer.java:257)
at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:483)
at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:157)
at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:94)
at com.adobe.printSubmitter.util.Splitter.endElementNoBatch(Splitter.java:175)
at com.adobe.printSubmitter.util.Splitter.endElement(Splitter.java:155)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
at com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:519)
at com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:223)
at com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTxn(OutputServiceImpl. java:247)
at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputInTxn(OutputServiceIm pl.java:347)
at com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputServiceImpl.java:79)
at com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction(OutputServiceImpl.ja va:313)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapter_jmbvky_ELOImpl.do RequiresNew(EjbTransactionBMTAdapter_jmbvky_ELOImpl.java:63)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
at com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputS erviceImpl.java:308)
at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput(OutputServiceImpl.ja va:289)Hi. I'm getting connection to failed service errors or not serializable errors when I run a production sized load for my project. I'm trying to generate 100,000 PDFs one at a time on each thread against the Output web service. I'm running custom code that makes the Output web service call on individual thread. I run up to 40 threads against my vertical cluster and occasionally I see a not serializable error or connection to failed service on my code. Any ideas on what could be the cause of the errors? Thank you for any insight you can provide.
I'm running a WebLogic vertical cluster on one box. 1 admin server of WebLogic 9.2 MP3 with 10 managed WebLogic servers on the same physical box in a cluster. I have enough RAM to support all these JVMs and the GDS is on the local drive on the box.
Environment details:
Software: Windows 2003 R2 SP2 (32-bit), WebLogic 9.2 MP3, Adobe LC 8.2.1 SP3 + QF 3.19, Oracle 10.2.0.4, BEA Jrockit 1.5.0_12 (32-bit)
Hardware: 2 CPU 2.8GHz * 4 cores * Hyper-Threading = makes it look like 16 CPUs in Task Manager, Performance tab, 16 GB RAM, 50+ GB HD space free
Error Message:
+ com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable
IVS Error Message that happens randomly when the errors are occurring. I can resubmit the same IVS test where this error shows up on the managed WL instance and it :
java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.FormServerException
Exception in Output Service
Stack Trace
at com.adobe.formServer.FormServer.renderForm(FormServer.java:210)
at com.adobe.formServer.FormServer.renderForm(FormServer.java:257)
at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:483)
at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:157)
at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:94)
at com.adobe.printSubmitter.util.Splitter.endElementNoBatch(Splitter.java:175)
at com.adobe.printSubmitter.util.Splitter.endElement(Splitter.java:155)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
at com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:519)
at com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:223)
at com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTxn(OutputServiceImpl. java:247)
at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputInTxn(OutputServiceIm pl.java:347)
at com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputServiceImpl.java:79)
at com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction(OutputServiceImpl.ja va:313)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapter_jmbvky_ELOImpl.do RequiresNew(EjbTransactionBMTAdapter_jmbvky_ELOImpl.java:63)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
at com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputS erviceImpl.java:308)
at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput(OutputServiceImpl.ja va:289) -
ORA-28547: connection to server failed, probable Net8 admin error
Hi all. I use Oracle 10G. My listener.ora is below
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.26)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = sened)
(ORACLE_HOME = C:\Oracle\OraHome)
(PROGRAM = extproc)
I have database with name sened
And my tnsnames is below:
SENED =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.26)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sened)
When I start Windows, I can enter as sysdba . But when I issue "shutdown immediate", after that I can't connect as sys. And get this error:
ORA-28547: connection to server failed, probable Net8 admin error
And I stop my listener the I start it, it gives error:
SQL> host lsnrctl start
Service "sened" has 1 instance(s).
Instance "sened", status UNKNOWN, has 1 handler(s) for this service...
Why my database's status is UNKNOWN??
Thanks....I get the error
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-06512: at line 51
when I try to run one of my sql scripts. The script tries to make an external procedure call. I am attaching the relevant .ora files.
1.
$ cat tnsnames.ora
2.
# tnsnames.ora Network Configuration File: /home/oracle/oracle/product/10.2.0/db_2/network/admin/tnsnames.ora
3.
# Generated by Oracle configuration tools.
4.
5.
ORCL =
6.
(DESCRIPTION =
7.
(ADDRESS = (PROTOCOL = TCP)(HOST = accord.novaglobal.com.sg)(PORT = 1521))
8.
(CONNECT_DATA =
9.
(SERVER = DEDICATED)
10.
(SERVICE_NAME = orcl)
11.
12.
13.
14.
EXTPROC_CONNECTION_DATA =
15.
(DESCRIPTION =
16.
(ADDRESS_LIST =
17.
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
18.
19.
(CONNECT_DATA =
20.
(SID = orcl)
21.
(PRESENTATION = RO)
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
cat listener.ora
37.
# listener.ora Network Configuration File: /home/oracle/oracle/product/10.2.0/db_2/network/admin/listener.ora
38.
# Generated by Oracle configuration tools.
39.
40.
41.
42.
SID_LIST_LISTENER =
43.
(SID_LIST =
44.
(SID_DESC =
45.
(SID_NAME = orcl)
46.
(ORACLE_HOME = /home/oracle/oracle/product/10.2.0/db_2)
47.
(PROGRAM = extproc)
48.
(ENVS = "LD_LIBRARY_PATH=/home/oracle/DSAccord/lib,
49.
ACCORD_SYSTEM_6=/home/oracle/DSAccord/system/,
50.
ACCORD_SETTINGS_6=/home/oracle/DSAccord/accord6.ini,
51.
EXTPROC_DLLS=libaccora10.so.6:libaccosk10.so.6")
52.
53.
54.
55.
56.
LISTENER =
57.
(DESCRIPTION_LIST =
58.
(DESCRIPTION =
59.
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
60.
(ADDRESS = (PROTOCOL = TCP)(HOST = accord.novaglobal.com.sg)(PORT = 1521))
61.
62.
63.
64.
65.
66.
67.
cat sqlnet.ora
68.
# sqlnet.ora Network Configuration File: /home/oracle/oracle/product/10.2.0/db_2/network/admin/sqlnet.ora
69.
# Generated by Oracle configuration tools.
70.
71.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT) -
Need help trouble shooting Database Gateway for MS SQL Server setup, getting ORA-28546 error
Dear All,
I am trying to setup Oracle Database Gateway for MS SQL Server(I don't have admin access to the MS SQL Server). When I try to test the dblink connection, I get the following error.
I issued select * from dual@xyz;
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=dg4msql)))
ORA-02063: preceding 2 lines from xyz
28546. 0000 - "connection initialization failed, probable Net8 admin error"
My setup is the following.
1. Oracle 11gR2 running on Oracle Linux 6, the same version gateway is installed on the same server, but different home directory.
2. Oracle DB home directory is /u01/app/oracle/product/11.2.0/dbhome_1, gateway home directory is /u01/gateway.
3. I use the same listener.ora file for both the db and the gateway.
4. the contents of my listener.ora, tnsnames.ora and the initdg4msql.ora are below.
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
#(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
mssql =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME=db.abc.com.tw)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME=orcl)
SID_LIST_mssql =
(SID_LIST =
(SID_DESC =
(SID_NAME=dg4msql)
(ENVS=LD_LIBRARY_PATH=/u01/gateway/dg4msql/driver/lib:/u01/gateway/lib)
(PROGRAM_NAME=/u01/gateway/bin/dg4msql)
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.abc.com.tw)
dg4msql =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
/u01/gateway/dg4msql/admin/initdg4msql.ora
HS_FDS_CONNECT_INFO=[192.168.0.1]:1433//XIETEST
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=255
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
dblink was created using statement below.
CREATE DATABASE LINK "xyz.abc.COM.TW"
CONNECT TO SA IDENTIFIED BY
USING 'dg4msql';
Couple more things, that I have done to check the work above.
[oracle@db admin]$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=61 time=7.61 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=61 time=7.41 ms
^C
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1818ms
rtt min/avg/max/mdev = 7.417/7.516/7.615/0.099 ms
[oracle@db admin]$ tnsping dg4msql
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:53:11
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
OK (0 msec)
[oracle@db admin]$ lsnrctl status mssql
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:54:23
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias mssql
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 11-SEP-2013 10:09:46
Uptime 0 days 0 hr. 44 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/db/mssql/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "dg4msql" has 1 instance(s).
Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Obviously, I would like to get this setup to work, but I also have couple other questions regarding this setup.
1. When installing the gateway, it asks to run the root.sh script. the root.sh script as for the following.
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
is the above answer correct?
Thanks for reading.Dear Klaus,
I did start a new SQL*PLUS session
The output of /u01/gateway/bin/dg4msql is
[oracle@db log]$ /u01/gateway/bin/dg4msql
Oracle Corporation --- WEDNESDAY SEP 11 2013 14:45:06.604
Heterogeneous Agent Release 11.2.0.1.0 - 64bit Production Built with
Oracle Database Gateway for MSSQL
The output of env is
HOSTNAME=db.abc.com.tw
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
ORACLE_UNQNAME=orcl
TMPDIR=/tmp
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
USER=oracle
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
ORACLE_SID=orcl
ORACLE_BASE=/u01/app/oracle
ORACLE_HOSTNAME=db.abc.com.tw
MAIL=/var/spool/mail/oracle
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
PWD=/home/oracle
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HISTCONTROL=ignoredups
SHLVL=1
HOME=/home/oracle
TMP=/tmp
LOGNAME=oracle
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
G_BROKEN_FILENAMES=1
_=/bin/env -
ORA-28546: (oracle to SQL server 2005)
Hi all,
I followed the following below ariticle in dbasupport and dbajournal for about connectivity from Oracle Server 10.1.0.2.0 to SQL Server 2005
http://www.dbasupport.com/oracle/ora10g/connection01.shtml
http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
i configured the listener.ora ,tnsnames.or and inityscco2.ora
$ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/101/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = hsodbc)
(ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/101/lib32:/usr/lib:/u01/app/oracle/product/101/hs/lib32")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521))
LISTENERYSCCAPPS =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=100.100.50.5)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENERYSCCAPPS=
(SID_LIST=
(SID_DESC=
(SID_NAME= yscapps)
(ORACLE_HOME = /u01/app/oracle/product/101 )
(PROGRAM=hsodbc)
$lsnrctl status listener
LSNRCTL for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production on 20-JUN-2010 14:03:22
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias listener
Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production
Start Date 15-JUN-2010 14:49:05
Uptime 4 days 23 hr. 14 min. 17 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/101/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/101/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "yscc02" has 1 instance(s).
Instance "yscc02", status UNKNOWN, has 2 handler(s) for this service...
Service "yscc02.ysccapps.yamama.com" has 1 instance(s).
Instance "yscc02", status READY, has 1 handler(s) for this service...
Service "yscc02XDB.ysccapps.yamama.com" has 1 instance(s).
Instance "yscc02", status READY, has 1 handler(s) for this service...
The command completed successfully
$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/101/network/a
dmin/tnsnames.ora
# Generated by Oracle configuration tools.
YSCCAPPS1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = yscc02)
(HS = OK)
$tnsping ysccapps1
TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production on 20-JUN-2010 14:04:43
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = yscc02)) (HS = OK))
OK (0 msec)
$ sqlplus new/password@ysccapps1
SQL*Plus: Release 10.1.0.2.0 - Production on Sun Jun 20 14:07:01 2010
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL>
$ cat inityscc02.ora
This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = yscc02
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME = <full path name of odbc driver manager or driver>
# ODBC specific environment variables
set ODBCINI=<full path name of the odbc initilization file>
and i had created database link like
SQL>create database link ysccapps1
connect to "sa" identified by "passwad"
using 'ysccapps1';
SQL> select * from [email protected];
select 8 from [email protected]
ERROR at line 1:
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=y
sccapps.yamama.com)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SID=yscc02)))
ORA-02063: preceding 2 lines from YSCCAPPS1
Please assist me . i need to periodically pull data from Oracle server to Sql server
Best RegardsFirst of all please be aware HSODBC has been desupported since 15th of March 2008. When starting a new project you should start with a supported product and this product is called DG4ODBC and it is available as release 11.
Looking at the provided listener it shows several configurations issues.
Have a lokk at yout tnsnames.ora => you mentioned to use the listener servicing port 1521.
This Listener serves 2 SIDs with the same name:
SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = hsodbc)
(ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/101/lib32:/usr/lib:/u01/app/oracle/product/101/hs/lib32")
So when you now connect, the listener does not know which service to spawn. Please check out Metalink note:
Note.238771.1 How to Setup Generic Connectivity - HSODBC - on AIX
when you want to continue using HSODBC although I strongly recommend you to use DG4ODBC which is configured as mentioned in Metalink note:
Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) -
Oracle.ManagedDataAccess raise ORA-03135: Connection lost contact
Hi,
I am trying to connect to Oracle RAC using Oracle.ManagedDataAccess.dll 4.121.2.0 (latest release)
All instances fail to run and raise the exception OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
Except one instance it works fine…, I want to know what is the difference that made it run…, also I was able to connect using the unmanaged driver and the old driver and using sqlplus..
The DBA sees the connection with this error:
opiodr aborting process unknown ospid (6904) as a result of ORA-609
Below the code, App.config, and Trace result, I am showing both the bad connection (badConn) and good connection (goodConn)
Code:
string constr1 = "DATA SOURCE=badConn;"; // or GoodConn;
string constr2 = "USER ID=scott;Password=tiger;";
string constr3 = "persist security info=True;Self Tuning=True;Min Pool Size=3;Max Pool Size=12;Incr Pool Size=3;Decr Pool Size=1;Connection Timeout=20;Connection Lifetime=59;";
Oracle.ManagedDataAccess.Client.OracleConnection conn1;
string constr = constr1 + constr2;// +constr3; I tried with and without the third part
using (conn1 = new Oracle.ManagedDataAccess.Client.OracleConnection(constr))
try
conn1.Open();
Console.WriteLine(constr1 + " connected sucessfully...");
catch (Exception e)
Console.WriteLine(e.Message);
//throw;
Configuration file:
<oracle.manageddataaccess.client>
<version number="4.121.2.0">
<dataSources>
<dataSource alias="badConn" descriptor="(DESCRIPTION =
(ADDRESS_LIST =(ADDRESS=(PROTOCOL=TCP)(HOST=x.x.x.x)(PORT=1593)))
(CONNECT_DATA =(SERVICE_NAME= oclp1)))"/>
<dataSource alias="GoodConn" descriptor="(DESCRIPTION = (ADDRESS_LIST =(ADDRESS=(PROTOCOL=TCP)(HOST=address.com)(PORT=1582)))(CONNECT_DATA = (SERVICE_NAME= oclp2)))"/>
</dataSources>
<settings>
<setting name="TNS_ADMIN" value="D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\" />
<setting name="ORACLE_HOME" value="D:\Oracle\product\product\12.1.0\client_1" />
<setting name="TraceLevel" value="7" />
<setting name="TraceFileLocation" value="D:\"/>
</settings>
</version>
</oracle.manageddataaccess.client>
Trace result
Good connection:
2015-04-20 19:51:38.231722 TID:11 (PRI) (ENT) (CP) PoolManager`3.CreateNewPRThreadFunc()
2015-04-20 19:51:38.235722 TID:11 (PRI) (SVC) (ENT) OracleConnectionImpl.Connect() (oper=open) (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=23686174)
2015-04-20 19:51:38.237722 TID:11 (PRI) (BUF) (COBP.CTOR) (poolid:1) (parentpoolid:31609076) (OracleConnectionImpl.Connect)
2015-04-20 19:51:38.259725 TID:11 (PRI) (BUF) (ALLOCATION) (bufid:1)
2015-04-20 19:51:38.324731 TID:11 (NET) (REC) 00 00 00 00 00 00 00 00 |........|
2015-04-20 19:51:38.325731 TID:11 (PRI) (BUF) (ALLOCATION) (bufid:2)
2015-04-20 19:51:38.325731 TID:11 (NET) NS Handshake completed successfully
2015-04-20 19:51:38.325731 TID:11 (NET) Negotiated SDU size = 8192
2015-04-20 19:51:38.326731 TID:11 (PRI) (BUF) (ALLOCATION) (bufid:3)
2015-04-20 19:51:38.326731 TID:11 (PRI) (BUF) (OBP.GET) (poolid:31609076) (key:8192) (bufid:3) (count:0) (ConOraBufPool.Init)
2015-04-20 19:51:38.327731 TID:11 (PRI) (BUF) (COBP.PUT) (poolid:1) (key:8192) (bufid:3) (count:1) (OracleConnectionImpl.Connect)
2015-04-20 19:51:38.328732 TID:11 (PRI) (BUF) (COBP.PUT) (poolid:1) (key:8192) (bufid:10) (count:8) (OracleConnectionImpl.Connect)
2015-04-20 19:51:38.330732 TID:11 (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:10) (count:7) (OraBufWriter.Initialize)
2015-04-20 19:51:38.331732 TID:11 (PRI) (SVC) (ENT) OracleConnectionImpl.DoProtocolNegotiation()
2015-04-20 19:51:38.331732 TID:11 (PRI) (TTC) (ENT) TTCProtocolNegotiation.WriteMessage()
2015-04-20 19:51:38.332732 TID:11 (PRI) (TTC) (ENT) TTCMessage.WriteTTCCode()
2015-04-20 19:51:38.332732 TID:11 (PRI) (TTC) (EXT) TTCMessage.WriteTTCCode()
2015-04-20 19:51:38.332732 TID:11 (PRI) (TTC) (EXT) TTCProtocolNegotiation.WriteMessage()
2015-04-20 19:51:38.333732 TID:11 (NET) (SND) 00 1D 00 00 06 00 00 00 |........|
2015-04-20 19:51:38.333732 TID:11 (NET) (SND) 00 00 |.. |
2015-04-20 19:51:38.333732 TID:11 (NET) (SND) 01 06 00 4F 44 50 2E 4E |...ODP.N|
2015-04-20 19:51:38.333732 TID:11 (NET) (SND) 45 54 5F 4D 61 6E 61 67 |ET_Manag|
2015-04-20 19:51:38.333732 TID:11 (NET) (SND) 65 64 00 |ed. |
2015-04-20 19:51:38.334732 TID:11 (PRI) (TTC) (ENT) TTCProtocolNegotiation.ReadResponse()
2015-04-20 19:51:38.335732 TID:11 (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:9) (count:6) (OraBufReader.GetDataFromNetwork)
2015-04-20 19:51:38.336732 TID:11 (NET) (REC) New receive packet. Header:
Bad connection: (The yellow part is exactly the same for both connection)
2015-04-20 21:42:09.269759 TID:8 (CFG) (SQLNET) SQLNET.ENCRYPTION_CLIENT : required
2015-04-20 21:42:09.302763 TID:8 (CFG) (SQLNET) SQLNET.AUTHENTICATION_SERVICES : (NTS)
2015-04-20 21:42:09.302763 TID:8 (CFG) (SQLNET) NAMES.DIRECTORY_PATH : (TNSNAMES, EZCONNECT)
2015-04-20 21:42:09.302763 TID:8 (CFG) (SQLNET) SQLNET.CRYPTO_SEED : ….
2015-04-20 21:42:09.302763 TID:8 (CFG) (SQLNET) SQLNET.ENCRYPTION_TYPES_CLIENT : (RC4_56, DES40, RC4_40, DES, AES256)
2015-04-20 21:42:09.302763 TID:8 (CFG) (SQLNET) SQLNET.EXPIRE_TIME : 0
2015-04-20 21:42:09.302763 TID:8 (CFG) (SQLNET) SQLNET.INBOUND_CONNECT_TIMEOUT : 500
2015-04-20 21:42:09.302763 TID:8 (CFG) (SQLNET) SSL_VERSION : 1.0
2015-04-20 21:42:09.308763 TID:8 (CFG) (ENV) Machine Name : abcd
2015-04-20 21:42:09.308763 TID:8 (CFG) (ENV) User Name : scott
2015-04-20 21:42:09.308763 TID:8 (CFG) (ENV) OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
2015-04-20 21:42:09.308763 TID:8 (CFG) (ENV) 64-bit OS : True
2015-04-20 21:42:09.308763 TID:8 (CFG) (ENV) 64-bit Process : True
2015-04-20 21:42:09.308763 TID:8 (CFG) (ENV) .NET Runtime Version : 4.0.30319.18444
2015-04-20 21:42:09.308763 TID:8 (CFG) (VER) Oracle Data Provider for .NET, Managed Driver Version : 4.121.2.0
2015-04-20 21:42:09.308763 TID:8 (CFG) (VER) Oracle Data Provider for .NET, Managed Driver Informational Version : 4.121.2.20141216 ODAC RELEASE 3
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) SQLNET.INBOUND_CONNECT_TIMEOUT : 500
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) PerformanceCounters : 4095
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) SSL_VERSION : 1.0
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) NAMES.DIRECTORY_PATH : (TNSNAMES, EZCONNECT)
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) TraceFileLocation : D:\
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) ORACLE_HOME : D:\Oracle\product\product\12.1.0\client_1
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) SQLNET.ENCRYPTION_TYPES_CLIENT : (RC4_56, DES40, RC4_40, DES, AES256)
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) SQLNET.AUTHENTICATION_SERVICES : (NTS)
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) SQLNET.CRYPTO_SEED : ….
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) TraceLevel : 7
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) TNS_ADMIN : D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\ (I update it)
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) SQLNET.ENCRYPTION_CLIENT : required
2015-04-20 21:42:09.308763 TID:8 (CFG) (.NET) SQLNET.EXPIRE_TIME : 0
2015-04-20 21:42:09.316764 TID:8 (CFG) (TNSNAMES) OFSP : ….
2015-04-20 21:42:09.350767 TID:8 (CFG) (SQLNET) FilePath : D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\sqlnet.ora
2015-04-20 21:42:09.350767 TID:8 (CFG) (TNSNAMES) FilePath : D:\Oracle\product\product\12.1.0\client_1\Network\Admin\Sample\tnsnames.ora
2015-04-20 21:42:09.350767 TID:8 (PUB) (ENT) OracleConnection.ctor()
2015-04-20 21:42:09.357768 TID:8 (PRI) (ENT) (CP) ConnectionString.GetCS()
2015-04-20 21:42:09.362769 TID:8 (PRI) (ENT) (CP) ConnectionString.ctor()
2015-04-20 21:42:09.375770 TID:8 (PRI) (ENT) (CP) ConnectionString.Parse()
2015-04-20 21:42:09.388771 TID:8 (PRI) (ENT) (CP) ConnectionString.SetProperty()
2015-04-20 21:42:09.389771 TID:8 (PRI) (EXT) (CP) ConnectionString.SetProperty()
2015-04-20 21:42:09.389771 TID:8 (PRI) (ENT) (CP) ConnectionString.SetProperty()
2015-04-20 21:42:09.389771 TID:8 (PRI) (EXT) (CP) ConnectionString.SetProperty()
2015-04-20 21:42:09.389771 TID:8 (PRI) (ENT) (CP) ConnectionString.SetProperty()
2015-04-20 21:42:09.389771 TID:8 (PRI) (EXT) (CP) ConnectionString.SetProperty()
2015-04-20 21:42:09.389771 TID:8 (PRI) (EXT) (CP) ConnectionString.Parse()
2015-04-20 21:42:09.390771 TID:8 (PRI) (EXT) (CP) ConnectionString.ctor()
2015-04-20 21:42:09.390771 TID:8 (PRI) (EXT) (CP) ConnectionString.GetCS()
2015-04-20 21:42:09.390771 TID:8 (PUB) (EXT) OracleConnection.ctor()
2015-04-20 21:42:09.435776 TID:8 (PUB) (ENT) OracleConnection.Open() (conid=295723) (state=Closed) (sessid=0) (implid=0) (pooling=T) (txnid=n/a)
2015-04-20 21:42:09.441777 TID:8 (PRI) (ENT) (CP) OracleConnectionDispenser`3..cctor()
2015-04-20 21:42:09.442777 TID:8 (PRI) (EXT) (CP) OracleConnectionDispenser`3..cctor()
2015-04-20 21:42:09.443777 TID:8 (PRI) (ENT) (CP) OracleConnectionDispenser`3.Get()
2015-04-20 21:42:09.448777 TID:8 (PRI) (ENT) (CP) PoolManager`3.ctor()
2015-04-20 21:42:09.449777 TID:8 (PRI) (EXT) (CP) PoolManager`3.ctor()
2015-04-20 21:42:09.454778 TID:8 (PRI) (ENT) (CP) PoolManager`3.Initialize() (constr=DATA SOURCE=badConn;USER ID=Scott;)
2015-04-20 21:42:09.457778 TID:8 (PRI) (ENT) (CP) ConnectionString.Secure()
2015-04-20 21:42:09.457778 TID:8 (PRI) (EXT) (CP) ConnectionString.Secure()
2015-04-20 21:42:09.474780 TID:8 (PRI) (EXT) (CP) PoolManager`3.Initialize() (pmid=48657371) (constr=DATA SOURCE=badConn;USER ID=scott;)
2015-04-20 21:42:09.475780 TID:8 (PRI) (BUF) (OBP.CTOR) (poolid:55492274) (OracleConnectionDispenser`3.GetPM)
2015-04-20 21:42:09.482781 TID:8 (PRI) (ENT) (CP) OraclePoolManager.Get()
2015-04-20 21:42:09.499782 TID:8 (PRI) (ENT) (CP) PoolManager`3.Get() (txnid=n/a) (bForceMatch=F)
2015-04-20 21:42:09.505783 TID:8 (PRI) (ENT) (CP) PoolManager`3.CreateNewPR() (txnid=n/a)
2015-04-20 21:42:09.726805 TID:8 (PRI) (ENT) TimeStamp.GetLocalTZOffset()
2015-04-20 21:42:09.726805 TID:8 (PRI) (EXT) TimeStamp.GetLocalTZOffset()
2015-04-20 21:42:09.738806 TID:8 (PRI) (ENT) (CP) ConnectionString.GetStringFromSecureString()
2015-04-20 21:42:09.738806 TID:8 (PRI) (EXT) (CP) ConnectionString.GetStringFromSecureString()
2015-04-20 21:42:09.766809 TID:10 (PRI) (ENT) (CP) PoolManager`3.CreateNewPRThreadFunc()
2015-04-20 21:42:09.780810 TID:10 (PRI) (SVC) (ENT) OracleConnectionImpl.Connect() (oper=open) (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=48657371)
2015-04-20 21:42:09.782811 TID:10 (PRI) (BUF) (COBP.CTOR) (poolid:1) (parentpoolid:55492274) (OracleConnectionImpl.Connect)
2015-04-20 21:42:09.827815 TID:10 (PRI) (BUF) (ALLOCATION) (bufid:1)
2015-04-20 21:42:09.837816 TID:10 (NET) (SND) 00 3A 00 00 01 00 00 00 |.:......|
2015-04-20 21:42:09.922825 TID:10 (NET) (REC) 00 00 00 00 00 00 00 00 |........|
2015-04-20 21:42:09.925825 TID:10 (PRI) (BUF) (ALLOCATION) (bufid:3)
2015-04-20 21:42:09.925825 TID:10 (NET) NS Handshake completed successfully
2015-04-20 21:42:09.925825 TID:10 (NET) Negotiated SDU size = 8192
2015-04-20 21:42:09.933826 TID:10 (PRI) (BUF) (ALLOCATION) (bufid:4)
2015-04-20 21:42:09.934826 TID:10 (PRI) (BUF) (OBP.GET) (poolid:55492274) (key:8192) (bufid:4) (count:0) (ConOraBufPool.Init)
2015-04-20 21:42:09.944827 TID:10 (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:11) (count:7) (OraBufWriter.Initialize)
2015-04-20 21:42:09.946827 TID:10 (PRI) (SVC) (ENT) OracleConnectionImpl.DoProtocolNegotiation()
2015-04-20 21:42:09.947827 TID:10 (PRI) (TTC) (ENT) TTCProtocolNegotiation.WriteMessage()
2015-04-20 21:42:09.948827 TID:10 (PRI) (TTC) (ENT) TTCMessage.WriteTTCCode()
2015-04-20 21:42:09.948827 TID:10 (PRI) (TTC) (EXT) TTCMessage.WriteTTCCode()
2015-04-20 21:42:09.949827 TID:10 (PRI) (TTC) (EXT) TTCProtocolNegotiation.WriteMessage()
2015-04-20 21:42:09.953828 TID:10 (NET) (SND) 00 1D 00 00 06 00 00 00 |........|
2015-04-20 21:42:09.953828 TID:10 (NET) (SND) 00 00 |.. |
2015-04-20 21:42:09.953828 TID:10 (NET) (SND) 01 06 00 4F 44 50 2E 4E |...ODP.N|
2015-04-20 21:42:09.953828 TID:10 (NET) (SND) 45 54 5F 4D 61 6E 61 67 |ET_Manag|
2015-04-20 21:42:09.953828 TID:10 (NET) (SND) 65 64 00 |ed. |
2015-04-20 21:42:09.957828 TID:10 (PRI) (TTC) (ENT) TTCProtocolNegotiation.ReadResponse()
2015-04-20 21:42:09.962829 TID:10 (PRI) (BUF) (COBP.GET) (poolid:1) (key:8192) (bufid:10) (count:6) (OraBufReader.GetDataFromNetwork)
2015-04-20 21:42:09.996832 TID:10 (PRI) (ENT) TTCProtocolNegotiation.ReadResponse()
2015-04-20 21:42:09.999832 TID:10 (PRI) (TTC) (ERR) TTCProtocolNegotiation.ReadResponse() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
at OracleInternal.TTC.OraBufReader.GetDataFromNetwork()
at OracleInternal.TTC.OraBufReader.Read(Boolean bIgnoreData)
at OracleInternal.TTC.MarshallingEngine.UnmarshalUB1(Boolean bIgnoreData)
at OracleInternal.TTC.TTCProtocolNegotiation.ReadResponse()
2015-04-20 21:42:09.999832 TID:10 (PRI) (TTC) (ERR) TTCProtocolNegotiation.ReadResponse() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
2015-04-20 21:42:09.999832 TID:10 (PRI) (EXT) TTCProtocolNegotiation.ReadResponse()
2015-04-20 21:42:10.009833 TID:10 (PRI) (TTC) (EXT) TTCProtocolNegotiation.ReadResponse()
2015-04-20 21:42:10.009833 TID:10 (PRI) (ENT) OracleConnectionImpl.DoProtocolNegotiation()
2015-04-20 21:42:10.009833 TID:10 (PRI) (SVC) (ERR) OracleConnectionImpl.DoProtocolNegotiation() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
at OracleInternal.TTC.OraBufReader.GetDataFromNetwork()
at OracleInternal.TTC.OraBufReader.Read(Boolean bIgnoreData)
at OracleInternal.TTC.MarshallingEngine.UnmarshalUB1(Boolean bIgnoreData)
at OracleInternal.TTC.TTCProtocolNegotiation.ReadResponse()
at OracleInternal.ServiceObjects.OracleConnectionImpl.DoProtocolNegotiation()
2015-04-20 21:42:10.009833 TID:10 (PRI) (SVC) (ERR) OracleConnectionImpl.DoProtocolNegotiation() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
2015-04-20 21:42:10.009833 TID:10 (PRI) (EXT) OracleConnectionImpl.DoProtocolNegotiation()
2015-04-20 21:42:10.018834 TID:10 (PRI) (SVC) (EXT) OracleConnectionImpl.DoProtocolNegotiation()
2015-04-20 21:42:10.018834 TID:10 (PRI) (ENT) OracleConnectionImpl.Connect()
2015-04-20 21:42:10.018834 TID:10 (PRI) (SVC) (ERR) OracleConnectionImpl.Connect() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
at OracleInternal.TTC.OraBufReader.GetDataFromNetwork()
at OracleInternal.TTC.OraBufReader.Read(Boolean bIgnoreData)
at OracleInternal.TTC.MarshallingEngine.UnmarshalUB1(Boolean bIgnoreData)
at OracleInternal.TTC.TTCProtocolNegotiation.ReadResponse()
at OracleInternal.ServiceObjects.OracleConnectionImpl.DoProtocolNegotiation()
at OracleInternal.ServiceObjects.OracleConnectionImpl.Connect(ConnectionString cs, Boolean bOpenEndUserSession, String instanceName)
2015-04-20 21:42:10.019834 TID:10 (PRI) (SVC) (ERR) OracleConnectionImpl.Connect() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
2015-04-20 21:42:10.019834 TID:10 (PRI) (EXT) OracleConnectionImpl.Connect()
2015-04-20 21:42:10.028835 TID:10 (PRI) (SVC) (EXT) OracleConnectionImpl.Connect() (oper=open) (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=48657371)
2015-04-20 21:42:10.028835 TID:10 (PRI) (EXT) (CP) PoolManager`3.CreateNewPRThreadFunc()
2015-04-20 21:42:10.045837 TID:8 (PRI) (ENT) PoolManager`3.CreateNewPR()
2015-04-20 21:42:10.045837 TID:8 (PRI) (ERR) (CP) PoolManager`3.CreateNewPR() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
2015-04-20 21:42:10.045837 TID:8 (PRI) (ERR) (CP) PoolManager`3.CreateNewPR() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
2015-04-20 21:42:10.045837 TID:8 (PRI) (EXT) PoolManager`3.CreateNewPR()
2015-04-20 21:42:10.056838 TID:8 (PRI) (EXT) (CP) PoolManager`3.CreateNewPR() (aff=n/a) (inst=) (affmatch=n/a) (sessid=-1:-1) (F;F;F;;N) (pmid=48657371)
2015-04-20 21:42:10.056838 TID:8 (PRI) (EXT) (CP) PoolManager`3.Get() (txnid=n/a) PM.Get(aff=;force=F) returning (null)
2015-04-20 21:42:10.056838 TID:8 (PRI) (ENT) OraclePoolManager.Get()
2015-04-20 21:42:10.056838 TID:8 (PRI) (ERR) (CP) OraclePoolManager.Get() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
2015-04-20 21:42:10.056838 TID:8 (PRI) (ERR) (CP) OraclePoolManager.Get() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
2015-04-20 21:42:10.056838 TID:8 (PRI) (EXT) OraclePoolManager.Get()
2015-04-20 21:42:10.067839 TID:8 (PRI) (EXT) (CP) OraclePoolManager.Get() (txnid=n/a)
2015-04-20 21:42:10.082841 TID:8 (PRI) (ENT) OracleConnectionDispenser`3.Get()
2015-04-20 21:42:10.082841 TID:8 (PRI) (ERR) (CP) OracleConnectionDispenser`3.Get() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
2015-04-20 21:42:10.082841 TID:8 (PRI) (ERR) (CP) OracleConnectionDispenser`3.Get() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
2015-04-20 21:42:10.082841 TID:8 (PRI) (EXT) OracleConnectionDispenser`3.Get()
2015-04-20 21:42:10.093842 TID:8 (PRI) (EXT) (CP) OracleConnectionDispenser`3.Get() (txnid=n/a)
2015-04-20 21:42:10.093842 TID:8 (PRI) (ENT) OracleConnection.Open()
2015-04-20 21:42:10.093842 TID:8 (PUB) (ERR) OracleConnection.Open() (txnid=n/a) OracleInternal.Network.NetworkException (0x80004005): ORA-03135: Connection lost contact ---> System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
at OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName)
at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
at Oracle.ManagedDataAccess.Client.OracleConnection.Open()
2015-04-20 21:42:10.093842 TID:8 (PUB) (ERR) OracleConnection.Open() (txnid=n/a) System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at OracleInternal.Network.ReaderStream.Read(OraBuf OB)
2015-04-20 21:42:10.093842 TID:8 (PRI) (EXT) OracleConnection.Open()
2015-04-20 21:42:10.110843 TID:8 (PUB) (EXT) OracleConnection.Open() (conid=11111) (state=Closed) (sessid=0) (implid=0) (pooling=T) (txnid=n/a)
Cheers,
MuhammadHi,
Please open the alert log and check for ora-600 or ora-7445 error. if you are getting then paste the query and call stack information.
Sorry last time i, was not logged in :)
Kind Regards,
Rakesh Jayappa
Edited by: user9243284 on Sep 15, 2010 5:30 AM -
ORA-01033: ORACLE initialization or shutdown in progress
Hello ,
I am using Oracle 11.2.0 on Window 7 and since yesterday I am unable to connect to my database . I am seeing this error on my EM console.
ORA-01033: ORACLE initialization or shutdown in progress (DBD ERROR: OCISessionBegin)
I tried to manually shutdown and startup from the console but resulted in the same error.
I was not able to connect from sqlplus as well.
SQL*Plus: Release 10.1.0.5.0 - Production on Thu Jan 10 11:58:58 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: SYS
Enter password:
ERROR:
ORA-12560: TNS:protocol adapter error
Here is the lsnrctl status
C:\windows\system32>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.1.0.5.0 - Production on 10-JAN-2013 11:59
:37
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 10-JAN-2013 10:39:08
Uptime 0 days 1 hr. 20 min. 29 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\POSSuiteApps\OracleDB\product\11.2.0\dbhome_1\netwo
rk\admin\listener.ora
Listener Log File c:\possuiteapps\oracledb\diag\tnslsnr\<host>\list
ener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<hostname>)(PORT=1521
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl.us.oracle.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
Could someone help me out in resolving this issue.
Thank you,
LakshmiThank you for the responses .
I found this on metalink but I am not able to access this document . Could you please share some details in this doc
153788.1 - Troubleshoot an ORA-600 or ORA-7445 Error Using the Error Lookup Tool
Here is the alert log trace
System parameters with non-default values:
processes = 150
memory_target = 1584M
control_files = "C:\POSSUITEAPPS\ORACLEDB\ORADATA\ORCL\CONTROL01.CTL"
control_files = "C:\POSSUITEAPPS\ORACLEDB\FLASH_RECOVERY_AREA\ORCL\CONTROL02.CTL"
db_block_size = 8192
compatible = "11.2.0.0.0"
db_recovery_file_dest = "C:\POSSuiteApps\OracleDB\flash_recovery_area"
db_recovery_file_dest_size= 3912M
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "us.oracle.com"
dispatchers = "(PROTOCOL=TCP) (SERVICE=orclXDB)"
audit_file_dest = "C:\POSSUITEAPPS\ORACLEDB\ADMIN\ORCL\ADUMP"
audit_trail = "DB"
db_name = "orcl"
open_cursors = 300
diagnostic_dest = "C:\POSSUITEAPPS\ORACLEDB"
Thu Jan 10 13:03:55 2013
PMON started with pid=2, OS id=6760
Thu Jan 10 13:03:55 2013
VKTM started with pid=3, OS id=5748 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Thu Jan 10 13:03:55 2013
GEN0 started with pid=4, OS id=1916
Thu Jan 10 13:03:55 2013
DIAG started with pid=5, OS id=2972
Thu Jan 10 13:03:55 2013
DBRM started with pid=6, OS id=7112
Thu Jan 10 13:03:55 2013
PSP0 started with pid=7, OS id=8520
Thu Jan 10 13:03:55 2013
DIA0 started with pid=8, OS id=1852
Thu Jan 10 13:03:55 2013
MMAN started with pid=9, OS id=4448
Thu Jan 10 13:03:55 2013
DBW0 started with pid=10, OS id=7032
Thu Jan 10 13:03:55 2013
LGWR started with pid=11, OS id=5104
Thu Jan 10 13:03:55 2013
CKPT started with pid=12, OS id=7820
Thu Jan 10 13:03:55 2013
SMON started with pid=13, OS id=6860
Thu Jan 10 13:03:55 2013
RECO started with pid=14, OS id=2620
Thu Jan 10 13:03:56 2013
MMON started with pid=15, OS id=4288
Thu Jan 10 13:03:56 2013
MMNL started with pid=16, OS id=9100
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = C:\POSSuiteApps\OracleDB
Thu Jan 10 13:03:57 2013
ALTER DATABASE MOUNT
Successful mount of redo thread 1, with mount id 1332168637
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Thu Jan 10 13:19:01 2013
db_recovery_file_dest_size of 3912 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Edited by: 970292 on Jan 10, 2013 2:09 PM -
ORA-01033: ORACLE initialization or shutdown in progress , ORA-01113
I got the following error while trying to log in to Oracle SQL plus
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
I tried the following and here's what i got. Could you please help me rectify this error.
SQL> connect sys/manager as sysdba
Connected.
SQL> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-01113: file 10 needs media recovery
ORA-01110: data file 10: 'C:\ORACLE\ORADATA\AMINA\XDB01.DBF'
Thanks,
Amina>> ORA-01033: ORACLE initialization or shutdown in progress
This error encounters when the database is already running, so it needed to be shutdown first, that you have done so.
>>ORA-01113: file 10 needs media recovery
ORA-01110: data file 10: 'C:\ORACLE\ORADATA\AMINA\XDB01.DBF'
Oracle Metalink has good solution/steps for this to recover.
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
By the way, what where you doing on database any changes done?? because when you tried to shutdown the database with immediate option, the database was not open.
Regards,
Sabdar Syed.
Oracle Metalink Note:183367.1 for errors(ORA-01113 & ORA-01110).
Message was edited by:
Sabdar Syed -
ORA-1033 Oracle initialization or shutdown in progress
Hi
When i trying to start SAP by using sapmmc i resieved errors - "ORA-1033 Oracle initialization or shutdown in progress", "Database error 1033 at CON". How can i start SAP?remove autostart for the oracle database instance.
that is changing the registry value of
HKLM\Software\Oracle\HomeX\ORA_<DBSID>_AUTOSTART
from True to False.
This parameter controls the automatic startup of the oracle database instance when the Windows Service (OracleService<DBSID> is started.
If set to true and using the unsupported Start Profile Parameter Autostart the startup of the SAP Instance and the Oracle Database Instance is not synchronized. In this case the SAP instance might try to connect too early to the DB-Instance.
As the SAP Central Instance is normaly starting the db instance too it is safer to use this mechanism to synchronize db and sap startup.
Even 1033 is not (yet) listed, note 903904 addresses this issue.
Peter
Message was edited by: Peter Simon
Message was edited by: Peter Simon -
ORACLE initialization or shutdown in progress (DBD ERROR: OCISessionBegin)
Hi Gurus,
Require your help.Our databases are monitored by OEM grid.We have scheduled some cold backup for some of our databases,and the cold backup scripts have manual blackouts also mentioned in it during the cold backup,so that alerts are not raised during the cold backup,and post cold backup the blackouts are ended.Though the blackouts are configured during this cold backups,we keep getting this annoying message "Failed to connect to database instance: ORA-01033: ORACLE initialization or shutdown in progress (DBD ERROR: OCISessionBegin)".Is there any way to suppress the same.
Regards
Jimmy868460 wrote:
Hi Gurus,
Require your help.Our databases are monitored by OEM grid.We have scheduled some cold backup for some of our databases,and the cold backup scripts have manual blackouts also mentioned in it during the cold backup,so that alerts are not raised during the cold backup,and post cold backup the blackouts are ended.Though the blackouts are configured during this cold backups,we keep getting this annoying message "Failed to connect to database instance: ORA-01033: ORACLE initialization or shutdown in progress (DBD ERROR: OCISessionBegin)".Is there any way to suppress the same.
While logged on to DB server as OS user "oracle" do as below
sqlplus
/ as sysdba
shutdown abort
startup
exit
COPY commands above & results then PASTE all back here -
ORA-28547: connection to server failed, probable Oracle Net admin error
Hi Gurus
I can't get the gateway to work? I'm running on AIX. Any suggestions are appreciated.
listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
# (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4msql)
(ORACLE_HOME=/oracle/rcsr/base/product/11.2.0/gateway)
(PROGRAM=dg4msql)
tnsnames.ora
dg4msql =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
sqlnet.ora
SQL_AUTHENTICATION_SERVICES = (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES)
ADR_BASE = /oracle/rcsr/base
initdg4msql.ora
HS_FDS_CONNECT_INFO=142.178.205.42:1433//komodo
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=debug
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
$ lsnrctl status
LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 03-MAY-2013 13:48:01
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
Start Date 03-MAY-2013 13:38:14
Uptime 0 days 0 hr. 9 min. 47 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File /oracle/rcsr/base/product/11.2.0/gateway/network/admin/listener.ora
Listener Log File /oracle/rcsr/base/diag/tnslsnr/abe-rcsr-01/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
Services Summary...
Service "dg4msql" has 1 instance(s).
Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
$ tnsping dg4msql
TNS Ping Utility for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 03-MAY-2013 13:48:53
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/oracle/rcsr/base/product/11.2.0/gateway/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
OK (0 msec)
$ sqlplus aa/aa@dg4msql
SQL*Plus: Release 11.2.0.1.0 Production on Fri May 3 13:49:52 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-28547: connection to server failed, probable Oracle Net admin errorYou can't directly use the gateway - you can only access a gateway using a database link.
So this won't work:
$ sqlplus aa/aa@dg4msql
You need to connect to your Oracle database (for example as sysdba) and create a (public) database link:
create [public] database link dg4msql connect to "<MS SQl Server username! identified by "<MS SQl Server password>" using 'dg4msql;
Once you create the database link you can now access the MS SQl Server tables:
select * from "your MS SQL Server table"@dg4msql; -
10g ORA-28547: connection to server failed, probable Net8 admin error
Hii All
I am trying to install oracle10g release 2 client on windows machine but it gives me error ORA-28547
I have my oracle database resides on Linux machine with IP 192.68.1.202
My ORACLE_SID is oracle please help me out.
Please help
I have tried by setting
SQL_AUTHENTICATION_SERVICES = (NONE)
but it doesn't works with my case please help me out,,
Please its serious problem to me.
Thanking YouORA-28547: connection to server failed, probable Oracle Net admin error
Cause: A failure occurred during initialization of a network connection from a client process to the Oracle server: The connection was completed but a disconnect occurred while trying to perform protocol-specific initialization, usually due to use of different network protocols by opposite sides of the connection. This usually is caused by incorrect Oracle Net administrative setup for database links or external procedure calls. The most frequent specific causes are: -- The connection uses a connect string which refers to a Heterogeneous Services agent instead of an Oracle server. -- The connection uses a connect string which includes an (HS=) specification.
Action: Check Oracle Net administration in the following ways: -- When using TNSNAMES.ORA or an Oracle Names server, make sure that the client connection to the ORACLE server uses the correct service name or SID. -- Check LISTENER.ORA on the connection end point's host machine to assure that this service name or SID refers to the correct server. -- Confirm in TNSNAMES.ORA or the equivalent service definition that the connect string does NOT contain (HS=).
Apart from this, have you made sure that there are no issues with the physical network between server and the client? -
ORA-28544: connect to agent failed, probable Net8 administration error
HI WHEN I TRY TO QUERY SQL SERVER DATABASE FROM ORACLE IAM GETTING THE FOLLOWING ERROR
ORA-28544: connect to agent failed, probable Net8 administration error
External procedure agent received SQL or transactional RPC
CAN ANYONE HELP ME ON THISI've got the same error, help!!!
specs:
0. issues
#>cat /etc/issue
Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel \r (\l).
1. Checking ODBC connection
#>cat /etc/unixODBC/odbc.ini
[myodbc01]
Description = my01
Driver = my01
Server = 192.168.0.xxx
Database = mysqldb
USER = oracle
Password = orapasswd
Port =
Socket =
Option =
Stmt =
#>cat /etc/unixODBC/odbcinst.ini
[my01]
Description = MYODBC351
Driver = /usr/lib/unixODBC/libmyodbc3-3.51.06.so
Setup = /usr/lib/unixODBC/libodbcmyS.so.1
FileUsage = 1
CPTimeout =
CPReuse =
#>isql myodbc01 oracle orapasswd
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
SQL> select * from mytable;
| id| bug_id| reporter_id| bugnote_text_id| view_state| date_submitted | last_modified | note_type| note_attr|
| 51| 5 | 2 | 51 | 10 | 2007-06-08 13:06:40| 2007-06-08 13:06:40| 0 | |
| 50| 5 | 6 | 50 | 50 | 2007-06-08 13:05:54| 2007-06-08 13:05:54| 0 | |
| 49| 5 | 5 | 49 | 50 | 2007-06-08 13:01:05| 2007-06-08 13:01:05| 0 | |
| 48| 5 | 6 | 48 | 50 | 2007-06-08 13:00:42| 2007-06-08 13:00:42| 0 | |
| 47| 5 | 5 | 47 | 50 | 2007-06-08 12:59:49| 2007-06-08 12:59:49| 0 | |
| 46| 5 | 3 | 46 | 10 | 2007-06-08 12:58:27| 2007-06-08 12:58:27| 0 | |
| 45| 5 | 2 | 45 | 10 | 2007-06-08 12:46:20| 2007-06-08 12:46:20| 0 | |
| 44| 5 | 6 | 44 | 50 | 2007-06-08 12:45:52| 2007-06-08 12:45:52| 0 | |
| 43| 5 | 2 | 43 | 50 | 2007-06-08 12:44:42| 2007-06-08 12:44:42| 0 | |
| 39| 5 | 5 | 39 | 50 | 2007-06-08 12:37:48| 2007-06-08 12:37:48| 0 | |
| 40| 5 | 6 | 40 | 50 | 2007-06-08 12:41:06| 2007-06-08 12:41:06| 0 | |
| 41| 5 | 5 | 41 | 50 | 2007-06-08 12:41:41| 2007-06-08 12:41:41| 0 | |
| 42| 5 | 6 | 42 | 50 | 2007-06-08 12:43:04| 2007-06-08 12:43:04| 0 | |
SQLRowCount returns 13
13 rows fetched
SQL>
...so, it works
2. Configuring HS
#>hsodbc
Oracle Corporation --- WEDNESDAY JUN 13 2007 13:23:56.886
Heterogeneous Agent Release 10.2.0.3.0 - Production Built with
Driver for ODBC
#>cat /home/oracle/Ora10g/hs/admin/initmantis.ora --SID=mantis
HS_FDS_CONNECT_INFO = myodbc01
HS_FDS_TRACE_LEVEL = ON
HS_FDS_SHAREABLE_NAME = /usr/lib/libodbc.so
set ODBCINI=/etc/unixODBC/odbc.ini
#>cat /home/oracle/Ora10g/network/admin/listener.ora
LISTENER =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=MANTIS)))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=mantis)
(ORACLE_HOME=/home/oracle/Ora10g)
(PROGRAM=hsodbc)
CONNECT_TIMEOUT_LISTENER = 5
#>cat /home/oracle/Ora10g/network/admin/tnsnames.ora
mantis =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(CONNECT_DATA=(SID=mantis))
(HS=OK)
3. Creating 'n testing db link..
#>sqlplus ...
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Jun 13 13:53:00 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>select banner from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
SQL>create database link mantis_dblink connect to oracle identified by orapasswd using 'mantis';
Database link created.
SQL> select * from mytable@mantis_dblink;
SQL> select * from mytable@mantis_dblink
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from MANTIS_DBLINK
Maybe you are looking for
-
Order of delivery schedule line counter at schedule agreements from MRP run
Currently we are using schedule agreements for our long term external suppliers, but we are facing a problem with the order of new delivery schedule lines created during MRP run. Because of master data settings like, lot size, rounding value, plan de
-
Non central adapter engine & adapter monitoring
Hi , we installed PI7.0 sp12,and can we see all the available adapter as a list in RWB and adapter monitoring if adapter engine installed as non central? And we will see Adapter engine under Integration server if AE is centran and under non-central a
-
Santarosa MacBook 3,1 Temperature
Hi! this is my first mac and i would know some things about temperature exercise... yesterday i unmounted all the case of the mac, to clean the fan that in my opinion, would be plenty of dust. BTW it wasn't (my mac have only 2 months of health time).
-
C6-00, Front camera problem
Hi there, the front camera of my phone doesn't work!! I can use the 5.0 Mega Pixel camera without problem, but when I want to use the front one, screen turns black!! As a result I can't use the front camera on video calls!! Help me please.
-
Hi, I am using forms 10g version and like to know if there is any possible way I can change the window title from, 'http://192.168.x.x - Oracle Application Server Forms Services - Microsoft Internet Explorer' to other wordings ? I have tried to use,