Error In Adadmin Re-Create Grants And Synonyms For Apps Schema

HI,
I upgraded the my DB from 9.2.6 to 10.2.4.It was sucessfull.
While doing Postupgradayion steps -
Recreate grants and synonym for apps
a. Log in to server with applmgr user
b. Execute adadmin
c. Choose -> Maintain Applications Database Entities menu
d. Choose -> Re-create grants and synonyms for APPS schema
2 workers got failed ...
i chked the worker log file i found
sqlplus -s APPS/***** @/stageAPP/stageappl/ad/11.5.0/admin/sql/adappsgs.pls &systempwd 1 PO APPLSYS APPS TRUE FALSE TRUE
Connected.
old 2: ad_apps_private.create_grants_and_synonyms(&2,'&3','&4','&5','FALSE');
new 2: ad_apps_private.create_grants_and_synonyms(1,'PO','APPLSYS','APPS','FALSE');
begin
ERROR at line 1:
ORA-20000: ORA-00955: name is already used by an existing
object:create_grants_and_synonyms(1,PO,APPLSYS,APPS): create_base_gs(PO,APPS):
In Synonyms
Loop:create_synonym(PO,XXGOD_SEQ_DECORTIMESHEET_HDR,APPS,XXGOD_SEQ_DECORTIMESHEE
T_HDR): do_apps_ddl(APPS,CREATE SYNONYM "XXGOD_SEQ_DECORTIMESHEET_HDR" FOR
PO."XXGOD_SEQ_DECORTIMESHEET_HDR"):
ORA-06512: at line 5
Workaround $adctrl
Control
Worker Code Context Filename Status
1 Run Grants/Synonyms R115 adappsgs.pls FAILED
2 Run Grants/Synonyms R115 Wait
3 Run Grants/Synonyms R115 Wait
4 Run Grants/Synonyms R115 Wait
5 Run Grants/Synonyms R115 Wait
6 Run Grants/Synonyms R115 Wait
7 Run Grants/Synonyms R115 Wait
8 Run Grants/Synonyms R115 Wait
9 Run Grants/Synonyms R115 Wait
10 Run Grants/Synonyms R115 Wait
11 Run Grants/Synonyms R115 Wait
12 Run Grants/Synonyms R115 Wait
13 Run Grants/Synonyms R115 Wait
14 Run Grants/Synonyms R115 Wait
15 Run Grants/Synonyms R115 Wait
16 Run Grants/Synonyms R115 Wait
SQL> select owner, object_type from dba_objects where object_name = 'XXGOD_SEQ_DECORTIMESHEET_HDR';
OWNER OBJECT_TYPE
PO SEQUENCE
APPS SEQUENCE
Its Cutom Object .. I think i need to drop/rename anyone .. which one i should drop / rename .
Or
Is it possible to skip the failed workers .. if do .. please give me the steps ...
Thanks

Hi;
There is 8 option(hidden) avaliable but i suggest dont use this option.(As you mention its a custom,if you belive it wont problem you can use this hidden option or drop 'XXGOD_SEQ_DECORTIMESHEET_HDR' and recreate it later,its own your risk) By the way please check below notes which is similar error like yours
Run Adadmin To Recreate Grants And Synonyms ORA-20000 ORA-00955 In Synonyms Loop:create_synonym(GL,PLAN_TABLE,APPS,PLAN_TABLE) [ID 437714.1]
ADADMIN MAINTAINING APPLICATIONS GRANTS AND SYNONYMS APP-931 ORA-955 ORA-20000 [ID 1014455.102]
Regard
Helios

Similar Messages

  • Error while running Re-create grants and synonyms for APPS schema

    Hi,
    I have upgraded customer's Oracle Apps 11i (11.5.10) database to Oracle 10g R2. While executing '+Re-create grants and synonyms+ ' as given in Note: 362203.1, I am gettng error:
    plus80 -s APPS/***** @E:\EBSTEST\ebstestappl\ad\11.5.0\admin\sql\adappsgs.pls &systempwd 1 INV APPLSYS APPS TRUE FALSE TRUE
    Error:
    Program exited with status 3
    Cause: The program terminated, returning status code 3.
    Action: Check your installation manual for the meaning of this code on this operating system.Connected.
    old 2: ad_apps_private.create_grants_and_synonyms(&2,'&3','&4','&5','FALSE');
    new 2: ad_apps_private.create_grants_and_synonyms(1,'INV','APPLSYS','APPS','FALSE');
    begin
    *+
    ERROR at line 1:
    ORA-20000: ORA-00955: name is already used by an existing
    object:create_grants_and_synonyms(1,INV,APPLSYS,APPS): create_base_gs(INV,APPS): In Synonyms
    Loop:create_synonym(INV,MTL_ONHAND_DISCREPANCY,APPS,MTL_ONHAND_DISCREPANCY):
    do_apps_ddl(APPS,CREATE SYNONYM "MTL_ONHAND_DISCREPANCY" FOR INV."MTL_ONHAND_DISCREPANCY"):
    ORA-06512: at line 5
    MTL_ONHAND_DISCREPANCIES
    I checked the database and there isn't MTL_ONHAND_DISCREPANCY synonym. But there is MTL_ONHAND_DISCREPANCIES synonym.
    This is an upgraded instance from 11.0.3 and first time I am running Re-create grants and synonyms for APPS schema.
    Plz let me know if anyone of you faced this issue.
    Rgds,
    Thiru

    Hi,
    there is no such table MTL_ONHAND_DISCREPANCY or synonym in Applications 11.5.10.2. Is that custom table created in your db?
    After dropping this table from APPS schema 'Re-create grants and synonyms for APPS schema' went thru fine.Its correct
    This table does not exist in INV schema in 11.5.10.2.
    Could be possible that the consultant could have created this table in INV and APPS schema by mistake or whatever.Yes, with the same name, there might be table in APPS SCHEMA. When you run recreate grants and synonyms, adadmin tries to create synonym for that table in APPS schema. since there is object available with the same name in apps chema, you got that error.

  • Recreate Grants and Synonyms for APPS schema

    Hi,
    how can I Recreate Grants and Synonyms for APPS schema ?
    Many thanks.

    Hi,
    You can recreate grants and sysnonyms through adadmin utility.
    Navigation : adadmin - > Maintain Applications Database Entities menu - > Re-create grants and synonyms for APPS schema.
    Rgds,
    S.Jai
    Shanthi Gears (LTD)

  • Script to create grants and synonyms for objects in database

    Hello,
    We are building a patch to be applied to the production environment. I want to create a script/sql query that builds a list of grants and synonyms for all the objects created after august 09.
    for ex:
    create or replace synonym abc for schema_name.abc;
    Grant execute on abc to user_xyz;
    How can I use Oracle's data dictionary to do this?
    thankz

    Hi,
    You'll probably want to use these views:
    user_objects - includes created (DATE) column.
    user_synonyms
    user_tab_privs - not just tables (e.g., includes EXECUTE privileges on functions).
    Data dictionary views beginning with 'user_' cover objects owned by the current user only.
    Almost all of the data dictionary views (and all of the three mentioned above) also have 'all_' and 'dba_' versions.
    For example:
    all_objects inculdes everything in user_objects, plus objects in other schemas on which the current user has privileges.
    dba_objects include every object in the database. (Not everyone is allowed to see the dba_ views.)
    Here's one of many possible ways to use these views:
    SELECT     'GRANT '
    ||     privilege
    ||     ' ON "'
    ||     table_name
    ||     '" TO '
    ||     grantee
    ||     CASE
              WHEN  grantable = 'YES'
              THEN  ' WITH GRANT OPTION;'
              ELSE  ';'
         END
    FROM     user_tab_privs
    WHERE     table_name  IN (          -- Only interested in objects created after August 9
                     SELECT  object_name
                     FROM    all_objects
                     WHERE   created >= TO_DATE ( '10-Aug-2009'
                                                           , 'DD-Mon-YYYY'
    ;

  • Custom Transformations Scripts: Creating sequences and synonyms

    Is there a way in Data Modeler to script the creating process of sequences and synonyms. I've already found how to create columns in a table, but is it also possible to create sequences and synonyms for tables? I've looked it up in the XML Metadata, but I didn't found where I was looking for? Can anybody help me?

    no documentation, it should be possible:
    seq = model.getStorageDesign().getSequenceSet().createSequence();
    syn =  model.getStorageDesign().getSynonymSet().createSynonym();make sure physical model is open and that model is set as physical model to your relational model. That's for Oracle
    Philip

  • Do I need to reapply grants and synonyms. Altering Rename for other schema

    Hi,
    We are following the process to replace some tables in UAT/PROD with new structure of tables.
    So for example for Table A in Schema A:
    Step1- Create TableA_NEW with the required structure and partitions.
    Step2- Insert into TableA_NEW Select * from TableA.
    Step3- Alter Table TableA Rename to TableA_OLD --Take Backup of TableA
    Step4- Alter Table TableA_NEW Rename to TableA --Change the New table ti Original Table
    Now do I need to reapply all the grants and synonyms originally applied to TableA.
    When I test in Dev, all the grants and synonyms still hold. But I can't take any chances for UAT/PROD.
    Also when I rollback these changes and Rename the tables back to Original table.
    Then do I need to Reapply all the grants and synonyms originally applied to TableA.
    Please suggest..

    user8941550 wrote:
    Hi,
    We are following the process to replace some tables in UAT/PROD with new structure of tables.
    So for example for Table A in Schema A:
    Step1- Create TableA_NEW with the required structure and partitions.
    Step2- Insert into TableA_NEW Select * from TableA.
    Step3- Alter Table TableA Rename to TableA_OLD --Take Backup of TableA
    Step4- Alter Table TableA_NEW Rename to TableA --Change the New table ti Original Table
    Now do I need to reapply all the grants and synonyms originally applied to TableA.
    When I test in Dev, all the grants and synonyms still hold. But I can't take any chances for UAT/PROD.
    Also when I rollback these changes and Rename the tables back to Original table.
    Then do I need to Reapply all the grants and synonyms originally applied to TableA.
    Please suggest..
    Step1- Create TableA_NEW with the required structure and partitions. New table - does not have grants
    Step2- Insert into TableA_NEW Select * from TableA.
    Step3- Alter Table TableA Rename to TableA_OLD --Take Backup of TableA Renamed table keeps grants. Synonym not valid at this point
    Step4- Alter Table TableA_NEW Rename to TableA --Change the New table ti Original Table New table still does not have grants, synonym now valid
    So, grants disappear but synonym will be valid at end of process.

  • Create a public synonym for a db link - "Connection desccriptor not found".

    I want to create a public synonym for a db link.
    The existing db link name is tst.world ( which is in db links table and is working fine).
    I created the following db link using the following command:
    create public synonym "syn.world" for "tst.world";
    It created the synonym successfully.
    If I try the following, it throws error "Connection desccriptor not found".
    select * from [email protected];
    It says "Connection desccriptor not found".
    Any suggestions.
    Thanks in Advance.

    Well then, lookup the Documentation on the CREATE SYNONYM statement in the SQL Language Reference manual.
    The documentation lists the types of objects which you can create synonyms for.
    You can create synonyms for objects referenced across DBLinks.
    You cannot create synonyms for DBLinks.
    Hemant K Chitale

  • Creating Properties and Methods for an exe built in LabVIEW

    Hi all,
    How do we create properties and methods for an executable built in LabVIEW.
    I know when building an exe, the "Enable ActiveX server" option in advanced has to be enabled.
    But after that how do we create Properties and methods for the activeX component.
    Your help is greatly appreciated.
    Regards,
    Muthuraman S
    Regards,
    Muthuraman

    You cannot build your own COM specific properties and methods for the ActiveX interface in LabVIEW, the only thing exposed are the normal VI server properties and methods.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    Did you reinstall CS3 after CC?
    For that matter, doing an in-place upgrade on the OS is always a gamble with Adobe programs. Reinstalling all the versions you need, in order, would probably solve your problem.
    And you shouldn't need to save as IDML after opening the .inx in CC.

  • How to create credit and debit for an account

    Please tell how to create credit and debit for an account in currencies like EURO,GBP other than functional currency(USD).

    hi,
    You will find Dr and Cr entry for Both currencies which are functional & Transaction currency.
    Regards,
    Srikanth.Kura

  • Error in RCU to create DEV_BIPLATFORM and DEV_MDS

    Hello expert
    am kind of new with OBIEE and RCU , and i make many problem on it ..
    FIRST OF ALL
    1- i install OBIEE Simple and Enterprise install
    2- it start to work very good but i restart my laptop and then some corruption with the 2 install happen and nothing couldn't open (( middleware console - OBIEE analytics and dashboards ))
    3- what i did to solve this issue , remove the simple install and i remove the weblogic but it didn't work
    4- then i decide to remove the enterprise install and the the anther weblogic .. but still it didn't work .. (( now in my laptop there only BI administration tool and the oracle JRokict ))
    NOW
    1- when i try to create DEV_PLATFORM and DEV_MDS by RCU , i get error *(( RCU 6083 failed check prerequisites requirement for selected component BIPLATFORM ))*.. i guess there no BIPLATFORM repository .
    how i can solve it .. Please Please Please am trainee in some company and this is my chance to proved my worth and get the job ..
    am waiting :(
    Edited by: 910067 on Feb 6, 2012 11:41 PM

    Hi,
    I guess you are using the same database as previous one (which means the RCU prerequisites might not be an issue here). So. I suggest you try the following steps.
    1. Drop the previously created repository using RCU.
    Make sure you point to the right DB, use the right credentials (sysdba) here.
    2. Recreate the repository (probably with a different prefix for schema)
    3. Install BI in simple mode.
    Thank you,
    Dhar

  • Error when adding columns to table and update sync group schema

    Hi,
    I have an Azure SQL Database that is synced to five lokal SQL Server Express 2012 clients. Today I had to add some columns to the tables, I did this using SMMS and ALTER TABLE on the hub-database.
    Then I disabled auto-sync in the Azure Portal and updated the sync schema.
    The first error I got when clicking on Save-Button was that my goup is not ready for syncing. I assumed that was caused by two sync agents who were offline. So I deleted them from the group and the error was gone. (is this an generall issue that all agents
    must be online to update the schema?)
    But then I got the next error when clicking on Save-Button who tells me SQL Error 207, invalid column name on the new columns I've added. 
    Here's the error in the eventlog:
    id:DbProvider_SqlSyncScopeProvisioning_Error, rId:, sId:cc009538-29a6-4980-8db6-98fe520626b6, agentId:cb734c59-3484-41ed-8002-dec8cf7e21b4,
    agentInstanceId:1aa5a36e-0dfb-4ff1-841a-c298d2e77fe7, syncGroupId:9d439cdd-de14-4e4d-a799-8a7fa518f533, syncGroupMemberId:dd2d6cdf-fdb3-4ff8-8ab5-8e639c35af47, hubDbId:d5c5615a-6f55-484a-8c76-cf335989fa41, tracingId:b5f0eb23-1ade-437b-af33-a1960ebd1c23, databaseId:a9c5ba71-a7b0-4ffe-ab8d-10b6006fc282,
    sqlAzureActivityId:00000000-0000-0000-0000-000000000000, e:'Type=System.Data.SqlClient.SqlException,Message=Ungültiger Spaltenname 'Kunde_Name'.
    Ungültiger Spaltenname 'Rechnung_gestellt'.
    Ungültiger Spaltenname 'Rechnung_bezahlt'.
    Ungültiger Spaltenname 'Kunde_Name'.
    Ungültiger Spaltenname 'Rechnung_gestellt'.
    Ungültiger Spaltenname 'Rechnung_bezahlt'.,Source=.Net SqlClient Data Provider,StackTrace=
      bei System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       bei System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean
    breakConnection, Action`1 wrapCloseInAction)
       bei System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj,
    Boolean callerHasConnectionLock, Boolean asyncClose)
       bei System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler,
    SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       bei System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean
    async, Int32 timeout, Boolean asyncWrite)
       bei System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion,
    String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       bei System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       bei Microsoft.Synchronization.Data.SqlServer.SqlSyncTrackingTableHelper.UpdateTrackingTableWhereColumnsNotNullInBaseTable(SqlConnection
    connection, SqlTransaction transaction, DbSyncColumnDescription[] addedColumns, DbSyncColumnDescription[] modifiedColumns, Int32 tableObjectId, SqlSyncMarkerTableHelper markerHelper)
       bei Microsoft.Synchronization.Data.SqlServer.SqlSyncTableProvisioning.ReApply(SqlTransaction
    trans, SqlSyncProviderAdapterConfiguration oldConfiguration)
       bei Microsoft.Synchronization.Data.SqlServer.SqlSyncScopeProvisioning.ReApplyScope(SqlConnection
    connection)
       bei Microsoft.Synchronization.Data.SqlServer.SqlSyncScopeProvisioning.ReApplyInternal(SqlConnection
    connection)
       bei Microsoft.Synchronization.Data.SqlServer.SqlSyncScopeProvisioning.ReApply(),', eType:'Type=System.Data.SqlClient.SqlException',
    eMessage:'Message=Ungültiger Spaltenname 'Kunde_Name'.
    Ungültiger Spaltenname 'Rechnung_gestellt'.
    Ungültiger Spaltenname 'Rechnung_bezahlt'.
    Ungültiger Spaltenname 'Kunde_Name'.
    Ungültiger Spaltenname 'Rechnung_gestellt'.
    Ungültiger Spaltenname 'Rechnung_bezahlt'.' Error Code: -2146232060 - SqlError Number:207,
    Message: Ungültiger Spaltenname 'Kunde_Name'.. SqlError Number:207, Message: Ungültiger Spaltenname 'Rechnung_gestellt'.. SqlError Number:207, Message: Ungültiger Spaltenname 'Rechnung_bezahlt'.. SqlError
    Number:207, Message: Ungültiger Spaltenname 'Kunde_Name'.. SqlError Number:207, Message: Ungültiger Spaltenname 'Rechnung_gestellt'.. SqlError Number:207, Message: Ungültiger Spaltenname 'Rechnung_bezahlt'..
    , eTypeInner:, eMessageInner:
    Can anyone help here?
    Kind
    regards,
    selmiac

    Hello,
    When you alter the table on hub database, did you specify the new column allow NULLs or have a DEFAULT? The column must allow NULLs or have a DEFAULT for the user to create it in the other tables on the sync group.
    Reference:Add or remove a column in a sync group
    If the issue persists, you may try to delete the sync group and recreate the group.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Create Object and Subject for Application Log

    Hello Experts,
    Could anyone tell me how to create the Z Object and subobject for the Application Log.
    ie) <b>BALOBJ_D & BALSUBOBJ</b>
    Could you please tell me the Tcode for that.
    Since I have to save the application in the new object so that it can be displayed using this Key.
    Thanks & Regards,
    Vasanth

    Hello Vasanth
    The transaction is SLG0 (Object Maintenance).
    Regards
       Uwe

  • Folio - Create Rendition and Store for View

    Hi,
    Has anybody created a mechanism so that a Rendition of a Folio can be created and stored to allow subsequent viewing?
    The scenario is where a folio may contain 100+ pages of content. If a user creates a PDF rendition, the concept is that it should be created once and then viewed as a download by many users rather than each user creating the rendition and downloading.
    Regards, Dave

    Hi,
    Yes, that security consideration is a good point. For the particular implementation I am looking at, all of the items within one Folio will have the same security settings. So it will not be an issue in this particular case.
    Yes, download and then check back in of the rendered folio is effectively what will happen, but from a user's perspective it will be automated. The key benefit, is being able to quickly get to the rendered item if it exists rather than having to wait for the rendering process to execute.
    Another consideration is that the rendered folio, once checked into the content server needs to be excluded from the full text index, otherwise it will be duplicating the information in the items that make up the folio content.

  • How to create signatures and disclaimers for the company

    Hello,
    I was wondering if you can help me, I need to create unique signatures and disclaimers for our Company. Is this possible using the exchange Admin Centre and the mail flow tool? 
    Each signature will have a legal disclaimer that is all the same, they will have the same icons and logo but some of the texts will be different - obviously the name... Is it possible to get a step by step guide on how to do this. And perhaps put each signature
    into groups so I can apply them to certain groups of people automatically?
    Regards,
    MPeters

    Hi,
    You can create a transport rule to add disclaimer. You mentioned some of the texts might be different which is based on the sender.
    You need to use Active Directory fields, in order to add an attribute you need to use the current syntax: %%AttributeName%%, where attribute name is the attribute that you want to show up in the disclaimer.
    For more information about this, you can refer to the following article. Please see the "Using Active Directory Attributes in Disclaimers and Personalized Signatures" section.
    Understanding Disclaimers
    http://technet.microsoft.com/en-gb/library/bb124352(v=exchg.141).aspx
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

Maybe you are looking for