Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Re: ORA-03113: end-of-file on communication channel

Re: ORA-03113: end-of-file on communication channel

2004-10-16       - By Chirag DBA

Reply:     1     2     3     4  

Each individual statements are working fine. But when I put them in
the PROCEDURE, it throws me out n disconnects the session.

I m inserting all data into temporary table n don wanna do filter on DB Link.
after putting them in temporary table I m inserting into my original
table with filtering.

No firewall on DB as I m able to run the SQLs seperately.

Any Idea why it gives me this error...???

- Chirag Majmundar

create or replace procedure populateiCareUsers IS
begin
dbms_output.put_line( 'Please Wait Deleting data from the Temp table ');
-- delete from temp_profile_users;
execute immediate ' TRUNCATE TABLE TEMP_PROFILE_USERS ';
dbms_output.put_line( '-- ---- ---- ---- ---- ---- ---- ---- ----- ');
dbms_output.put_line( 'Deleted data from the Temp table.... ');
dbms_output.put_line( '-- ---- ---- ---- ---- ---- ---- ---- ----- ');

dbms_output.put_line( '-- ---- ---- ---- ---- ---- ---- ---- ----- ');

dbms_output.put_line( 'Inserting data in to the Temp table.... ');
dbms_output.put_line( '-- ---- ---- ---- ---- ---- ---- ---- ----- ');

insert into temp_profile_users
select a.oprid
, c.last_name
, c.first_name
, e.descr department
, d.descr location
, h.name1 provider_grp_name
from psoprdefn@(protected) a
, psopralias@(protected) b
, ps_rd_person_name@(protected) c
, ps_location_tbl@(protected) d
, ps_dept_tbl@(protected) e
, ps_rb_worker@(protected) f
, ps_rf_grp_member@(protected) g
, ps_rf_provider_grp@(protected) h
where a.oprid = b.oprid
and b.person_id = c.person_id
and f.person_id = b.person_id
and f.location= d.location
and f.deptid = e.deptid
and g.person_id = b.person_id
and g.provider_grp_id = h.provider_grp_id;

dbms_output.put_line( 'Please Wait, Updating the Profile_Users table.... ');

insert into profile_users(BEPUSER_ID,ORIGIN,OPRID,LAST_NAME,FIRST_NAME,DESC_DEPT,LOCATION,NAME)
select

SQ_iCAREUSER.nextval, 'iCare ',OPRID,LAST_NAME,FIRST_NAME,DEPARTMENT,LOCATION,PROVIDER_GRP_NAME
from temp_profile_users where

oprid not in(select oprid from profile_users);

EXECUTE IMMEDIATE 'commit ';
dbms_output.put_line( 'Profile Users from iCare are Updated and
Committed........!!! ');
end;
/

create or replace procedure populateiCareUsers IS
*
ERROR at line 1:
ORA-03113 (See ORA-03113.ora-code.com): end-of-file on communication channel



On Fri, 15 Oct 2004 12:43:06 -0400, Ankur Shah <ankur_ora@(protected) > wrote:
> ORA 3113 has numerous reason...
>
> > To start with..is the DB link active I mean tested for connection.
> > Is firewall involved with connection to the server where db link intends
> to get data from.
> > Try doing a simple select over the dblink within the procedure and see if
> it returns date from psoprdefn@(protected) and then test for each remote
> tables.
>
> ============================
>
> HTHU
>
> Ankur Shah
> Oracle DBA
> DHR-GA
>
>
>
>
> -- -- Original Message -- --
> From: "Chirag DBA " <ChiragDBA@(protected) >
> To: <oracle-l@(protected) >; <askdba@(protected) >
> Sent: Friday, October 15, 2004 11:42 AM
> Subject: [askdba] ORA-03113 (See ORA-03113.ora-code.com): end-of-file on communication channel
>
> > Hi ,
> >
> > I m getting error ' ORA-03113 (See ORA-03113.ora-code.com): end-of-file on communication channel '
> > while creating a procedure which uses database link to populate data.
> >
> > Can anyone tell me what can be the problem ?
> >
> > - Chirag Majmundar
> >
> >
> > CREATE OR REPLACE procedure populateiCareUsers
> > is
> > begin
> >
> > -- execute immediate 'drop database link icaeurp1 ';
> >
> > -- create database link icaeurp1
> > -- connect to act_parts identified by act_parts
> > -- using
> > execute immediate 'truncate table temp_profile_users ';
> >
> > insert into temp_profile_users
> > select a.oprid
> > , c.last_name
> > , c.first_name
> > , e.descr department
> > , d.descr location
> > , h.name1 provider_grp_name
> > from psoprdefn@(protected) a
> > , psopralias@(protected) b
> > , ps_rd_person_name@(protected) c
> > , ps_location_tbl@(protected) d
> > , ps_dept_tbl@(protected) e
> > , ps_rb_worker@(protected) f
> > , ps_rf_grp_member@(protected) g
> > , ps_rf_provider_grp@(protected) h
> > where a.oprid = b.oprid
> > and b.person_id = c.person_id
> > and f.person_id = b.person_id
> > and f.location= d.location
> > and f.deptid = e.deptid
> > and g.person_id = b.person_id
> > and g.provider_grp_id = h.provider_grp_id;
> >
> > insert into profile_users select * from temp_profile_users where oprid
> > not in(select oprid from profile_users);
> > end;
> > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> -- ---- ---- -----
> > ERRORS I M GETTING
> > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> -- ---- ---- -----
> > CREATE OR REPLACE procedure populateiCareUsers
> > *
> > ERROR at line 1:
> > ORA-03113 (See ORA-03113.ora-code.com): end-of-file on communication channel
> >
> >
>
>
--
http://www.freelists.org/webpage/oracle-l