otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire

Go Back   Oracle OTM / G-Log GC3 Community Support > OTM / G-Log - Technical Topics > Database Administration
Reload this Page

vpd.set_user throws exception of 'Insufficient Privileges'


Database Administration Database installation, creation, administration and related topics.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 1st, 2009, 19:23
Member
 
Join Date: May 2007
Location: India
Posts: 88
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 1
Thanked 3 Times in 3 Posts
Rep Power: 4
sknmail@rediffmail.com is on a distinguished road
Send a message via Yahoo to sknmail@rediffmail.com
vpd.set_user throws exception of 'Insufficient Privileges'

Hi Everybody,

Recently a test database of OTM 5.5 version was export and imported in Oracle 10g. However after import, after executing the after import steps as mention in Administration guide, on execution of vpd.set_user('DBA.ADMIN'); I am getting excecption as below -

ORA-01031: insufficient privileges
ORA-06512: at "GLOGOWNER.VPD", line 205
ORA-06512: at "GLOGOWNER.VPD", line 214
ORA-06512: at line 1

The creation of user and roles were created using the scripts provided by OTM script8 folder.. Even if I exec vpd.set_user('DBA.ADMIN') as user sys also, I am getting the same exception.

Appreciate if you can point out what is being missed out to fix this issue if you have encountered a similar scenario.

Thanks,
Suresh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old July 2nd, 2009, 09:49
Member
 
Join Date: May 2007
Location: India
Posts: 88
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 1
Thanked 3 Times in 3 Posts
Rep Power: 4
sknmail@rediffmail.com is on a distinguished road
Send a message via Yahoo to sknmail@rediffmail.com
Re: vpd.set_user throws exception of 'Insufficient Privileges'

Hi All,

Well in a way I was screwing up the user/role creation process I guess by using an old version of creation scripts. I recreated the database again from scratch and created the users/roles using the correct version and the issue was not reproduce able.

However still I am not sure the fix of this issue though, the grants to roles and users (including sys/system) was compared with the db which had this issue and the original one where its working fine and they were similar though. Previously when I encountered this same issue (i can say exactly two times), the problem was fixed by randomly providing certain grants to public and to glogowners. However since I wanted to know the exact fix, I didn't wanted to take this random approach we took last time, however its a shame that I didn't find a resolution though.
Let me perform a comparison of the user/roles creation scripts I have and check what are the addition grants which resolves the privileges issue reported.

As of now the issue is resolved, however will keep posted to know the exact fix so that I have a one of fix for this issue :-)

Regards,
Suresh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
DOM Exception neoandr Integration and Data Mapping 2 June 20th, 2008 18:59
NO_USER_ACCESS exception in OTM yugandhar.bommareddy Installation and Upgrades 13 April 9th, 2008 22:23
Create OTM 5.5 DB - need SYS privileges chrisplough Installation and Upgrades 2 October 22nd, 2007 07:46
[SOLVED] Installation Error: Security Violation: User:'DBA.ADMIN' has insufficient p chrisplough Installation and Upgrades 4 July 5th, 2007 01:53
[SOLVED] ORA-01031: insufficient priviledges while running @create_glog_users.sql idqpbi Email List Archive 0 December 13th, 2006 19:16



All times are GMT. The time now is 12:04.
Copyright © 2006-2010, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44