Forum OpenACS Development: Re: Error installing 5.9 from scratch

Collapse
Posted by Gustaf Neumann on
The sample openacs-config.tcl file from naviserver [1] is setting per default the db_user to the name of the server instance - similar to the sample config file for aolserver and also similar to what you describe.

The install script install-oacs.sh [2] creates among other things the oacs_user with the configured value in postgres and alters the default db_user that value (normally "nsadmin"). This happens in nstall-oacs.sh around line 310. So, an explanation might be, that install-oacs.sh was not run (has not tailored the startup file) or stopped prematurely.

-g

[1] https://bitbucket.org/naviserver/naviserver/src/a5d22d7256340e245badbdb2ae7b2a512b6c89e5/openacs-config.tcl?fileviewer=file-view-default
[2] https://github.com/gustafn/install-ns/blob/master/install-oacs.sh

Collapse
Posted by Antonio Pisano on
Yes, your explanation fits, I have tweaked the sample and used it as conf after installing.

Thank you again