Forum OpenACS Q&A: OpenACS Installation

Collapse
Posted by Iuri Sampaio on
Hi,
I set everything up.and now i'm trying to start the service through the browser. I believe you all are already familiar with the first page, when you type your url at the first time.

So, i have filled out the form with the respective information, such as the site-wide-administrator, email, password and etc and submit the info. Which takes me to the installation page.
The problem is It only says:

OpenACS Installation

--------------------------------------------------------------------------------
Installing the OpenACS kernel data model...

and that's all. nothing happen after all The page just is kept there and i don't have my website up.
what should i do?

Collapse
2: Re: OpenACS Installation (response to 1)
Posted by Christof Spitz on
Although I'm a bloody newbie, I would suggust you open another shell and do a

tail -f error.log

in the log-directory of your openacs-installation to see what's going on.

Collapse
3: Re: OpenACS Installation (response to 1)
Posted by Iuri Sampaio on
ok i just did that and i got:

-bash-3.00# tail -f error.log
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 "/home/yabtdev/yabtdev/packages/acs-bootstrap-installer/installer/install.tcl" line 37)
invoked from within
"source $__file "
[10/Jan/2006:17:53:22][876.7][-conn:yabtdev::3] Warning: tclfilter: install_handler return invalid result:

do have any idea?

Collapse
4: Re: OpenACS Installation (response to 1)
Posted by Iuri Sampaio on
ok, that's what i've got on the log:

[10/Jan/2006:19:02:53][1808.8][-conn:yabtdev::4] Warning: tclfilter: install_handler return invalid result:
[10/Jan/2006:19:03:50][1808.8][-conn:yabtdev::4] Notice:
DAVEB pghost = '' pgport = '' pguser = '-U yabtdev'

[10/Jan/2006:19:03:50][1808.8][-conn:yabtdev::4] Error: Error sourcing /home/yabtdev/yabtdev/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 "/home/yabtdev/yabtdev/packages/acs-bootstrap-installer/installer/install.tcl" line 37)
invoked from within
"source $__file "
[10/Jan/2006:19:03:50][1808.8][-conn:yabtdev::4] Warning: tclfilter: install_handler return invalid result:

Collapse
5: Re: OpenACS Installation (response to 1)
Posted by Christof Spitz on
Are you sure you installed postgres correctly? Seems psql is missing?
Collapse
6: Re: OpenACS Installation (response to 1)
Posted by Iuri Sampaio on
I'm pretty sure, since there is another site running fine.
http://www.myybiz.net
Collapse
Posted by Iuri Sampaio on
Anyway way i will check that out on our host.
Collapse
8: Re: OpenACS Installation (response to 1)
Posted by Thomas Rathjen on
I had the same problem with the new OACS 5.2.2 Installation. I could solve the problem by editing the code in acs-kernel/sql/postgresql/acs-relationships-create.sql .

In line 368 I have changed

create sequence acs_data_links_seq start with 1;

to

create sequence acs_data_links_seq start 1;

It seems that it was a bug, but I am not very familar with coding.

Collapse
Posted by Malte Sussdorff on
which postgresql version did you use Thomas ?
Collapse
Posted by Thomas Rathjen on
I use the postgresql version 7.3.8 .
Collapse
Posted by Mohammad Al-Ghazali on
I've done this and my error is:

[18/Jan/2006:13:33:22][6556.3086355360][-main-] Notice: nssock: listening on 0.0.0.0:8080 [18/Jan/2006:13:33:22][6556.3064974256][-driver-] Notice: starting [18/Jan/2006:13:33:22][6556.3064974256][-driver-] Notice: driver: accepting connections [18/Jan/2006:13:33:27][6556.3069184944][-conn:service1::1] Warning: tclfilter: install_handler return invalid result: [18/Jan/2006:13:33:27][6556.3068132272][-conn:service1::2] Notice: dbdrv: opening database 'postgres:localhost::service1' [18/Jan/2006:13:33:27][6556.3068132272][-conn:service1::2] Notice: Opening service1 on localhost [18/Jan/2006:13:33:27][6556.3068132272][-conn:service1::2] Notice: Ns_PgOpenDb(postgres): Openned connection to localhost::service1. [18/Jan/2006:13:33:29][6556.3067079600][-conn:service1::3] Error: Unable to source /var/lib/aolserver/service1/packages/acs-bootstrap-installer/installer/packages-install.tcl: file does not exist. [18/Jan/2006:13:33:30][6556.3066026928][-conn:service1::4] Error: Unable to source /var/lib/aolserver/service1/packages/acs-bootstrap-installer/installer/packages-install.tcl: file does not exist. [18/Jan/2006:13:33:31][6556.3069184944][-conn:service1::1] Error: Unable to source /var/lib/aolserver/service1/packages/acs-bootstrap-installer/installer/packages-install.tcl: file does not exist.


I've check the directory and seems that the package-install.tcl file does not exist, so what shuld i do?
I 've install openAcs5.2.2 with postgresql.8.1.2
Collapse
Posted by Mohammad Al-Ghazali on
I forgot to mention that after the installation and I've filled up all the form required,I can only see the welcome page with the next button,when i click the next button,seems that it won't proceed to the package installation
Collapse
13: Re: OpenACS Installation (response to 1)
Posted by Don Baccus on
Ahh the "CREATE SEQUENCE ... START WITH ..." syntax is supported in PostgreSQL versions 7.4 and above. Our strategy with PostgreSQL support is to support the current major version (8.0.x at the moment) and the immediately older major version (7.4.x). Actually PG's up to 8.1 but there are some compatibility issues with OpenACS that won't be fixed for 5.2.

So our "official support" is for 8.0.x and 7.4.x.

It's great that removing the "WITH" allows installation of the kernel under PG 7.3.x, but there may be other problems.

PostgreSQL improves markedly with each major version release, I'd highly recommend you upgrade to 7.4.x at least, if at all possible ...

Collapse
14: Re: OpenACS Installation (response to 1)
Posted by Christof Spitz on
Would be nice if OpenACS could stay in tune with the current Debian stable version (unless there is a compelling technical reason for a newer version of postgres). The current Debian stable version is 7.4.x, so your policy is just right! Installing postgres from the source is not difficult, but apt-get makes life much easier.