openacs installation problem

Tim Frost timfrost at xtra.co.nz
Thu Sep 23 10:17:05 UTC 2010


Tapas,


On Thu, 2010-09-23 at 10:47 +0530, Tapas Mishra wrote:
> Ok these are the error messages I could catch.
> 
> 
> error when trying to connect to the pgsql database. This error can
> occur if you have no database to connect to, or if the password was
> incorrect. use: dpkg-reconfigure -plow packagename to reconfigure.
> Error when trying to connect to the pgsql database. This error can
> occur if you have no database to connect to, or if the password was
> incorrect. use: dpkg-reconfigure -plow packagename to reconfigure.
> Error when trying to connect to the pgsql database. This error can
> occur if you have no database to connect to, or if the password was
> incorrect. use: dpkg-reconfigure -plow packagename to reconfigure.

Openacs needs to be able to access a postgres database, and the
configuration process for openacs asks for:
- what host is the database on
- credentials to access that database

These errors indicate that the postgres credentials that openacs is
configured to use may be incorrect, or that communication with the
database is not fully set up.  (This might also indicate that the
database isn't configured for remote access, or that openacs is using
the wrong name or IP address for the database server).

>  * Stopping web server aolserver4
>          start-stop-daemon: warning: failed to kill 30391: No such
> process
>                                                                          [ OK ]
>  * Stopping web server openacs                                           [ OK ]
>  * Starting web server aolserver4
>          [23/Sep/2010:10:33:34][30656.475354880][-main-] Error:
> prebind: invalid entry: 127.0.0.1:80: Address already in use
> 
> 
> 
> 
> I am already running apache on the target machine so might be that is
> conflicting.

That is almost certainly the issue here.  The Apache server will be
listening on port 80 for all IP addresses, including localhost (IP
address 127.0.0.1), unless it is explicitly configured not to.

The error messages indicate that the aolserver package is installing a
program that is also using (or at least attempting to use) port 80,
which causes the conflict.

> It is not possible to stop as a website is running on that and on the
> same time I have to install openacs which uses aolserver at port 80 in
> a way that it works correctly and at a different port.
> Apache 80
> AOLServer some 3001 like that.

For AOLserver, there may be at least the following options:
1: run the AOL server on its own port
2: configure Apache to recognise AOL traffic, based on the URL, and pass
it to the AOL server process


I don't use AOLserver or openacs, so don't know how to configure them to
use an alternative port (or hostname/IP address) to communicate :(



> 
> -- 
> Tapas
> 

Tim

-- 
Tim Frost <timfrost at xtra.co.nz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100923/0fc165f3/attachment.sig>


More information about the ubuntu-users mailing list