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
  #11 (permalink)  
Old July 7th, 2009, 14:50
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 now get as far as creating the reportowner grants. In the next step, it tells me to create the public synonyms (connected as REPORTOWNER). When I run this script, I get the following error:

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

In the previous step I was able to run this error-free when connacted as GLOGOWNER. When I check in each of the GLOGOWNER and REPORTOWNER instances, I see that PUBLIC.DBA_SYNONYMS exist.

Up until this step, all other scripts ran error-free.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #12 (permalink)  
Old July 7th, 2009, 15:07
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

You probably have an error in the import. Post the import log file and I'll see if I can help.
__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #13 (permalink)  
Old July 7th, 2009, 15:24
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 have zipped up the import log file and attached it here. I see that there are a lot of errors but I assumed that this is because I was importing (again) and that the errors are caused by a table or object that already exists. But then again, I could be way off.

Thanks for your help.
Attached Files
File Type: zip imp_otmv55_partition.zip (66.0 KB, 1 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #14 (permalink)  
Old July 7th, 2009, 15:29
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

You need to run the create_glog_roles.sql and create_glog_users.sql scripts. This will wipe out all of the data in the database to ensure a clean import. You may get some IMP errors at the end of the import but you can ignore those. If you get any errors while the tables are importing that is bad and needs to be addressed.

Try it again and you should be good to go.
__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #15 (permalink)  
Old July 7th, 2009, 15:31
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

Oh and one other thing:

ORA-01658: unable to create INITIAL extent for segment in tablespace INDX


You ran out of tablespace for the INDX datafile. Make sure you have these set to autoextend on or make them large enough to import the database. You need at least 5 gigs to the INDX and DATA tablespaces on a GA import. It will be higher if you are copying from a production instance.
__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #16 (permalink)  
Old July 7th, 2009, 15:51
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...when I ran the script create_gc3_tablespaces, I told it to Autoextend when it prompted me for that. Meaning, I put a 'Y' at that prompt.

Is this sufficient?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #17 (permalink)  
Old July 7th, 2009, 15:54
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

However, that said, I see that the MAX_EXTENTS for tablespace INDX is 2147483645.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #18 (permalink)  
Old July 7th, 2009, 15:55
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

I think there was a bug in the script and it never took it. When it asks you to create it now, I always said no so that I could see all of the parameters. In any case, you can log into the Oracle Enterprise Manager (oemapp dbastuido from sqlplus, not on the db) and adjust this as needed, or use Toad.
__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #19 (permalink)  
Old July 7th, 2009, 16:42
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 dropped all the tablespaces and tried to recreate them after I modified the create_tablespace_package file to allow up to 6048000K max file size. However, this resulted in errors when I tried to run the create_gc3_tablespaces script again. I ran the create_gc3_tablespaces script again after reverting back to the original create_tablespace_package file with the 2048000K max file size. It worked without errors but now I need to manually extend the max size on the INDX and DATA tablespaces as you recommended.

I am unable to get Enterprise Manager console up and running. Is this still available? Otherwise, can you tell me the sql command to alter the tablespace max size from the current 2GB size to the 5GB size you suggested?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #20 (permalink)  
Old July 7th, 2009, 16:47
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

Not sure why you were getting an error. Here is what the tablespaces should look like to get autoextend on.

CREATE TABLESPACE DATA
DATAFILE '/u01/app/oracle/database/OTM/DATA01.dbf'
SIZE 1024000K REUSE
AUTOEXTEND ON NEXT 1024000K MAXSIZE UNLIMITED
SEGMENT SPACE MANAGEMENT AUTO EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M
/

CREATE TABLESPACE INDX
DATAFILE '/u01/app/oracle/database/OTM/INDX01.dbf'
SIZE 1024000K REUSE
AUTOEXTEND ON NEXT 1024000K MAXSIZE UNLIMITED
SEGMENT SPACE MANAGEMENT AUTO EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M
/

I don't know the commands offhand but check on google for how to increase tablespace sizes and alter the tablespaces to allow autoextend on.
__________________
MavenWire Hosting Admin
www.mavenwire.com
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 00:43.
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