Forum OpenACS Development: Re: Error installing 5.9 from scratch
You are right, the https setup in the sample config file for OpenACS in the NaviServer distro was incorrect. The updated version  should be better.
The error message about the invalid handle is coming from postgres. Are you sure this is the first error message in the log file? Is your DB running on the default port?
Thank you and all the best
The install script install-oacs.sh  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.
Thank you again