Forum OpenACS Development: Oracle 8.1.7 on Red Hat 7.1

Collapse
Posted by Steve Woodcock on
I got Oracle running on RH7.1 ok, following these instructions, with a few small changes:
  • I didn't recompile the kernel. No problems with shared mem.
  • I used the IBM 1.1.8 JDK
  • I didn't install the glibc2.1 toolkit, but used the procedure at the top of this
  • The suggested .bash_profile for the Oracle user has some bugs (I think) in it:
    PATH=${PATH}:${ORACLE_HOME}/bin:${JAVA_HOME}:/bin
    
    should be
    PATH=${PATH}:${ORACLE_HOME}/bin:${JAVA_HOME}/bin
    
    and
    if [ "${LD_LIBRARY_PATH:-}" == "" ]; then
    
    should be
    if [ "${LD_LIBRARY_PATH}" == "" ]; then
    
  • Last thing, at about 99% the installer gave an error trying to run make install against ${ORACLE_HOME}/ctx/lib/insXXX.mk -- I just cd'd to the directory and did a manual make -f insXXX.mk install which worked fine. (Sorry, I can't remember the exact name of the .mk file, but there's only two in that directory and only one of them begins ins_)
The very last thing, make sure you have
LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL
in your AOLserver startup script otherwise loadjava (and hence the .sqlj parts of the OpenACS install) won't work.

Hmph, it's a lot easier than it sounds!