DM_SESSION_E_SETUP_ROLES_FOR_RPC in D2

EktaVegad
edited July 5, 2017 in Documentum #1

Hi D2 developers,

We are facing an issue when we try to edit the properties of document.

[DM_SESSION_E_SETUP_ROLES_FOR_RPC]error: "Error initializing dynamic roles for RPC SysObjRevert (0900000e8003d0dc)."

"document_name" version has been updated by userXYZ.
Changes can not be saved at this time.
Please exit the property edits and try again later.


This issue was not coming before few days, recently after a deployment its seen when we edit property.


Regards,

Ekta

Tagged:

Best Answer

  • EktaVegad
    edited July 5, 2017 #2 Answer ✓

    We faced similar issues like

    1. DfException:: THREAD: http--0.0.0.0-9090-9; MSG: [DM_OBJ_MGR_E_FETCH_FAIL]error:  "attempt to fetch object with handle 15581ca3#Ag#gA01 failed"; ERRORCODE: 100; NEXT: DfException:: THREAD: http--0.0.0.0-9090-9; MSG: [DM_DCNFG_E_RIGHTS_NOT_EXIST]error: "Could not find entry for client 'dfc_TuDWYRXNIW9SqMltRfycrM5megsa' in the rights database."; ERRORCODE: 100; NEXT: null

    2. DfException:: THREAD: http--0.0.0.0-9090-9; MSG: [DM_DCNFG_E_RIGHTS_NOT_AUTHORIZED]error:  "Client 'dfc_TuDWYRXNIW9SqMltRfycrM5megsa' is not authorized to use role 'dcs_privileged_users'."; ERRORCODE: 100; NEXT: DfException:: THREAD: http--0.0.0.0-9090-9; MSG: [DM_OBJ_MGR_E_FETCH_FAIL]error:  "attempt to fetch object with handle 15581ca3#Ag#gA01 failed"; ERRORCODE: 100; NEXT: DfException:: THREAD: http--0.0.0.0-9090-9; MSG: [DM_DCNFG_E_RIGHTS_NOT_EXIST]error:  "Could not find entry for client 'dfc_TuDWYRXNIW9SqMltRfycrM5megsa' in the rights database."; ERRORCODE: 100; NEXT: null

    3. 15:07:29,765 INFO [stdout] (http-0.0.0.0-0.0.0.0-9080-1) DfException:: THREAD: http-0.0.0.0-0.0.0.0-9080-1; MSG: [DM_SESSION_E_SETUP_ROLES_FOR_RPC]error:  "Error initializing dynamic roles for RPC SysObjRevert (0900000a800649e5)."; ERRORCODE: 100; NEXT: DfException:: THREAD: http-0.0.0.0-0.0.0.0-9080-1; MSG: [DM_GROUP_E_NOT_DYNAMIC_MEMBER]error: "User is not a potential dynamic member of group dcs_privileged_users."; ERRORCODE: 100; NEXT: null

    4. DfException:: THREAD: http--0.0.0.0-9090-3; MSG: [DM_DCNFG_E_RIGHTS_NOT_AUTHORIZED]error:  "Client 'dfc_TuDWYRXNIW9SqMltRfycrM5megsa' is not authorized to use role 'dcs_privileged_users'."; ERRORCODE: 100; NEXT: null

    & found a solution as we need to add client as privilege client in DA

    • Connect to Documentum Administrator and open the admin component "Privileged clients"
    • There, click the "Manage Clients" button in the upper right corner.
    • Find your DFC in the left list. It will be named "<DFC_name>_<client_host_name>_<some_id>". Add it to the right and click OK
    • open up a DQL tool of your choice and find your DFC instance: SELECT * FROM dm_client_rights
    • Find your DFC in the result. It'll be named just like before. Note the r_object_id
    • Now set the attribute allow_all_roles to TRUE or add the name of the requested role (e.g. dm_superusers_dynamic) to the attribute allowed_roles:
      UPDATE dm_client_rights objects SET allow_all_roles = true WHERE r_object_id = '<noted_id>';

    Refered a solution from

    Thanks,

    Ekta

Answers

  • EktaVegad
    edited July 5, 2017 #3 Answer ✓

    We faced similar issues like

    1. DfException:: THREAD: http--0.0.0.0-9090-9; MSG: [DM_OBJ_MGR_E_FETCH_FAIL]error:  "attempt to fetch object with handle 15581ca3#Ag#gA01 failed"; ERRORCODE: 100; NEXT: DfException:: THREAD: http--0.0.0.0-9090-9; MSG: [DM_DCNFG_E_RIGHTS_NOT_EXIST]error: "Could not find entry for client 'dfc_TuDWYRXNIW9SqMltRfycrM5megsa' in the rights database."; ERRORCODE: 100; NEXT: null

    2. DfException:: THREAD: http--0.0.0.0-9090-9; MSG: [DM_DCNFG_E_RIGHTS_NOT_AUTHORIZED]error:  "Client 'dfc_TuDWYRXNIW9SqMltRfycrM5megsa' is not authorized to use role 'dcs_privileged_users'."; ERRORCODE: 100; NEXT: DfException:: THREAD: http--0.0.0.0-9090-9; MSG: [DM_OBJ_MGR_E_FETCH_FAIL]error:  "attempt to fetch object with handle 15581ca3#Ag#gA01 failed"; ERRORCODE: 100; NEXT: DfException:: THREAD: http--0.0.0.0-9090-9; MSG: [DM_DCNFG_E_RIGHTS_NOT_EXIST]error:  "Could not find entry for client 'dfc_TuDWYRXNIW9SqMltRfycrM5megsa' in the rights database."; ERRORCODE: 100; NEXT: null

    3. 15:07:29,765 INFO [stdout] (http-0.0.0.0-0.0.0.0-9080-1) DfException:: THREAD: http-0.0.0.0-0.0.0.0-9080-1; MSG: [DM_SESSION_E_SETUP_ROLES_FOR_RPC]error:  "Error initializing dynamic roles for RPC SysObjRevert (0900000a800649e5)."; ERRORCODE: 100; NEXT: DfException:: THREAD: http-0.0.0.0-0.0.0.0-9080-1; MSG: [DM_GROUP_E_NOT_DYNAMIC_MEMBER]error: "User is not a potential dynamic member of group dcs_privileged_users."; ERRORCODE: 100; NEXT: null

    4. DfException:: THREAD: http--0.0.0.0-9090-3; MSG: [DM_DCNFG_E_RIGHTS_NOT_AUTHORIZED]error:  "Client 'dfc_TuDWYRXNIW9SqMltRfycrM5megsa' is not authorized to use role 'dcs_privileged_users'."; ERRORCODE: 100; NEXT: null

    & found a solution as we need to add client as privilege client in DA

    • Connect to Documentum Administrator and open the admin component "Privileged clients"
    • There, click the "Manage Clients" button in the upper right corner.
    • Find your DFC in the left list. It will be named "<DFC_name>_<client_host_name>_<some_id>". Add it to the right and click OK
    • open up a DQL tool of your choice and find your DFC instance: SELECT * FROM dm_client_rights
    • Find your DFC in the result. It'll be named just like before. Note the r_object_id
    • Now set the attribute allow_all_roles to TRUE or add the name of the requested role (e.g. dm_superusers_dynamic) to the attribute allowed_roles:
      UPDATE dm_client_rights objects SET allow_all_roles = true WHERE r_object_id = '<noted_id>';

    Refered a solution from

    Thanks,

    Ekta

  • mahmoud.elkeshky
    edited June 22, 2017 #4

    It worked for me, Thank you you saved me

    There is a missing letter "s" in right it should be rights


    Wrong one:
    UPDATE dm_client_right objects SET allow_all_roles = true WHERE r_object_id = '<noted_id>';

    Right one
    UPDATE dm_client_rights objects SET allow_all_roles = true WHERE r_object_id = '<noted_id>';

  • EktaVegad
    edited July 5, 2017 #5

    Thanks, updated the same