Home » RDBMS Server » Server Administration » End of file at communication channel
End of file at communication channel [message #111678] Fri, 18 March 2005 10:19 Go to next message
milind_sri
Messages: 70
Registered: February 2005
Location: Pune
Member
Hello experts,

I have two same databases on two servers with same data.
Infact, I imported the same data in both the two servers.

The problem is there is a query which when executed on one server works fine but on another server it gives error:-

ORA-03113:end of file at communication channel
ORA-03114:not connected to oracle

The query is like this:-

select /* [[[SOPRejectionLetters.RejectionLettersContext]]] */
W.ATTORNEY_NAME AttorneyName,
W.ATTORNEY_LAWFIRM LawFirmName,
W.DOCUMENT_TYPE DocumentType,
W.DEFENDANT_NAME Defendant,
decode(W.BUS_NAME_ID, null, to_char(W.BUS_NAME_ID), W.BUS_NAME) ActualDefendant,
decode(W.BUS_NAME, null, E.TRUE_NAME, W.BUS_NAME) EntityName,
W.REP_ID RepId,
W.REP_JURIS_ID RepJurisId,
W.AGENT_INFO PresentAgent,
I.ADDRESS_LINE_1 AddressLine1,
I.ADDRESS_LINE_2 AddressLine2,
I.ADDRESS_LINE_3 AddressLine3,
I.ADDRESS_LINE_4 AddressLine4,
I.CITY CITY,
I.STATE State,
I.ZIP_CODE ZipCode,
M.FIRST_NAME || ' ' || M.LAST_NAME AS AssignedTo,
M.JOB_TITLE JobTitle,
(select max(decode(H.STATUS_CD, 6003, H.EFFECTIVE_DATE, ''))
from ARV_REP_HISTORY H
where H.REP_ID = W.REP_ID) ResignationDate,
W.WORKSHEET_ID WorksheetId,
W.REJECT_REASON_CD RejectionReason,
(select max(decode(H.STATUS_CD, 6002, H.EFFECTIVE_DATE, ''))
from ARV_REP_HISTORY H
where H.REP_ID = W.REP_ID) DiscontinuanceDate
from ARV_SOP_WORKSHEET W,
ARV_SOP_CONTACT_INFO I,
AV_SERVICE_TEAM_MEMBER M,
ARV_ENTITY E,
ARV_BUSINESS_NAME B
where W.WORKSHEET_ID = 510000156 and
W.ASSIGNED_TO = M.SERVICE_TEAM_MEMBER_ID and
W.BUS_NAME_ID = B.BUS_NAME_ID(+) and
B.ENTITY_ID = E.ENTITY_ID(+) and
W.WORKSHEET_ID = I.WORKSHEET_ID (+) and
I.CONTACT_INFO_TYPE(+) = 'A'

The error doesnt disconnect the session but the query fires the same error everytime. I dont understand when the two servers are having the same data,same indexes, same constraints why the query is running on one not on another.

Anybody has any idea why this is happening. I have come across this situation for the first time.

Any help is appreciated.

Thanks in advance.

Milind.
Re: End of file at communication channel [message #111681 is a reply to message #111678] Fri, 18 March 2005 10:31 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
this is a very generic error.
Please look into the alert_sid.log and sqlnet.log for anything more specific.
Probably just a timeout error.

Re: End of file at communication channel [message #111686 is a reply to message #111681] Fri, 18 March 2005 10:49 Go to previous messageGo to next message
milind_sri
Messages: 70
Registered: February 2005
Location: Pune
Member
Hello Mahesh,

Thanks for your quick response.
I have checked Alert.log and sqlnet.log files and couldnt find anything specific. I am sending you the sqlnet.log for your reference. can you pleas comment something by looking at it.

Thanks in advance

Milind.
Re: End of file at communication channel [message #111690 is a reply to message #111686] Fri, 18 March 2005 10:55 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Please check sqlnet.ora.
are there any expire paramters ?
Re: End of file at communication channel [message #111691 is a reply to message #111690] Fri, 18 March 2005 10:57 Go to previous messageGo to next message
milind_sri
Messages: 70
Registered: February 2005
Location: Pune
Member
I can see this error in my sqlnet.log recurring:-

Fatal NI connect error 12638, connecting to:
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))

VERSION INFORMATION:
TNS for 32-bit Windows: Version 9.2.0.5.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 9.2.0.5.0 - Production
Time: 13-MAR-2005 03:25:45
Tracing not turned on.
TNS-12638: Credential retrieval failed
nr err code: 0
ns secondary err code: 0
ns main err code: 12638
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
TNS-12638: Credential retrieval failed
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0

Milind.
Re: End of file at communication channel [message #111697 is a reply to message #111691] Fri, 18 March 2005 11:30 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
>>TNS-12638: Credential retrieval failed

You have issues with authentication.
Edit your clientside sqlnet.ora.
remove/comment all comments ( unless you use any encryption??).
Re: End of file at communication channel [message #111698 is a reply to message #111697] Fri, 18 March 2005 12:16 Go to previous messageGo to next message
milind_sri
Messages: 70
Registered: February 2005
Location: Pune
Member
Hi Mahesh,

These are the contents of my SQLNET.ora file:-

# SQLNET.ORA Network Configuration File: D:\oracle\ora92\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.

SQLNET.AUTHENTICATION_SERVICES= (NTS)

# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.

NAMES.DIRECTORY_PATH= (TNSNAMES)
names.default_domain = THEDIGITALGROUP.COM

I dont know where is the problem. But, one more thing which I observed in the query is that whenever i remove the two subqueries related to ARV_REP_HISTORY view the query executes. And whenever I remover the outer joins on Worksheet_id and Contact_info in the where clause the query executes without giving any error. Can you pls. throw a light on this that why it is getting executed in this scenario.

Thanks

Milind.
Re: End of file at communication channel [message #111699 is a reply to message #111698] Fri, 18 March 2005 12:29 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
comment all entiries with #
and try again.
like

#SQLNET.AUTHENTICATION_SERVICES= (NTS)
#NAMES.DIRECTORY_PATH= (TNSNAMES)
#names.default_domain = THEDIGITALGROUP.COM
Re: End of file at communication channel [message #111701 is a reply to message #111699] Fri, 18 March 2005 12:39 Go to previous messageGo to next message
milind_sri
Messages: 70
Registered: February 2005
Location: Pune
Member
Hi Mahesh,

I have commented out all the lines as you said. But, the error is still there.

I dont understand what is the problem, when outer joins and sub-queries are removed the query executes and when they are there it gives error. But, executes on other server.

Regards

Milind.
Re: End of file at communication channel [message #111705 is a reply to message #111701] Fri, 18 March 2005 12:54 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
check the status of ARV_REP_HISTORY if it is a view , check the base tables.
Run just those subqueries seperately and test.
is there a dblink involved?
the reason why i asked to comemnt of entries from sqlnet.ora
is , if you dont use them, you dont need them.


Re: End of file at communication channel [message #111820 is a reply to message #111705] Mon, 21 March 2005 02:40 Go to previous messageGo to next message
_simma_dba
Messages: 34
Registered: November 2003
Member
I had a similar error with my query. I had select from two views, basicly you have the same thing here because of subquery. But the real problem was that the tables in query was created with PARALLEL option. So when I include /*+ NOPARALEL*/ hint in my query I solve the problem. Try this, maybe it will help.
Re: End of file at communication channel [message #111835 is a reply to message #111820] Mon, 21 March 2005 04:36 Go to previous message
d.c.b.a
Messages: 44
Registered: March 2005
Location: China
Member

Do not use beq to connect to database, try add AUTOMATIC_IPC = OFF to sqlnet.ora file and check the tnsnames.ora file , do not use ipc protocol to connect to database.

Good luck!
Previous Topic: Unicode version problem?
Next Topic: drop table problems
Goto Forum:
  


Current Time: Sat Jan 25 02:56:45 CST 2025