I tried adding new packages to my oACS 4.5 site. However, when I get to the final package installation stage (packages-install-4.tcl) the install pukes, giving this error:
Installing packages...
Installing data model ...
Loading data model
HTTP/1.0 200 OK
Server: AOLserver/3.3.1+ad13
Content-Type: text/html; charset=iso-8859-1
MIME-Version: 1.0
Content-Length: 3249
Connection: close
Request Error
couldn't execute "psql": permission denied
while executing
"open "|[file join [db_get_pgbin] psql] $pghost $pgport $pguser -f $file_name [db_get_database] $pgpass" "r""
(procedure "db_source_sql_file" line 38)
...
I checked the oACS bboard and found a thread, "static-pages doesn't load data model" at https://openacs.org/forums/message-view?message_id=54392 discussing this very problem.
The recommendation was to check that the PATH is correct, or change db_get_pgbin, or add a parameter setting to the database driver configuration: ns_param pgbin /path/to/your/new/psql so it returns the explicit path to the psql executable.
I confirmed the $PATHs in /usr/local/aolserver/bin/nsd-postgres was correct so I edited my config.tcl script (huntershooter.tcl)
After making the change I executed the restart-aolserver script at /web/{server}/bin to restart the server.
Then I attempted to restart aolserver:
$ /usr/local/aolserver/bin/nsd -i -t /usr/local/aolserver/huntershooter.tcl
[01/Mar/2003:01:45:06][26364.1024][-main-] Notice: nsd.tcl: starting to read config file...
[01/Mar/2003:01:45:06][26364.1024][-main-] Notice: nsd.tcl: finished reading config file.
$
But aolserver refuses to start. I double checked my syntax with the AOLserver Command Line doc, at {doc-dir}/tech-ch1.htm#21012
Any suggestions? Thanks!
John