otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire

Go Back   Oracle OTM / G-Log GC3 Community Support > OTM SIG Topics > Email List Archive
Reload this Page

[SOLVED] Re: @recompile_invalid_objects.sql _ as GLOGOWNER 2nd run still shows 3 inva


Email List Archive Archive of the OTM SIG email list.

Tags: , ,

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old December 15th, 2006, 01:45
idq pbi
 
Posts: n/a
[SOLVED] Re: @recompile_invalid_objects.sql _ as GLOGOWNER 2nd run still shows 3 inva

Alan,

Sorry for the late reply. I was occupied with some other stuff the
whole day and only able to try this again just now.
I did remember I was using *SYS* to run the "create_glog_roles.sql"
because no where in the doc. seems to mention I need to use the SYSTEM
user. It worked fine and I just confirmed by running your "select
privilege from dba_sys_privs where grantee='APP_OWNER';", it did
return *15 rows incl. 'Select any table'*.

However I decided to re-run the 'create_glog_roles.sql' again, this
time using the *SYSTEM *user. And guess what, it failed with 4
"ORA-01031: insufficient privileges" errors:

grant SELECT ON DBA_SYNONYMS to app_owner
grant execute on dbms_rls to app_owner
grant select on sys.v_$context to app_owner
grant execut on dbms_rls to rep_owner

I don't know why I could not use SYSTEM user to run the script. Was
this caused by my previous run of the script as SYS user? The script
should take care of dropping those old ones first I assume.

Now I also remembered that previously when I tried to run
*"create_glog_users.sql"*, I was forced to use "SYSTEM" user because
the script itself prompted for its password. At that time, I also
encountered 4 "ORA-01031: insufficient privileges" errors:

" grant execute on dbms_aqin to glogdba"
"grant execute on dbms_rls to glogowner"
"grant execute on dbms_aqin to glogowner"
"grant execute on dbms_pipe to glogowner"

Eventually I had to use SYS user to run the above manually one by one.
I guessed I have the following problems:

1) I mixed up the SYS user and SYSTEM user. I don't know which user
OTM requires, I guess most of the time SYSTEM.
2) I am not sure how I can clear up the mess I created so far. Eg. why
using SYSTEM user, I got all those "insufficient privileges" and had
to use SYS, which is abnoraml, i guess for other OTM users?

Again thanks everyone who responded to my questions so far!! Without
you guys, I really want to call it quits.

Zara

You are receiving this mail as a subscriber of the Oracle Transportation
Management SIG List Server. This list is provided by Solution Beacon,
LLC for the Oracle Transportation Management SIG to facilitate distribution
of issues and topics related to Oracle Transportation Management. If you
do not want to receive future mail from the list, send email to
majordomo (AT) solutionbeacon (DOT) net with the words "unsubscribe otmsig" (without
quotes) in the body of the email.
If you need help, please contact mweiss (AT) solutionbeacon (DOT) com.
Thank you!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
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
Impact of changing the glogowner password bluesdude SysAdmin and Management 3 December 11th, 2007 02:29
[SOLVED] Re: @recompile_invalid_objects.sql _ as GLOGOWNER 2nd runstill shows 3 i Alan Cuartero Email List Archive 1 June 14th, 2007 16:03
[SOLVED] Re: @recompile_invalid_objects.sql _ as GLOGOWNER 2nd run stillshows 3 inval Alan Cuartero Email List Archive 2 December 15th, 2006 12:18
[SOLVED] Re: @recompile_invalid_objects.sql _ as GLOGOWNER 2nd runstill shows 3 i Alan Cuartero Email List Archive 1 December 14th, 2006 22:59
[SOLVED] @recompile_invalid_objects.sql _ as GLOGOWNER 2nd run still shows3 inval idqpbi Email List Archive 2 December 14th, 2006 12:53



All times are GMT. The time now is 23:40.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


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