Forum OpenACS Development: New Installation on Ubuntu 11.10

Collapse
Posted by Raul Rodriguez on
I tried to install oacs via the instruction (https://openacs.org/xowiki/ubuntu) but I am getting:

The following packages have unmet dependencies:
openacs : Depends: aolserver4-nspostgres but it is not going to be installed
Depends: aolserver4-nssha1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Does anyone have a work around?

I also tried to install via a script I had but it failed to download:

http://www.cognovis.de/aolserver45-driver.patch

Does anyone know where I can get this patch?

TIA

Collapse
Posted by Gustaf Neumann on
Dear Raul,

I can't comment on the ubuntu installation, but it seems to me as if you need the ubuntu packages aolserver4-nspostgres and aolserver4-nssha1. Does anyone know what happened with these? Is this maybe a question of Ubuntu versions?

Most likely, you do NOT need the mentioned patch, since this patches are included in versions of aolserver and naviserver since 4 or 5 years. Please include version numbers in you error reports. Use aolserver 4.5.1 or newer, and you are fine in this respect.

In case you need the patch, check the OpenACS wiki, you will find there: http://www.openacs.org/xowiki/Boost_your_application_performance_to_serve_large_files!

all the best
-gustaf neumann

Collapse
Posted by Norisvaldo Ferraz Júnior on
Dear Raul,

I tried to install on Ubuntu 12.04 and I have some problems.
Sorry my bad english, ok?

Instead of this kind of Linux I tried on Debian 7 (Wheezy).

OpenACS isn't available for Debian 7. Typing: # apt-get install openacs, I received error: package don't exists.

To solve, in apt sources.list, I insert lines to refer the oldstable (squeeze).

Then, I installed OpenACS.
Step-by-step:
1. Install Postgresql 8.4 Postgres 8.4: apt-get install postgres-8.4
2. Set password for user postgres: sudo -u postgres psql postgres, then, on psql command line: \password postgres, and then create password for user postgres.
3. Install openacs: apt-get install openacs (version installed: 5.5.1)
4. Install dotLRN (in my case): apt-get install dotlrn
5. Aolserver4 is installed by default: 127.0.0.1:8000
6. Edit /etc/openacs/openacs.sh and/or /etc/dotlrn/dotlrn.sh to change this.
7. IMPORTANT: Aolserver4 is a service started before postgresql by default. This is a bug...
8. To solve this problem, edit /etc/init.d/aolserver4 and, in line that start with "Required-Start...", append after $syslog: $postgresql. In my case: "# Required-Start: $local_fs $remote_fs $network $syslog $postgresql"
9. Then, run update-rc to change aolserver4 service. In my case I run the following command: "update-rc.d aolserver4 start 95 2 3 4 5 . stop 20 0 1 6 ."

Finally, OpenACS works fine.

I hope to help you.

Regards

Noris

Collapse
Posted by Iuri Sampaio on
Sorry, I just saw both links are the same.

Here it is the other link
https://openacs.org/forums/message-view?message%5fid=4030065