on 06-22-2016 9:06 PM
Hello,
We are running HANA SP11.02.
We could not access the HANA Admin Cockpit, after analysis, it turns out that not only the required roles sap.hana.admin.roles::Administrator role,but also all the sap.hana* roles are all missing.
I executed the SAP minichecks scripts related to security and SAP HANA Role Overview :
As you could see the _SYS_REPO roles are not displayed
I checked the roles assigned to the user _SYS_REPO :
No 'sap.hana*', could be found here
So obviously the two follwoing commands would return the same error :
call GRANT_ACTIVATED_ROLE('sap.hana.admin.roles::Administrator','SYSTEM')
CALL _SYS_REPO.GRANT_ACTIVATED_ROLE('sap.hana.admin.roles::Administrator','SYSTEM')
Could not execute 'call GRANT_ACTIVATED_ROLE('sap.hana.admin.roles::Administrator','SYSTEM')' in 16 ms 27 µs .
SAP DBTech JDBC: [258]: insufficient privilege: Can only grant activated roles, not sap.hana.admin.roles::Administrator
By "activated", I guess it means "existing" role, anyone has any idea of what is going one and how do i get back the missing roles ?
And yes, the system is running fine and all services are actives :
Thanks and Regards
do you have sap package in your CONTENT folder. if that is not present the Roles artifact will not activate and show.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello ,
We are running a single database (no multitenant) and we did not upgrade from 92, but from 11 to 11.2 some time ago, and there wasn't any error in the upgrade.
I just checked the content folder and I noticed something strange indeed :
The node PUBLIC is missing
I compared with another HANA database from another landscape which does not have the issue :
The role PUBLIC is actually assigned to SYSTEM user, but it seems that the rols is empty.
I have no idea of what is going on.
Any idea ?
Thanks
Hello Raoul
SAP:-
It looks certain
Delivery units are not imported which contain these roles. Can you
please try importing ZHANA_ADMIN delivery unit from autocontent
location. For information about importing package refer to the
followng link
http://help.sap.com/saphelp_hanaplatform/helpdata/en/bb/d63330bb571014b139cfda5fe8bbf5/content.htm
PATH:-
/usr/sap/<SID>/SYS/global/hdb/auto_content
Thanks
Saurabh
Hi Raoul,
Did you perform HANA version update before? Was there any error regarding to delivery units. If you had, regarding to this thread: and note 1997289 - After an upgrade, the role sap.hana.xs.admin.roles::<rolename> is missing.
Is it multitenant database container environment? Compared with others to check if there is missing delivery units as per note 2182103 - Troubleshooting HTTP Access in Multitenant Database Containers -> 2. Verify that the required DUs are deployed on the database
If you recently performed update of MDC, did you restart tenant DB to trigger update of SAP HANA content?
Regards,
Ning
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.