Forum OpenACS Q&A: Re: installation failure of openacs on a server running Ubuntu 8.04

Hallo Stefan,

Vielen Dank für die Hilfe ! Mein Deutsch ist schrecklich so es wird besser auf Englisch sein...

So, I followed your advice. However, I did not find any file "config.tcl" in the folder "/usr/share/openacs/etc" but there was a file named "config.tcl.dpkg-new". I made a copy with a new name ("config.tcl") and I modified and saved it with nano and then, still as root, I typed /etc/init.d/aolserver4 restart. I had the following answer :

gilmar@dotlrn:~$ /etc/init.d/aolserver4 restart
* Stopping web server aolserver4 [ OK ]
* Starting web server aolserver4 [12/Jun/2009:14:59:16][3026.3083183792][-main-] Error: prebind: invalid entry: 127.0.0.1:80: Permission denied [ OK ]

From outside, I tried then http://92.243.19.47/ but no connexion. I connected again with Putty (an ssh utility) and, as the aolserver4 was not running (I saw it with the command ps aux), I typed "/etc/init.d/aolserver4 start".

And then, there was this :

root@dotlrn:/home/gilmar# ps ax | grep nsd
2176 ? Ssl 0:00 /usr/sbin/aolserver4-nsd -u www-data -g www-data -b 127.0.0.1:80 -s main -t /etc/aolserver4/aolserver4.tcl
2273 pts/0 S+ 0:00 grep nsd

And no connexion from outside...

In the folder /etc/aolserver2, there is a file named aolserver4.tcl and it has also a section specifying ports and so on. It says this :

#
# GLOBAL VARIABLES
#

set httpport 80
set httpsport 443
set controlport 9999

set hostname localhost
set address 127.0.0.1

Do I have to change this and replace 127.0.0.1 with 0.0.0.0?

What do you think ?

Thank for your patience (it is a long message, sorry...)

Gilmar

Gilmar,

Sorry, I misguided you, i was confusing the setup variants. The responsible config.tcl in the ubuntu setup is found in:

/etc/openacs/config.tcl

You can learn this also from:

9119 ? Ssl 0:00 /usr/sbin/aolserver4-nsd -u www-data -g www-data -b 127.0.0.1:8000 -t /etc/openacs/config.tcl

You don't have to touch anything related to the aolserver4 package (e.g., /etc/aolserver4/*). This is a bare aolserver installation which is activated by default when installing this package. It is entirely unrelated to the openacs package.

//stefan

Hi Stefan,

It's great, it works !

Thank you indeed for your help and have a nice hiking trip !

Gilmar