Forum OpenACS Q&A: Re: sharing openacs on port 80

Collapse
Posted by Boris Kruvshenko on
well, I have got my config.tcl file with:

    set httpport                  80

then I try to start the openacs as root:

    /usr/local/aolserver/bin/nsd-postgres -it
    /web/service0/etc/config.tcl -u service0 -g web -b 80

and I get the following message in the log file:

    [24/Jun/2004:22:20:59][4380.1075081856][-main-]Error:
        nssock: failed to listen on 192.168.1.3:80:
        Permission denied

I have also try to run openacs without the "-b 80" flag but I get the same log.

I do not know whats wrong.

Collapse
Posted by Orzenil Silva Junior on
Hi Boris,

You are in the right way now! Just follow what DaveB said and change your httpport parameter in your config.tcl to

httpport 80

Also be sure your ip address is correct with you configured network interface

set address                  192.168.1.3

or just try:

set address                  0.0.0.0

Dont forget -b flag. You can start your server as root but just check if it will run under your service0 userid (just type ps auwwx |grep nsd). Also check you are not running other service at port 80, ok?

Why not try daemontools? It is very usefull to keep your service alive.