Forum OpenACS Development: Error installing OpenACS 5.1.5 on Oracle 10g

Hi,

I am trying to install OpenACS 5.1.5 on Oracle 10g. I had set the config.tcl and started up with the installation. All in the middle, while the basic acs core packages are being installed, my log showed the following error (http://pastebin.ca/516469) while installing the content repository.

I tried to debug in several ways, but still not able to get any clue. I had also tried to find out installation documentation for OpenACS on Oracle database, but did not get any. It would be great if someone can help me with the installation or give me any links whih will guide me in setting up the instance.

Thanks,
Sudheer Alladi.

Collapse
Posted by Brian Fenton on
Hi Sudheer,

Firstly, I'm not sure OpenACS is supported on 10g, but I think it should certainly work. Maybe someone else can answer that.

Here are some install docs - it'd be a good idea to check you've done everything here:
https://openacs.org/xowiki/oracle-install

https://openacs.org/doc/current/oracle.html (an older one)

Looking at your error:
"couldn't execute "/home/oracle/bin/loadjava": no such file or directory". It seems that you don't have Oracle fully configured to run OpenACS, specifically the Java stuff.

Brian

Collapse
Posted by Enrique Catalan on
Sudheer,

The problem you got is because your Oracle installation doesn't have the java module as Brian said. Which version of Oracle 10g are you using?

Just in case you are using the Oracle 10g XE, As far as I know, the XE version doesn't come with built-in Java or any of the Oracle-java components or features. You could use Oracle 10g SE or Oracle 10g SE instead. Which distribution of Linux are you using?

Enrique

Collapse
Posted by madhu s on
Hi, Sudheer Alladi,

It seems your PATH setting is wrong, please include ORACLE_HOME/bin in your PATH.

hth
Madhu Sunkara

Collapse
Posted by Sudheer Alladi on
Hi,

Thank you very much.., have realized what the error is up to. The oracle path wasnt set properly. So had to copy the dependent progs to the /home/oracle directory. Now that the required things are in place, the installation went smoothly.

Any ways thank you guys for a quick response...,

Regards,

Sudheer Alladi.

Does "dependent progs" mean loadjava?

You shouldn't need to copy programs, just set your environment up. If you use bash, something like this should do:

export ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
export ORACLE_SID=orcl
PATH=$ORACLE_HOME/bin:$PATH

For me 'which loadjava' gives
/home/oracle/oracle/product/10.2.0/db_1/bin/loadjava

Collapse
Posted by Sudheer Alladi on
Hi Christian,

I think setting the enviroment, in path so that all progs will be accessible is the better option than copying them.

Any ways thanks for the response,

Regards,
Sudheer Alladi.