Forum OpenACS Q&A: Installation problems

Collapse
Posted by robert gilaard on
Hi folks,

I've managed to install openacs and everything seemd ok, until iI tried to acces my page. I'm seeing:

OpenACS Installation: Welcome
Your PostgreSQL driver is correctly installed and configured.

However, after I input my system administrator settings, I get a blank page

The error log looks like this:

[05/Sep/2007:21:28:47][1270.5292032][-main-] Notice: Bootstrap: Installation is not complete - sourcing the installer.
[05/Sep/2007:21:28:48][1270.5292032][-main-] Notice: Sourcing files for postload...
[05/Sep/2007:21:28:48][1270.5292032][-main-] Notice: Done.
[05/Sep/2007:21:28:48][1270.5292032][-main-] Notice: Executing initialization code blocks...
[05/Sep/2007:21:28:48][1270.5292032][-main-] Notice: nsmain: AOLserver/4.5.0 running
[05/Sep/2007:21:28:48][1270.5292032][-main-] Notice: nsmain: security info: uid=1005, euid=1005, gid=80, egid=80
[05/Sep/2007:21:28:48][1270.5430272][-sched-] Notice: sched: starting
[05/Sep/2007:21:28:48][1270.5292032][-main-] Notice: driver: starting: nssock
[05/Sep/2007:21:28:48][1270.5992448][-nssock:driver-] Notice: starting
[05/Sep/2007:21:28:48][1270.5992448][-nssock:driver-] Notice: nssock: listening on 192.168.1.100:8002
[05/Sep/2007:21:42:38][1270.5994496][-conn:0-] Notice:
DAVEB pghost = '-h 192.168.1.104' pgport = '-p 5432' pguser = '-U openacs'

[05/Sep/2007:21:42:38][1270.5994496][-conn:0-] Error: Error sourcing /usr/local/openacs/packages/acs-bootstrap-installer/installer/install.tcl:
couldn't execute "psql": no such file or directory
while executing
"open "|[file join [db_get_pgbin] psql] $pghost $pgport $pguser -f $file_name [db_get_database] $pgpass" "r""
("postgresql" arm line 37)
invoked from within
"switch $driverkey {

oracle {
global env
set user_pass [db_get_sql_user -dbn $dbn]
cd [file dirname $file]..."
(procedure "db_source_sql_file" line 6)
invoked from within
"db_source_sql_file -callback apm_ns_write_callback acs-kernel-create.sql"
(procedure "install_do_data_model_install" line 7)
invoked from within
"install_do_data_model_install"
invoked from within
"if { ![install_good_data_model_p] } {
install_do_data_model_install
} else {
ns_write "Kernel data model already installed."
# If kernel i..."
(file "/usr/local/openacs/packages/acs-bootstrap-installer/installer/install.tcl" line 37)
invoked from within
"source $__file "
[05/Sep/2007:21:44:38][1270.5994496][-conn:0-] Notice: exiting: timeout waiting for connection

What is wrong?
What I find suspicious is:
[05/Sep/2007:21:42:38][1270.5994496][-conn:0-] Notice:
DAVEB pghost = '-h 192.168.1.104' pgport = '-p 5432' pguser = '-U openacs'
Why do I see the -h, -p and -U switches in there?

Collapse
2: Re: Installation problems (response to 1)
Posted by Steve Manning on
Can you tell us the O/S, OpenACS version & Postgresql version pls.

- Steve
Collapse
3: Re: Installation problems (response to 1)
Posted by Gustaf Neumann on
The message says that the aolserver does not find the psql binary (part of postgres).

In your aolserver configuration for openacs (the file you provided to the start of the aolserver) you have a n entry like

ns_section "ns/db/driver/postgres"
        ns_param        pgbin           /usr/local/postgres/bin/
check, of you have psql in this directory. if not, adjust the path accordingly.
Collapse
4: Re: Installation problems (response to 3)
Posted by Tom Jackson on
Hmm, I've never used this param. Are there any other params in 'ns/db/driver/$drivername'?

I use postgres, and I don't have this ns_section, although an old config has param 'datastyle'.

Why wouldn't the bin directory be part of the path for the process?