Tuesday, October 15, 2013

refreshIPMSecurity Errors:Administration Tab are missing

Problem: When we login in IPM with admin user, there are no admin tools available in the left pane of the page.

Reason: The rights allocation has not happened properly. Ideally the first user logs in the IPM after installation will be allotted admin rights.

Solution:We have to user WLST command to reset the security. This can used to give admin rights to any valid IPM user.
Go to ORACLE_HOME_for_ECM\common\bin\wlst.cmd e.g. \Oracle\Middleware\Oracle_ECM1\common\bin
Run wlst.cmd
It will execute some scripts and open the WLST command prompt
Now connect to IPM server using command, on command prompt type, connect('AdminUser', 'AdminUser_Password', 't3://host:16000')
It should show message mentioning connection successfully.
Now refresh the security, on command prompt type, refreshIPMSecurity()
In case of error like
Traceback (innermost last):
File "<console>", line 1, in ?
NameError: refreshIPMSecurity
Check the Oracle home that you are using for execution of this script. It should be ECM and not any other. The error NameError indicates there is no such command present in WLST.

8. In case success, it will just show command prompt.

Now login to IPM using the above mentioned user. You will see the admin tools available in the home page.

Even If issue is not resolved:


1. Clear the Imaging System_Security table with either a truncate table or delete * from System_Security command.
2. Restart Imaging.
3. Login to Imaging with the new Imaging Admin user and verify the administrative menus are available.



No comments:

Post a Comment