Bug 146212 - Need updated schema on MTV Oracle instance
Summary: Need updated schema on MTV Oracle instance
Alias: None
Product: Red Hat Network
Classification: Red Hat
Component: RHN/R&D
Version: RHN Devel
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: James Slagle
QA Contact: Red Hat Satellite QA List
Depends On:
Blocks: rhnMilestone1
TreeView+ depends on / blocked
Reported: 2005-01-26 00:23 UTC by Mike McCune
Modified: 2007-04-18 17:18 UTC (History)
0 users

Fixed In Version: rhn370
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-09-27 19:51:56 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Mike McCune 2005-01-26 00:23:39 UTC
We have an oracle instance on test-db-1.nplab.redhat.com
(calistoga.nplab.redhat.com) in Mountain View that is way out of date
and is unusable.

Need to educate mmccune on how to get it up to date with the latest
schema or develop some minimal process to keep it updated.

Comment 1 Bret McMillan 2005-01-26 15:26:59 UTC
james... not sure what's the best way to go about this... either a
complete schema refresh from the build system, or a TOAD diff + script.  

Heh, even if we use the build system, we'll probably need a diff
anyway.  So might not be bad to see how far from reality a "pristine"
hosted schema would be from stage.

Comment 2 Mike McCune 2005-01-26 17:39:49 UTC
Just as a headsup, I tried to connect to the box with the following
tnsnames entry:

webdev2 =
      (ADDRESS = 
        (PROTOCOL = TCP)
        (HOST = test-db-1.nplab.redhat.com)
        (PORT = 1521))
      (SID = webdev2)


yasql rhnuser/rhnuser@webdev

and got:

Attempting connection to rhnuser@webdev2
Error: Could not connect to database: ORA-12541: TNS:no listener (DBD
ERROR: OCIServerAttach) [12541]

I logged into the box (standard RHN root password) and poked around. 
Oracle was listening on 1521, I stopped/started oracle with the init.d
script but it still wouldn't accept my connection.  

Any assistance on getting the listener to respond to requests would be

Comment 3 Jesus M. Rodriguez 2005-01-29 04:23:27 UTC
Mike, usually there are two parts to Oracle. The database and the TNS
Listener.  Sounds like you bounced the DB but not the listener.

Comment 4 James Slagle 2005-03-04 18:54:42 UTC
I got the db/listener started.  I successfully connected remotely.  Although I
had to put the following in my tnsnames:

webdev2 =
      (ADDRESS =
        (PROTOCOL = TCP) (HOST = calistoga.nplab.redhat.com) (PORT = 1521))
      (SID = webdev2)

It didn't seem to like test-db-1 as the host.  calistoga and test-db-1 both
resolve to the same IP.

Mike, what version of the scheam do you want loaded?  The latest 3.6 version?

Comment 5 James Slagle 2005-03-04 21:42:57 UTC
Dropped all objects in webdev2 instance.  Intalled the latest 3.7 satellite
schema.  All of the objects are owned by the rhn user.  Let me know if you have
any problems.

Comment 6 James Slagle 2005-09-27 19:51:56 UTC
This was completed.

Note You need to log in before you can comment on or make changes to this bug.