End of communication channel when select from view

We are using DB 10.0.2.0.2 and when we run select statement from view it gives End of communication channel error but when we run the query by using the sql in the view it works fine.
Please advise what may be wrong.

Like other poster suggested, please post some sample code, query your used to build the view (you can scramble the real table/column name as your wish) and the actual screen capture of the error.
This will help others to help you. Right now you are only describing symptoms while no one has idea what it really is.

Similar Messages

  • End of communication channel on creating Materialized view

    Dear All,
    I've Oracle Enterprise Edition(ver 9.0.1.1.1) running on Windows Xp Home Edition, When I run the following statement to create a materialized view I got the famous error ORA-03113: end-of-file on communication channel.And the strange thing is that after this I got disconnected from the database and when I tried to reconnect it showed an Error "Shared memory not available". I was forced to restart my database.
    CREATE MATERIALIZED VIEW CUVF_MVIEW
    TABLESPACE USERS
    NOCACHE
    NOPARALLEL
    BUILD IMMEDIATE
    REFRESH COMPLETE
    ON DEMAND
    START WITH
    TO_DATE('08-DEC-2003 11:00:00','dd-mon-yyyy hh24:mi:ss')
    NEXT trunc(sysdate) +13/24
    WITH ROWID
    USING DEFAULT LOCAL ROLLBACK SEGMENT
    DISABLE QUERY REWRITE AS
    SELECT *
    FROM mySchema.Trasaction_FACT@test_link cuvf
    WHERE
    REFERENCE_DT BETWEEN TRUNC(ADD_MONTHS(SYSDATE,-1),'MON')
    AND LAST_DAY(TRUNC(ADD_MONTHS(SYSDATE,-1),'MON'))

    Like other poster suggested, please post some sample code, query your used to build the view (you can scramble the real table/column name as your wish) and the actual screen capture of the error.
    This will help others to help you. Right now you are only describing symptoms while no one has idea what it really is.

  • ORA-01017: invalid username/password through dblink when select from view

    Hello all,
    I work on 2 databases :
    - One is a 10g (let's call it db_10 )
    - The second one is a 11g (let's call it db_11 )
    I created a view V_PROTOCOLES in schema SCHEMA_1 on db_11.
    The FROM clause of this view call 4 tables :
    - table1 : owner is SCHEMA_1
    - table2 : owner is SCHEMA_2 (schema on db_11 )
    - table3 : owner is SCHEMA_3 (schema on db_10 )
    - table4 : owner is SCHEMA_4 (schema on db_10 )
    When I simply run SELECT * FROM V_PROTOCOLES on db11 with user X, I can have a result.
    The problem occurs when I connect on db10 also with user X. The V_PROTOCOLES view has a public synonym using the dblink DBDOC_LINK (without explicitly specify a user, so it connects with the X user).
    But here I can't run the SELECT * FROM V_PROTOCOLES. I Have the following error :
    ORA-01017: invalid username/password; logon denied
    ORA-02063: preceding line from DBDOC_LINKThe passwords for user X are obviously the same on both 10g and 11g databases.
    Thanks for the help !

    On 10g :
    select password from dba_users where username = 'U872574';
    PASSWORD
    30811840BC618B77On 11g :
    select password from sys.user$ where name='U872574';
    PASSWORD
    30811840BC618B77I dropped and recreated the dblink but the problem always occurs...
    (By the way, curiously when I dropped the dblink I have no invalid objects although it is used in different packages or triggers)

  • Error when selecting from view created by OLAP_TABLE

    Hi all,
    I used OWB 10.2.0.4 to create a MOLAP datawarehouse.
    I created a view with this:
    CREATE OR REPLACE VIEW sales_view AS
    SELECT *
    FROM TABLE(OLAP_TABLE(
    'dw duration session',
    'MEASURE samt AS number(16,0) FROM SALES_SAMT
    DIMENSION cust_code AS varchar2(30) FROM cust
    DIMENSION prod_code AS varchar2(30) FROM prod
    DIMENSION sman_code AS varchar2(30) FROM sman
    DIMENSION time_id AS varchar2(30) FROM time
    DIMENSION orgn_code AS varchar2(30) FROM orgn'));
    and I try to run the following:
    select count(*) from sales_view;
    and I got the following error:
    Error starting at line 1 in command:
    select count(*) from sales_view
    Error report:
    SQL Error: ORA-29400: data cartridge error
    ORA-00600: internal error code, arguments: [xsvaluekeyget: type], [114], [], [], [], [], [], []
    29400. 00000 - "data cartridge error\n%s"
    *Cause:    An error has occurred in a data cartridge external procedure.
    This message will be followed by a second message giving
    more details about the data cartridge error.
    *Action:   See the data cartridge documentation
    for an explanation of the second error message.
    Can somebody give me some idea?
    Many thanks!
    - Andrew

    Brijesh,
    Really appreciate your help!
    With your hint (#2), I found my problems.
    I had 2 problems:
    1) I'm missing the 'Model' clause at the end of my view creation (in bold )
    2) I shouldn't do a count on all rows (e.g. I get result if I select with parameters)
    Here's my working view:
    CREATE OR REPLACE VIEW SALES_VIEW2
    AS
    SELECT * FROM TABLE(OLAP_TABLE(
    'DW DURATION SESSION',
    MEASURE SAMT FROM SALES_SAMT1
    DIMENSION PROD_CODE FROM PROD
    DIMENSION SMAN_CODE FROM SMAN
    DIMENSION TIME_CODE FROM TIME
    DIMENSION CUST_CODE FROM CUST
    DIMENSION ORGN_CODE FROM ORGN
    MODEL
    DIMENSION BY(PROD_CODE, CUST_CODE, SMAN_CODE, TIME_CODE, ORGN_CODE)
    MEASURES(SAMT)
    RULES UPDATE SEQUENTIAL ORDER();
    -----

  • End-of-communication channel while executing sqlldr from java procedure

    Hi all,
    I am having 10g 10.1.0.3.1 ( Infrastructure ) on linux, I am executing Sql Loader
    ( sqlldr ) from client (XP) using java stored procedure. After loading the data I am getting Error - ( end-of-communication channel). But same java procedure is working fine without any error on 10g without (Infrastructure). Is this problem is becuase of infrastructure or some patch has to be installed on the database. For my satisfaction I reinstalled java Virtual Machine on database with the help of
    ( initjvm.sql ). But problem is still there. Any idea what exactly the problem is.
    SKM

    This is the most frequently asked question from Oracle developers.. Never mind putting some light on this error, I want to put it alight! ;-)
    First thing. It is not The Error. It is a sympton of an error.
    This message does not come from the database. It comes from the client OCI (of JDBC) drivers - which suddenly discovered that the Oracle connection (usually a TCP socket connection) has been torn down at the server side. It attempts to write to that socket, only to find that the other party has hung up.
    Why has the other party hung up? That party is either a Dedicated Server Process or a Dispatcher Process. If a dedicated server dies (crashes), it will take its socket handles with it to The Great Recycle Bin In The Sky. If you was serviced by a shared server and it died, the Dispatcher (who handles the TCP comms for it), will automatically close that shared server's connection.
    Usually when a process dies on the Oracle server, it leaves behind an error in the alert log, and trace files. That is where you will find the inklings of what The Error was that caused your client to get the EOF on comms channel message.

  • End-of-communication channel error from client

    In my server oracle(oracle9i enterprices edition) is working fine but from client side i'm getting the following error
    *end-of-communication channel error
    But my network is working fine
    anyone can you give me the solution for this problem....?
    Message was edited by:
    user497084

    checkout TNSPING <service name> from cmd prompt
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\NJi>tnsping issl
    TNS Ping Utility for 32-bit Windows: Version 2.3.2.1.0 - Production on 25-OCT-06
    14:36:06
    Copyright , 1996(c) Oracle Corporation 1995. All rights reserved.
    Attempting to contact (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=198.1.2.
    15)(Port=1521))
    OK (100 msec)

  • End of communication channel error

    While working with our application developed in VB, In some times when I use describe command in sql * plus, giving "end of communication channel error" and getting disconnected from the database. Select and other DML commands are working well.
    Any suggestions please...
    Thanks in advance....
    UMAMAHESWARA REDDY

    Check the alert log and with your network people for any errors.

  • End of communication channel error on second execution

    a select view over a database link will return results once but on second execution returns end of communication channel error.
    i have lots of other views working fine this way. the problem view did work but has started failing. .
    running the view on the database which is running the htmldb application in a sqlplus session (which is the same schema which htmldb is using for the application) works fine. it is only htmldb which is showing the problem both from within the application and the sql workshop

    Hi,
    For a 'serious' error like that you will probably want to work with Oracle support who will be able to work with you to resolve the problem.

  • Orphan sessions - end of communication channel

    Dear Colleagues,
    We are facing with a server crash or are forced to shutdown and restart the db server on monthly basis approx. and we believe that this problem is related to orphan sessions created by users connected through application servers (remote desktop connection - RDC) and when our off-site link drops these sessions exists on the db and when the connection re-establishes new connections are formed and this kept on going untill a crash occurs or we are forced to shutdown the db - which also ends in a crash after giving a message 'End of communication channel' - to control the extra sessions from being created we tried setting the retention time of a connection to 5 minutes but this seems to be adding on to the problem as well. Before proceeding any further let me apprise you on our environment:
    Windows 2000 Advanced server running on ML-570 dual processor
    Oracle 9.0.1.1.1
    DB Users: 350-300 approx. concurrent sessions
    Front end application s/w are developed in VB 6 and are deployed on "Unisys ES 7000 Orion 230" on 3-4 partitions each of 4-6 processors - These is used as our application servers.
    We believe this started roughly after we gave access to our off-site offices because we have 1 GB LAN access at the main site and the users are given thin clients (HP thin clients) and this problem existed nevertheless, restart of db server once in a while - which is something every windows user does and we all know.
    Can any body please tell us is this a orphan session problem and its remedy? or its something else - do we need an application server to manage the transactions or any thing which can help in the resolution of the problem.
    You help is appreciated as always.
    Take care.
    QJ

    Try tracing the drop user statement. Then you'll see exactly what's happening very near the point where the socket is closed. Repeating the test with varying input parameters--I know there are many of them and that's precisely the point--for a few iterations will produce enough trace data that you'll be better equipped to decide on a reasonable course of action.
    alter session set events '10046 trace name context forever, level 12';
    drop user hard_to_kill;
    The resulting trace data will tell you if you have to go so far as admin level sql net tracing.

  • Problem with ORA -03113 End of Communication Channel

    Hello,
    Oracle Database 10g Release 10.2.0.1.0 - Production
    Windows Server 2003 Version V5.2 Service Pack 2
    Im having this problem when executing an stored procedure that executes a SQL statement wich has uses db links... I get this end of communication channel error.. so I thought it was a network issue, but all connections are fine.
    The thing is that the procedure works fine, but just out of the nothing starts to give that problem, shutting down the database would not correct the problem, only restarting the server will fix the issue temporarily. I checked the dump file related to the process am running and I found this, I think it might be like a memory problem but not sure
    Windows thread id: 5632, image: ORACLE.EXE (J002)
    *** ACTION NAME:() 2010-09-01 09:18:59.490
    *** MODULE NAME:() 2010-09-01 09:18:59.490
    *** SERVICE NAME:(SYS$USERS) 2010-09-01 09:18:59.490
    *** SESSION ID:(545.34045) 2010-09-01 09:18:59.490
    *** 2010-09-01 09:18:59.490
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_kghalf+478] [PC:0x603BEB04] [ADDR:0x61E26AE8] [UNABLE_TO_WRITE] []
    No current SQL statement being executed.
    what do you recommend me to try here?

    Hi Ogan,
    I agree ! Of course we are often obliged to compose with minimal downtime, testing resources, editors, management, time etc.
    I have the same problems but keeping the base version is a pain and if you consider 10.2.0.5 you won't have to install many patchsets after this one on the 10gR2 homes/databases. It's a "good" investment if you have to keep the 10gR2 for several years (going to 11g is more difficult than installing a patchset !)
    Oracle patchsets are great and well tested and if you pay your Oracle license you pay for that ! The patchsets, patchset updates, support make the difference with the versions you can download "freely" on OTN.
    Best regards
    Phil

  • End of Communications Channel

    Hi,
    I face a problem here when I create a database. When I run the scripts to create a database, it gives the message end-of-communication channel. Just bear in mind that there is space in the location for the database. Some details are as follow:
    There is a HP server.
    The database is created in the nfs which is not the local directory.
    Please advice ...
    Regards,
    - Tassy -

    Hi,
    I got a problem quite like urs on HP too.
    It was cause of the max OS process was reached. U have to modify a kernel variable. Dont remember exactly the name but it's something like nb_proc.
    Hope it helps,
    Fred

  • ORA-03113 END OF COMMUNICATION CHANNEL

    Iam trying to install 0racle 8.1.7 on an NT server machine with SP6a.During the installation while the database is created I get the following error:
    ORA0-03113 end of communication channel.
    I have performed the installation (after unistalling, cleaning the registry ) 3 times and even have taken the machine off the network, but the same error occurs.
    I have installed 8.1.7 on another machine and never had this problem.
    Any ideas what is happenning?
    Thanks in advance

    ORA-03113: end-of-file on communication channel
    I saw this when running the "Database Configuration Assistant" and "sqlplus". When the "Database Configuration Assistant" gave me this error during Oracle 9i (9.2.0) installation on Red Hat 2.1 AS, I simply removed the shared memory segments owned
    by the Oracle user and I restarted the "Database Configuration Assistant". I'm not sure if this is the right way but it always worked for me. Here is what I did to get the "Database Configuration Assistant" running again:
    I executed the ipcs command to get the address of the shared memory segments that have been allocated by Oracle:
    # ipcs
    ------ Shared Memory Segments --------
    key shmid owner perms bytes nattch status
    0x00000000 0 root 600 196608 2
    0x00000001 32769 root 600 655360 2
    0x00000000 458755 oracle 660 4194304 0
    0x00000000 491524 oracle 660 33554432 0
    0x00000000 524293 oracle 660 33554432 0
    0x00000000 557062 oracle 660 33554432 0
    0x00000000 589831 oracle 660 33554432 0
    0x00000000 622600 oracle 660 33554432 0
    0x00000000 655369 oracle 660 33554432 0
    0x00000000 688138 oracle 660 33554432 0
    0x3ecee0b0 720907 oracle 660 4194304 0
    ------ Semaphore Arrays --------
    key semid owner perms nsems status
    ------ Message Queues --------
    key msqid owner perms used-bytes messages
    Then I removed all shared memory segments that were owned by the Oracle user during the installation with the following command:
    # ipcrm shm 458755 491524 524293 557062 589831 622600 655369 688138 720907
    After that I restarted the "Database Configuration Assistant". Once the installation was done I immediately restarted the DB as well.
    Caveat: I'm not sure if this procedure can cause any other problems if it's done during the installation.
    But if you get this problem in connection with sqlplus, then simply make sure that the database is down and exit sqlplus. After that, follow the procedure above by removing all shared memory segments that belong to the Oracle user. To my knowledge,
    this should not cause any problems.

  • LTR - Error occurred when selecting from database

    Hi,
    We created couple of configurations using LTRC in our SLT systems. When i try to check these in transaction LTR, they are not displayed, just getting the error - Error occurred when selecting from database (Attached screenshot). All the required SICF for SLT has already been activated. Any suggestions how to fix this issue?
    Thanks,
    Saravanan

    Hi Experts,
    Did anybody get the solution of this error ,if yes please reply?
    I am getting below error when I am refreshing the current config or creating a new one in LTR
    " Error occurred when selecting from database"
    Thanks for your help,
    Balwant

  • Music doesn't start when selected from playlist have to push pause then start. Always playing one track behind what is on screen

    Music doesn't start when selected from playlist have to push pause then start. Always playing one track behind what is on screen as my I-pad worksorks fine

    Same problem here, since upgrading to IOS-5.  Whenever I try to shuffle or play a genius mix (or even simply play an album) the iPod will skip the first one or two songs, play one song and then 'crash'.  I say 'crash' because it selects the next song and then nothing happens - the player isn't paused, and it appears to think it's playing, but the time bar doesn't change and no sounds come out.  Occasionally I've noticed the album artwork is wrong too.
    Rebooting does NOT work - I've tried it a number of times.
    Is this just an iPod problem??  If so, I would be surprised if Apple do anything quickly about it - they're more worried about iPhone problems I expect, and we (iPod users) are just the poor relations...  C'mon Apple - SORT IT OUT!!!!

  • Change column names when selecting from a collection

    Anyone know how to change C001,C002...etc to readable column names when selecting from a collection? Aliases don't work!
    Paul Platt

    Paul,
    Edit the report attributes and change the column headings by selecting the "Custom" radio button first.
    Sergio

Maybe you are looking for