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

[SOLVED] Error when trying to use DB scripts provided with OTM


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

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old July 7th, 2009, 17:34
Senior Member
 
Join Date: Feb 2008
Posts: 114
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 13
Thanked 1 Time in 1 Post
Rep Power: 3
cspadola is on a distinguished road
Re: Error when trying to use DB scripts provided with OTM

I ran these sql commands and both tablespaces were created successfully after I dropped the originals of each one.

I am running the scripts as per the admin guide and once again am error-free until I reach the REPORTOWNER create_public_synonyms script. I get the following error again:

SQL> @create_public_synonyms
SELECT owner, table_owner FROM DBA_SYNONYMS WHERE SYNONYM_NAME = p_synonym_name;
*
ERROR at line 8:
ORA-06550: line 8, column 35:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 8, column 4:
PL/SQL: SQL Statement ignored

I am also attaching the import log file when I imported the OTM data from the steps leading up to the create_public_synonym script.
Attached Files
File Type: zip imp_otmv55_partition.zip (25.3 KB, 1 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #22 (permalink)  
Old July 7th, 2009, 18:08
Senior Member
 
Join Date: Feb 2008
Posts: 114
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 13
Thanked 1 Time in 1 Post
Rep Power: 3
cspadola is on a distinguished road
Re: Error when trying to use DB scripts provided with OTM

I found this on the OTMFAQ site which seems to talk about this same issue:

http://www.otmfaq.com/forums/f23/cre...rivileges-285/ (Create OTM 5.5 DB - need SYS privileges)

I did as Chris suggested in that thread and I seem to be getting further along now. I am able to complete the create_public_synonyms as REPORTOWNER after I ran the scripts suggested in the other thread. I continued to the next step where I connect as GLOGOWNER and run the aq_setup successfully (but with some compilation errors). When I run the recompile_invalid_objects I get 4 results as still invalid. I run it a second time with the same 4 invalid objects remaining.

I have attached the log from the recompile here.
Attached Files
File Type: txt Recompile Errors.txt (2.6 KB, 1 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #23 (permalink)  
Old July 7th, 2009, 18:09
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 378
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 67 Times in 63 Posts
Rep Power: 3
nick.polites will become famous soon enough
Re: Error when trying to use DB scripts provided with OTM

Something still is wrong with the import. You shouldn't get any errors in between any of the tables. Did you remember to add the O7_Dictionary_accessibility=true parameter?
__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #24 (permalink)  
Old July 7th, 2009, 18:15
Senior Member
 
Join Date: Feb 2008
Posts: 114
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 13
Thanked 1 Time in 1 Post
Rep Power: 3
cspadola is on a distinguished road
Re: Error when trying to use DB scripts provided with OTM

Hi Nick, I am assuming you mean the setting in the init.ora file? If so, YES this was already set as =TRUE.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #25 (permalink)  
Old July 7th, 2009, 18:25
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 378
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 67 Times in 63 Posts
Rep Power: 3
nick.polites will become famous soon enough
Re: Error when trying to use DB scripts provided with OTM

OK your import log looks good. Are you also running all of the post migration scripts starting from @create_vpd_package.sql?
__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #26 (permalink)  
Old July 7th, 2009, 18:35
Senior Member
 
Join Date: Feb 2008
Posts: 114
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 13
Thanked 1 Time in 1 Post
Rep Power: 3
cspadola is on a distinguished road
Re: Error when trying to use DB scripts provided with OTM

Hi Nick, yes I am. After the import, I run the following scripts in the order they are listed as per the Admin Guide:

As GLOGOWNER:
create_vpd_package
glogowner_grants
create_public_synonyms
create_logon_triggers

As ARCHIVE:
archive_grants

As REPORTOWNER:
reportowner_grants
create_public_sysnonyms
recompile_invalid_objects

** At this point there are no invalid objects or any errors when running the scripts **

As GLOGOWNER:
aq_setup
recompile_invalid_objects

** This is when it tells me there are 4 invalid objects **
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #27 (permalink)  
Old July 7th, 2009, 19:00
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 378
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 67 Times in 63 Posts
Rep Power: 3
nick.polites will become famous soon enough
Re: Error when trying to use DB scripts provided with OTM

One other thing, did you import this as sys or system?
__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #28 (permalink)  
Old July 7th, 2009, 19:02
Senior Member
 
Join Date: Feb 2008
Posts: 114
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 13
Thanked 1 Time in 1 Post
Rep Power: 3
cspadola is on a distinguished road
Re: Error when trying to use DB scripts provided with OTM

I imported while connected as SYSTEM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #29 (permalink)  
Old July 8th, 2009, 12:33
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 378
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 67 Times in 63 Posts
Rep Power: 3
nick.polites will become famous soon enough
Re: Error when trying to use DB scripts provided with OTM

Even though though this wouldn't cause the errors you are getting, if the future use sys. While the admin guide says to use system, I have seen two imports with missing FINDER_SET data fail as system. I have tried to get development to change this but they stood firm with system.

At this point I would suggest logging a ticket with support. It's probably something simple but I can't pinpoint it without looking at your environment.
__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #30 (permalink)  
Old July 8th, 2009, 12:46
Senior Member
 
Join Date: Feb 2008
Posts: 114
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 13
Thanked 1 Time in 1 Post
Rep Power: 3
cspadola is on a distinguished road
Re: Error when trying to use DB scripts provided with OTM

Hi Nick, seeing how this is a fresh system I have decided to do the entire Oracle DB install again because I need it to be as clean as possible. Plus, a little practice on a Windows installation couldn't hurt.

Thanks for your help with this. If I encounter the same issues, I will update this thread and will take your advice and log a ticket with Oracle Support if I cannot resolve them.

After reading your post and a couple of other threads on this site, I agree that there is something about using SYSTEM (as per the Admin Guide) that doesn't work properly. I will use SYS (as sysdba) this time around and see what happens.

Thanks again.
Carm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


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
TE020 and TE040 test scripts for EBS-OM to OTM integration raju.nimmana OTM / EBS / JDE E1 Integration 0 November 5th, 2008 06:30



All times are GMT. The time now is 05:35.
Copyright © 2006-2009, 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