Looping chain of synonyms error

I am trying to run the following query but get the error
ERROR at line 4:
ORA-06550: line 4, column 31:
PL/SQL: ORA-01775: looping chain of synonyms
Can anyone help?
declare
cursor c1 is
select w.ward_code, w.ward_name, p.id, p.blpu_keyval
from political.ward w, [email protected] p
where sdo_relate(w.shape, p.shape, 'mask=anyinteract querytype=window') = 'TRUE'
and rownum < 2;
begin
for rec1 in c1 loop
begin
update [email protected]
set war_id = rec1.ward_code
where id = rec1.id;
end;
end loop;
end;
/

note that this loop is recognized by oracle, but a loop over a dblink will just make your query loops for ages... until you kill it
SQL> connect scott/tiger@lsc62
Connected.
SCOTT@lsc62/10.1.0.4
SQL> create database link lsc68 connect to scott identified by tiger using 'LSC68';
Database link created.
SCOTT@lsc62/10.1.0.4
SQL> create synonym looping for looping@lsc68;
Synonym created.
SCOTT@lsc62/10.1.0.4
SQL> connect scott/tiger@lsc68;
Connected.
SCOTT@LSC68/10.1.0.3
SQL> create database link lsc62 connect to scott identified by tiger using 'LSC62';
Database link created.
SCOTT@lsc68/10.1.0.3
SQL> create synonym looping for looping@lsc62;
Synonym created.
SCOTT@lsc68/10.1.0.3
SQL> select * from looping;
^C
Terminated
{LSC68/10.1.0.3}oracle@dbsrv85a /tmp/tl30
$    

Similar Messages

  • ORA-01775: looping chain of synonyms

    Hello,
    I had some issues with the database and then we need to force this database open.
    After opening it we need to take the full export of the database which I took.
    Then I recreate the database and ran ran catalog, catproc and other component's cripts.
    I created additional tablespaces and users.
    Later I imported the database -
    imp full=y file=full_tlsbx01_20100127.dmp log=imp_tlsbx01_20100127.log ignore=Y
    But import gave me lot of errors like ORA errors like -
    ORA-04055, ORA-06550,ORA-00001,ORA-02264,ORA-20000
    and some IMP erros like -
    IMP-00061,IMP-00041,IMP-00003,IMP-00003,IMP-00017,IMP-00019,IMP-00032,IMP-00008.
    While looking at the INVALID objects I can see number of SYSMAN objects are in invalid state -
    SQL> select owner,count(*) from dba_objects where status='INVALID' group by owner;
    OWNER COUNT(*)
    SYSTEM 3
    PUBLIC 4
    SYSMAN 96
    while trying to look at these objects I found that some of the objects are created error -
    ORA-01775: looping chain of synonyms
    Problem is with the SYSMAN (GRID)
    Looking forward to your advice/recommendations.

    Database is working fine. I have a RMAN catalog which is working fine but getting problem while starting the grid, I am getting following error -
    ORA-06508: PL/SQL: could not find program unit being called: "SYSMAN.MGMT_USER"
    ORA-06512: at "SYSMAN.SETEMUSERCONTEXT", line 17
    ORA-06512: at line 1
    When tried to compile this package then it gace an error that package EMP_NOTIFICATION is INVALID and then when tried to ciompile this package it gave an error PLS-00421: Circular Synonym 'PUBLIC.MGMT_MATRICS_RAW'.

  • Looping chain of synonyms

    I am trying to run the following query but get the error
    ERROR at line 4:
    ORA-06550: line 4, column 31:
    PL/SQL: ORA-01775: looping chain of synonyms
    Can anyone help?
    declare
    cursor c1 is
    select w.ward_code, w.ward_name, p.id, p.blpu_keyval
    from political.ward w, [email protected] p
    where sdo_relate(w.shape, p.shape, 'mask=anyinteract querytype=window') = 'TRUE'
    and rownum < 2;
    begin
    for rec1 in c1 loop
    begin
    update [email protected]
    set war_id = rec1.ward_code
    where id = rec1.id;
    end;
    end loop;
    end;
    /

    i don't have any other joins for that table, but if i do
    declare
    cursor c1 is
    select p.id, p.blpu_keyval
    from [email protected]
    where rownum < 2;
    begin
    for rec1 in c1 loop
    begin
    null;
    end;
    end loop;
    end;
    which removes one of the tables i get the same error

  • 775: looping chain of synonyms

    Windows XP with 10g 10.2.0.1.0
    I have 775: looping chain of synonyms, but couldn't find out which synonyms I need to remove.
    Would any one please provide a sql statement that I can check which synonyms I need to drop off.
    Thanks in advance.

    782150 wrote:
    Windows XP with 10g 10.2.0.1.0
    I have 775: looping chain of synonyms, but couldn't find out which synonyms I need to remove.
    Would any one please provide a sql statement that I can check which synonyms I need to drop off.
    Thanks in advance.This error occur because their target object does not exists and you say that you can not find that perhaps this is public synonym(identify this from dba_synonyms) and try drop public synonym synonym_name and create this synonym again.

  • How repeat a process step in a process chain automatically after error?

    Hello guys.
    Have some method to repeat automatically a process in a process chain after a error occur ?
    Now, we need to make a manual procedure for repeat the process... We need make it more "fast", one "auto repeat" when failing.

    Hi Leo,
    Auto repeat of a process chain is always not ad visible as in most of the cases we can see the job got finished in SM37 and even spool got generated but unfortunately it will fail if any of the data package is wrong.In these cases we can skip the process chain and make it continue.
    I have written a blog on the same.please go through it.i feel for those scenarios it is good.
    How to override a process block in the process chain and make it force complete ?
    My personal advice is to go and check the job log before repeating any process as the job may fail for n no of cases.it is a complex challenge of adding all those errors tracked.
    Regards,
    Kannan

  • Process Chain Terminates without errors

    Hi Experts,
    I'm facing a strange situation; my process chain terminates half way though. Loops are not completed till the end. e.g. it runs the Info Package and DTP then stop there, in some loops only the Info Package is run.
    There are no error messages.
    i can go to each process and update the targets manually. All are successful no errors.
    Does anyone have a clue as to why it will stop half way?
    Thanks
    FAzal

    Hi,
    Can you please tell whether this chanin has trabsported.
    In the RSPC in the process chain tab there is a option called reset to active version other wise activate the chain and try to start.
    hope this helps.
    Cheers,
    Vikram

  • Process chain - ODS Activation error

    Hello All,
    I have a process chain which has the following data load sequences:
    Load data to ODS
    Activate ODS
    Load data to ODS2
    Activate data ODS2
    Load data to ODS3
    Activate ODS3.
    Used the Program to RSPC_SYNCHRONOUS_RUN to schedule the process chain in Background.
    When the process chain is executed in background it loads the data to ODS1 and Activation process is not happening. It registers short dump like shown below at the end. But when i execute the same process chain in RSPC, Schedule option with Start variant set to immediate, it is activating the ODS Data and completes the process chain Succesfully.
    Help me to solve this problem.
    ABAP Short dump information:
    Invalid interruption of a database selection.
    t happened?
    Error in ABAP application program.
    The current ABAP program "GP4BRKGANFKJY5K2A3ACVGAPTN4" had to be terminated
      because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    Unable to perform database selection fully.
    record.
    t can you do?
    If the error occurs in debugging mode, you should first run the process
    without debugging activated.
    If the error persists outside debugging, you must check the application
    program more closely.
    No error requiring recovery has occurred.
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
      termination messages, especially those beyond their normal deletiondate.
    is especially useful if you want to keep a particular message
    Error analysis
        An exception occurred. This exception is dealt with in more detail below
        . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
         neither
        caught nor passed along using a RAISING clause, in the procedure "ACTIVATE_ODS"
         "(FORM)"
        Since the caller of the procedure could not have expected this exception
         to occur, the running program was terminated.
        The reason for the exception is:
        One of the database selections included a database commit.
        The selection was then supposed to continue. Before a
        database commit, however, all outstanding database selections must be
        concluded.
        Possible causes in the application program:
        Within a loop (SELECT/LOOP/EXEC SQL), one of the following
        statements is used:
        - MESSAGE (apart from MESSAGE S...)
        - COMMIT WORK
        - ROLLBACK WORK
        - CALL SCREEN
        - CALL DIALOG
        - CALL TRANSACTION
        - SUBMIT
        - BREAK-POINT
        - WAIT
        In debugging mode, a program sometimes triggers
        a "COMMIT WORK" during the database selection. As a result
        this termination may also occur in debugging mode with a correct
        program.
    A "COMMIT WORK" during debugging may be due to the following reasons:
    1. A program or screen was regenerated
        and updated in the database.
    2. Each user needs a private process in debugging mode, but
        the number of available processes is restricted. If this
        limit is exceeded, each debugging step then requires a
        "COMMIT WORK".
    The error occurred in a statement that accesses the table "/BIC/AZXOQMATR40 ".
    Thanks in Advance.
    Points will be assigned.
    Regards
    M.A

    Hi,
    If it is a daily process chain u define it on a periodic basis in the variant and it'll run successfully.
    I guess the DUMP may be due to less processes at the time u run...It is gving the same in the dump also..
    So when u run the chain immediate in the BKGD the ODS will be automatically getting the required processes dailog and bkgd to run according to ur settings and it was successful..
    U try to execute the chain using FM: RSPC_API_CHAIN_START and give the tecnical name of the chain under I_CHAIN filed and conitinue...It'll scedule the chain in the BKGD only and if it is a periodic one the chain will be automatically ready for the next run also...
    rgds,

  • "The certificate is not trusted because no issuer chain was provided" error in all browsers for all websites.

    As it says, Chrome, Firefox, and Internet Explorer all give the certificate error message for any and every website attempted - including the Firefox add-ons page. The specific error is the "no issuer chain was provided".
    1) This problem is not on my computer - it is on my mother's computer in another city. Therefore, I cannot attempt every little possibility without flying over there - I'm looking for things I can tell her to do over the phone. The problem started today. I've already given her the list of anti-malware programs to go install and run from here:
    https://support.mozilla.org/en-US/questions/982393
    Note that, of course, she will have to accept the security certificate override to get to these things - I hope this isn't bad.
    2) The problem started after she tried to use Skype, it hung for a very long time and would never log on. So she tried to reinstall it - and she said she clicked through a number of agreement screens and believes she may have installed malicious 3rd party software. This is ridiculous, is Skype now putting malware on people's computers through these bogus 3rd party add-ons at installation? I suppose it is possible Skype was hanging because of some other problem - but she did manage to reinstall Skype and got it to work (but now her internet certificates won't).
    3) She has BitDefender. I am aware that it says here:
    https://support.mozilla.org/en-US/kb/connection-untrusted-error-message
    that she should turn off SSL scanning. She turned it off, it did not solve the problem. She turned it off and restarted, it did not solve the problem. She has had it on for the past 6 months and it has never caused a problem.
    4) In addition, BitDefender reported today that it stopped a malicious program called MySearchDial.exe from attempting something it shouldn't. We went through this removal guide:
    http://malwaretips.com/blogs/start-mysearchdial-removal/
    however, the software MySearchDial was never actually installed into the windows install list, and we did not find any addons/plugins in any of the browser lists (note that Firefox add-ons cannot be accessed with a certificate error, it gives the error message but DOES NOT give you the option to add an exception so you can't access the add-ons). The only thing we found was (a) MySearchDial was default in the IE search engine list, despite there being no add-on, and (b) MySearchDial.exe was in the temp folder (now deleted). I note that I had BitDefender scan the temp folder *before* I deleted MySearchDial.exe, and it claimed no threats were found. What? It was BitDefender that warned me of it in the first place!
    5) Time and date are correct.
    6) Checked the Win 7 install log, only Skype, Skype Click-to-Call, and (for some reason) Mircosoft Visual Studio 2010 and Visual C++ were installed or altered today. I got paranoid about Click-to-call and asked her to uninstall it, but it didn't solve the problem.
    7) The OS is Win7 64bit Home.
    Anything beyond endless Malware removal programs (via list linked above) that we should try?

    The only way to know what is going on is to retrieve the certificate and check who is the issuer.<br />
    It is always possible that the server doesn't send the full certificate chain (intermediate certificates), so it might help to post a link to this website
    Check the date and time in the clock on your computer: (double) click the clock icon on the Windows Taskbar.
    Check out why the site is untrusted and click "Technical Details to expand this section.<br>If the certificate is not trusted because no issuer chain was provided (sec_error_unknown_issuer) then see if you can install this intermediate certificate from another source.
    You can retrieve the certificate and check details like who issued certificates and expiration dates of certificates.
    *Click the link at the bottom of the error page: "I Understand the Risks"
    Let Firefox retrieve the certificate: "Add Exception" -> "Get Certificate".
    *Click the "View..." button and inspect the certificate and check who is the issuer of the certificate.
    You can see more Details like intermediate certificates that are used in the Details pane.
    If "I Understand the Risks" is missing then this page may be opened in an (i)frame and in that case try the right-click context menu and use "This Frame: Open Frame in New Tab".
    *Note that some firewalls monitor (secure) connections and that programs like Sendori or FiddlerRoot can intercept connections and send their own certificate instead of the website's certificate.
    *Note that it is not recommended to add a permanent exception in cases like this, so only use it to inspect the certificate.

  • Registering an Environment CC&B 2.3.1 (Synonym Error)

    I am registering an environment for Compare Source using the Registration Utility EnvSetup.exe
    My Supporting environment is DEMO(Source) and the Supported environment is the CC&B Blank instance(Target)
    I am getting a Synonym Creation error does anybody know the fix for this issue
    Regards

    What specifically is the error you are getting? It may be permissions on the user within Oracle causing the fault or something else. Without the error message it is pretty hard to figure out the issue.

  • Process chains get an error when run analysis process

    When my PRD system‘s process chains run analysisi process, I  gets below error message:
    Error occurred when starting the parser: Error when opening an RFC connection (FUNCTION: 'R
    Message no. BRAINOLAPAPI011
    Diagnosis
    Failed to start the MDX parser.
    System Response
    Error when opening an RFC connection (FUNCTION: 'R
    Procedure
    Check the Sys Log in Transaction SM21 and test the TCP-IP connection MDX_PARSER in Transaction SM59.
    It's OK when i test the TCP-IP connection MDX_PARSER in Transaction SM59.
    The Sys Log in Transaction SM21(error part):
    M Wed Mar 19 09:22:50 2014
    M  *** ERROR => ThPOpen: ExecPopen("/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18933904 IDX=35, r, ..) returned -14 [thxxexec.c
    M  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=5328109B5F5D12A0E1008000C0A8642F}_5
    A  RFC 1878  CONVID 18933904
    A   * CMRC=0 DATA=0 STATUS=0 SAPRC=0 RfcExecProgramKernel RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    A  RFC> ABAP Programm: SAPLSTPA (Transaction: )
    A  RFC> User: JY-LKZ (Client: 900)
    A  RFC> Destination: CALLTP_AIX (handle: 8, DtConId: 530F4E5C30AF4550E1008000C0A8642E, DtConCnt: 0, ConvId: ,)
    A  RFC SERVER> RFC Server Session (handle: 1, 68443927, {5328109B-5F5D-12A0-E100-8000C0A8642F})
    A  RFC SERVER> Caller host:
    A  RFC SERVER> Caller transaction code: STMS (Caller Program: SAPLTMSC)
    A  RFC SERVER> Called function module: TMS_CI_START_SERVICE
    A  *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1887
    FUNCTION: 'RfcExecProgramKernel'
    RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    PROG ="/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18933904 IDX=35
    [abrfcio.c    9213]
    A  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=5328109B5F5D12A0E1008000C0A8642F}_5
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: end RX_GET_MESSAGE
    M
    M Wed Mar 19 09:23:15 2014
    M  *** ERROR => ThPOpen: ExecPopen("/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18968493 IDX=61, r, ..) returned -14 [thxxexec.c
    M  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=532811958F750F10E1008000C0A8642F}_1
    A  RFC 1878  CONVID 18968493
    A   * CMRC=0 DATA=0 STATUS=0 SAPRC=0 RfcExecProgramKernel RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    A  RFC> ABAP Programm: SAPLSTPA (Transaction: )
    A  RFC> User: TMSADM (Client: 000)
    A  RFC> Destination: CALLTP_AIX (handle: 3, DtConId: 530F4E7830AF4550E1008000C0A8642E, DtConCnt: 0, ConvId: ,)
    A  RFC SERVER> RFC Server Session (handle: 1, 70212851, {53281195-8F75-0F10-E100-8000C0A8642F})
    A  RFC SERVER> Caller host:
    A  RFC SERVER> Caller transaction code: STMS (Caller Program: SAPLTMSC)
    A  RFC SERVER> Called function module: TMS_CI_START_SERVICE
    A  *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1887
    FUNCTION: 'RfcExecProgramKernel'
    RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    PROG ="/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18968493 IDX=61
    [abrfcio.c    9213]
    A  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=532811958F750F10E1008000C0A8642F}_1
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: end RX_GET_MESSAGE.
    ps.
    1、IT's everything ok in the development system.
    2、It’s ok when i repeat this analysis process .
    3、It’s ok when i run this analysis process in analysis process designer.
    4、Attachment is the sys log in sm21.
    Thanks everyone.

    Hi Vignesh.B,
    Yes,it's not user's problem . But i don't  think it APD's problem .Cause all APD has the same problem and .
    Below is one of APD souce and target :
    Hope this information  is useful .
    Regards,
    Lian

  • Process chains in red(errors occurred), monitoring in green

    Hi friends,I have same problems with the monitoring / process chains.
    For exemples in the Monitor for OMAT_SALES in the tab Status I have green for Total and Technical with the message:
       Data successfully updated
       Diagnosis
       The request has been updated successfully.
       InfoSource : 0MAT_SALES
       Data type : Texts
       Source system: PRD-600
    In the tab Details I have:
    -the Overall status in red, error occures or missing messages
    -the requests, extractions,transfers,processing-everything is Ok-green
    -the Process Chains-errors occurred-red
    In the transaction RSPC the infopackage for load data OMAT_SALES is red,the next infopackage in the chain is green.
    What can I do to fix this problem  for Process Chain in RSPC and also in Monitoring (tab Details)?
    I will apreciate any answer,
    Thanks,
    Claudia

    The next connected infopackage must be connected with Always link that's why its processed even after the failure node. Go and cross check what errors you got for the failed process, and reload it manually.

  • Process Chain Ended with Errors - cause unknown

    I have had several instances of process chains stopping for no apparent reason.  The stops occur between 2 master data infopackage loads.  The last step is green and the next is grey.  The PSA table has been updated successfully for the last step.  All IDocs are in green status in both systems.  The monitor for the last successful step does say "Ended with Errors" although no errors are evident.  The process chain starts back up via Repeat at the next (grey) step and continues successfully.  There were no system problems or connection interruptions that occurred during the time the process chains failed.  There were no changes in the remote user profile.
    This exact problem has occurred a half dozen times since our application of ECC Support Packs several months ago and had not occurred before.  The infopackages are different each time. Two different process chains have had this problem.  I have re-activated and re-scheduled the process chains without solving the problem.
    Thanks for any ideas on why this may be occurring or what I can do to prevent it.
    Patty Moffatt

    Hi Des,
    Here's my BW release info:
    SAP_ABA        640       0019 SAPKA64019     Cross-Application
    SAP_BASIS      640       0019 SAPKB64019     SAP Basis          
    PI_BASIS       2005_1_6400009 SAPKIPYJ69     Basis Plug-In
    ST-PI          2005_1_6400008 SAPKITLQH8     SAP Solution Tools Plug-
    SAP_BW         350       0019 SAPKW35019   SAP_BW                      
    ECC SPs 13-21 were applied before the BW problem started:
    SAP_BASIS      640       0021 SAPKB64021    
    SAP_ABA        640       0021 SAPKA64021    
    PI_BASIS       2005_1_6400012 SAPKIPYJ6C   
    ST-PI          2005_1_6400008 SAPKITLQH8    
    SAP_BW         350       0021 SAPKW35021   
    PI             2004_1_5000016 SAPKIPZI6G    
    The process chain step and the monitor load both are green.  The Details tab shows all the processing is green, but the Process Chain itself is red with "Errors Occurred.  There have been no runtime dumps.
    Patty

  • Process chain failing with error 8 in BI 7.0

    Hi ,
    we have upgrade the dev to BI 7.0 and I am trying to execute the process chains but it is failing with a error 8 due to the step of the job BI_PROCESS is in the name of a old user. So i have changed in process chain -Attrbutes--Execution user --- current user.So the chain has started but it has so many chains inside the Meta chain it looks i need to go to each of them and change as cyurrent user.
    But is there some place where I can change globally to a Batch user/current user for these process chain in BI 7.0.If so pl let me know.

    Hi,
    user SM37 to identify all BI_PROCESS jobs and change the User of the step in the jobs (they all should only have one step).
    bye
    Frank

  • Getting "CONNECT BY loop in user data" error

    Hi all,
    I used to run the following query but I got this error "CONNECT BY loop in user data"
    select * from
    bom_details
    where common_bill_sequence_id=bill_sequence_id
    connect by prior assembly_item_id=component_item_id
    Bom_details is one view which contains
    SELECT distinct bi1.assembly_item_id, bic.bill_sequence_id, bi1.organization_id,
    bi1.common_bill_sequence_id, bic.component_item_id,
    bic.component_quantity, bic.item_num
    FROM bom_bill_of_materials bi1, bom_inventory_components bic
    where bi1.bill_sequence_id = bic.bill_sequence_id
    Please advice how to use the query.
    Thanks,
    Kamal

    Hi,
    You could try using the NOCYCLE directive to avoid user data errors e.g.
    select * from
    bom_details
    where common_bill_sequence_id=bill_sequence_id
    connect by NOCYCLE prior assembly_item_id=component_item_id
    Rod West

  • Transporting Process Chains-includes the ERROR DTPs in the Target System

    Hello Gurus,
    Iam facing an issue in version NW2004s while transporting the Process Chains from DEV to QA. The Process Chains in the Target system are including the ERROR Dtps as parallel loads along with the regular DTP.This happens when there exists an ERROR DTP in the Target system at the time of Transport.
    This will cause a problem
    1.these would run parallel to the regular DTPs.
    2.no of back ground processes running at any point will be beyond our limit.
    Let me know if you have faced the same issue and how you resolved it.
    Thanks
    Jagadish

    Hi DPN,
    Check oout this thread. This might solve yuor problem.
    Errors in Transportation
    Thanks and Regards
    Subray Hegde

Maybe you are looking for