[1075] in Moira

home help back first fref pref prev next nref lref last post

building oracle moira stuff

daemon@ATHENA.MIT.EDU (Dan Winship)
Thu Feb 13 17:32:35 1997

Date: Thu, 13 Feb 1997 17:32:08 -0500 (EST)
From: danw@MIT.EDU (Dan Winship)
To: moiradev@MIT.EDU, moira-admin@MIT.EDU

I started writing this last week when Ted needed it, but then just
explained it to him in person and never finished the writeup.

If you want to build moira server stuff, ttsp is set up as a build
machine. You can build as root or add yourself to the password file if
that's more convenient. If you log in as you, you have to `setenv
ORACLE_HOME /usr/oracle' so it can find stuff. Then building is just
like it was with ingres. (/mit/moiradev/work/README explains how to
check out stuff from the CVS repository if you're unclear on that...
There's currently no good existing build tree. Most of the stuff
currently running on moira3 comes from /mit/moira4/danw/, but that's
out of date with the sources now.)


If you want, and you have a sun with 50M free in /var, you can install
Pro*C locally. This involves dealing with the evil oracle install
program though.

First, do `id -a' and note any groups that are listed there but that
don't have names. (Probably 101 (`mit') and two others for your pag.)

As root, mkdir /var/usr/oracle, chown it to yourself, and symlink
/usr/oracle to it. Then go to /etc/group and add entries for the
groups from the `id -a' output that don't have names. (The oracle
installer won't cope otherwise.) You can just make up names for the
pag gids. 

Then as yourself, attach oracle and cd
/mit/oracle/oracle-7.1.6/dist/orainst. (You need to be in the
oracledist group to do this, although it's not clear why, since we
have a site license... someone should figure this out some day...)

setenv ORACLE_TERM vt100
./orainst mode=line

Tell it /usr/oracle for ORACLE_HOME and ORACLE_DOC, moira for
ORACLE_SID, yourself for ORACLE_OWNER and answer mostly whatever you
want for the rest. Eventually you get to the big list of things to
install, and use the arrows to pick `Pro*C 2.0.6.0.0.0.0.0.0.0.0.0'
(ok, there aren't _quite_ that many sub-version numbers), and hit
return to select it, tab to get to the `install' button, and return to
tell it to install. Then wait a while and it will be installed.

If you have problems with this, Ted, Dave, and I have all successfully
defeated the oracle installer before, and might be able to help.

-- Dan

home help back first fref pref prev next nref lref last post