Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2008 06:49:16 -0800 (PST)
From:      Dino Vliet <dino_vliet@yahoo.com>
To:        mm@FreeBSD.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: openacs-5.4.3 on freebsd 6.3 AMD configuration problem SOLVED
Message-ID:  <138973.15476.qm@web51102.mail.re2.yahoo.com>

next in thread | raw e-mail | index | archive | help

               =20

       =20
        Friday, October 31, 2008 11:24 PM
       =20
               =20
       =20
       =20
           =20
            From:=20
           =20
                "Dino Vliet" <dino_vliet@yahoo.com>
                        =20
                       =20
                       =20
                       =20
       =20
       =20
            To:        =20
       =20
            mm@FreeBSD.org       =20
       =20
            Cc:        =20
       =20
            freebsd-questions@freebsd.org                       =20
                       =20
Hi
I'm a new user of openacs-5.4.3 and want to try it out on my amd64
system running Freebsd 6.3 and having postgresql-server-8.2.9
installed. The port installs fine and I have set openacs_enable=3D"YES"
in /etc/rc.conf to have it start at boot time.

The first time configuration does not give the expected results as my brows=
er indicates this:

OpenACS Installation
=A0 =A0=20

=A0 =A0 Installing the OpenACS kernel data model...

But nothing happens anymore.=20

The last part of the file=A0 /usr/local/openacs/log/error.log:

[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: nsmain: AOLserver/4.5.=
0 starting
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: nsmain: security info:=
 uid=3D1005, euid=3D1005, gid=3D80, egid=3D80
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: nsmain: max files: FD_=
SETSIZE =3D 1024, rl_cur =3D 11095, rl_max =3D 11095
[31/Oct/2008:22:33:14][1073.5292032][-main-] Warning: nsmain: rl_max > FD_S=
ETSIZE
[31/Oct/2008:22:33:14][1073.5292032][-main-]
Error: pidfile: failed to open pid file
'/usr/local/aolserver/log/nspid.openacs': 'Permission denied'
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: encoding: loaded: utf-=
8
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: fastpath[openacs]: map=
ped GET /
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: fastpath[openacs]: map=
ped HEAD /
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: fastpath[openacs]: map=
ped POST /
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: adp[openacs]: mapped G=
ET /*.adp
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: adp[openacs]: mapped H=
EAD /*.adp
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: adp[openacs]: mapped P=
OST /*.adp
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nssock.so'
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nslog.so'
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: nslog: opened '/usr/lo=
cal/openacs/log/openacs.log'
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nssha1.so'
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nscache.so'
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: nscache module version=
 1.5 server: openacs
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nsdb.so'
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nspostgres.so'
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: PostgreSQL loaded.
[31/Oct/2008:22:33:14][1073.5292032][-main-] Notice: conf: [ns/server/opena=
cs]enabletclpages =3D 0
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: XOTcl version 1.6.1 lo=
aded
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Loading OpenACS, roote=
d at /usr/local/openacs
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Sourcing /usr/local/op=
enacs/packages/acs-bootstrap-installer/bootstrap.tcl
[31/Oct/2008:22:33:20][1073.5292032][-main-]
Notice: Bootstrap: sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl
[31/Oct/2008:22:33:20][1073.5292032][-main-]
Notice: Bootstrap: sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/tcl/10-utilities-procs.=
tcl
[31/Oct/2008:22:33:20][1073.5292032][-main-]
Notice: Bootstrap: sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/tcl/20-db-bootstrap-pro=
cs.tcl
[31/Oct/2008:22:33:20][1073.5292032][-main-]
Notice: Bootstrap: sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.t=
cl
[31/Oct/2008:22:33:20][1073.5292032][-main-]
Notice: Bootstrap: sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/tcl/40-db-query-dispatc=
her-procs.tcl
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Database API: Default =
database (dbn) is: 'default'
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Database API: Using AL=
L database pools for OpenACS.
[31/Oct/2008:22:33:20][1073.5292032][-main-]
Notice: Database API: The following pools are available for OpenACS:
pool2 pool3 pool1
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: dbdrv: opening databas=
e 'postgres:localhost::openacs'
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Opening openacs on loc=
alhost
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Ns_PgOpenDb(postgres):=
=A0 Openned connection to localhost::openacs.
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: dbdrv: opening databas=
e 'postgres:localhost::openacs'
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Opening openacs on loc=
alhost
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Ns_PgOpenDb(postgres):=
=A0 Openned connection to localhost::openacs.
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: dbdrv: opening databas=
e 'postgres:localhost::openacs'
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Opening openacs on loc=
alhost
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Ns_PgOpenDb(postgres):=
=A0 Openned connection to localhost::openacs.
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Bootstrap: Loading acs=
-tcl
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/00=
-database-procs-postgresql.tcl
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/00=
-database-procs.tcl
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/10=
-charset-compat-procs.tcl
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/30=
-xml-utils-procs.tcl
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ac=
s-kernel-procs.tcl
[31/Oct/2008:22:33:20][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ac=
s-permissions-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ac=
s-private-data-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ad=
-functional-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ad=
min-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ad=
p-parser-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ao=
lserver-3-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
m-file-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
m-install-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
m-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
m-xml-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
plication-data-link-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
plication-link-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ca=
llback-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/co=
mmunity-core-2-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/co=
mmunity-core-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/de=
fs-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/de=
precated-utilities-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/do=
cument-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ds=
-stub-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ex=
ception-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/fo=
rm-processing-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ht=
ml-email-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/im=
age-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/in=
stall-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/me=
mbership-rel-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/me=
moize-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/na=
vigation-callback-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/na=
vigation-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ob=
ject-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ob=
ject-type-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/op=
enacs-kernel-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/pa=
rameter-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/pd=
f-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/pr=
oxy-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/re=
quest-processor-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ro=
llout-email-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/se=
curity-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/se=
rver-cluster-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/se=
t-operation-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/si=
te-node-apm-integration-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/si=
te-node-object-map-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/si=
te-nodes-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/sq=
l-statement-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/st=
ack-trace-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ta=
ble-display-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/tc=
l-documentation-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/td=
om-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/te=
xt-html-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/us=
er-extensions-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/ut=
ilities-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/wh=
os-online-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/wi=
dgets-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/xm=
l-0-sgml-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/xm=
l-1-dom-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Loading acs-tcl/tcl/xm=
l-2-procs.tcl
[31/Oct/2008:22:33:21][1073.5292032][-main-] Notice: Bootstrap: Installatio=
n is not complete - sourcing the installer.
[31/Oct/2008:22:33:22][1073.5292032][-main-] Notice: Sourcing files for pos=
tload...
[31/Oct/2008:22:33:22][1073.5292032][-main-] Notice: Done.
[31/Oct/2008:22:33:22][1073.5292032][-main-] Notice: Executing initializati=
on code blocks...
[31/Oct/2008:22:33:22][1073.5292032][-main-] Notice: nsmain: AOLserver/4.5.=
0 running
[31/Oct/2008:22:33:22][1073.5292032][-main-] Notice: nsmain: security info:=
 uid=3D1005, euid=3D1005, gid=3D80, egid=3D80
[31/Oct/2008:22:33:22][1073.5437440][-sched-] Notice: sched: starting
[31/Oct/2008:22:33:22][1073.5292032][-main-] Notice: driver: starting: nsso=
ck
[31/Oct/2008:22:33:22][1073.5434368][-nssock:driver-] Notice: starting
[31/Oct/2008:22:33:22][1073.5434368][-nssock:driver-] Notice: nssock: liste=
ning on 0.0.0.0:8000
[31/Oct/2008:22:34:50][1073.6005760][-conn:0-] Warning: tclfilter: install_=
handler return invalid result:=20
[31/Oct/2008:22:36:50][1073.6005760][-conn:0-] Notice: exiting: timeout wai=
ting for connection
[31/Oct/2008:22:37:03][1073.6006784][-conn:1-] Notice:=20
[31/Oct/2008:22:37:03][1073.6006784][-conn:1-]
Error: Error sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/installer/install.tcl:
[31/Oct/2008:22:39:03][1073.6006784][-conn:1-] Notice: exiting: timeout wai=
ting for connection
[31/Oct/2008:22:52:34][1073.5292032][-main-] Notice: nsmain: AOLserver/4.5.=
0 stopping
[31/Oct/2008:22:52:34][1073.5292032][-main-] Notice: driver: stopping: nsso=
ck
[31/Oct/2008:22:52:34][1073.5292032][-main-] Notice: sched: shutdown pendin=
g
[31/Oct/2008:22:52:34][1073.5434368][-nssock:driver-] Notice: exiting
[31/Oct/2008:22:52:34][1073.5437440][-sched-] Notice: sched: shutdown start=
ed
[31/Oct/2008:22:52:34][1073.5437440][-sched-] Notice: sched: shutdown compl=
ete
[31/Oct/2008:22:52:34][1073.5292032][-main-] Notice: driver: stopped: nssoc=
k
[31/Oct/2008:22:52:34][1073.5438464][-shutdown-] Notice: nslog: closing '/u=
sr/local/openacs/log/openacs.log'
[31/Oct/2008:22:52:34][1073.5292032][-main-]
Error: pidfile: failed to remove
'/usr/local/aolserver/log/nspid.openacs': 'Permission denied'
[31/Oct/2008:22:52:34][1073.5292032][-main-] Notice: nsmain: AOLserver/4.5.=
0 exiting
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: nsmain: AOLserver/4.5.=
0 starting
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: nsmain: security info:=
 uid=3D1005, euid=3D1005, gid=3D80, egid=3D80
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: nsmain: max files: FD_=
SETSIZE =3D 1024, rl_cur =3D 11095, rl_max =3D 11095
[31/Oct/2008:22:54:03][1075.5292032][-main-] Warning: nsmain: rl_max > FD_S=
ETSIZE
[31/Oct/2008:22:54:03][1075.5292032][-main-]
Error: pidfile: failed to open pid file
'/usr/local/aolserver/log/nspid.openacs': 'Permission denied'
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: encoding: loaded: utf-=
8
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: fastpath[openacs]: map=
ped GET /
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: fastpath[openacs]: map=
ped HEAD /
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: fastpath[openacs]: map=
ped POST /
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: adp[openacs]: mapped G=
ET /*.adp
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: adp[openacs]: mapped H=
EAD /*.adp
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: adp[openacs]: mapped P=
OST /*.adp
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nssock.so'
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nslog.so'
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: nslog: opened '/usr/lo=
cal/openacs/log/openacs.log'
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nssha1.so'
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nscache.so'
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: nscache module version=
 1.5 server: openacs
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nsdb.so'
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: modload: loading '/usr=
/local/aolserver/bin/nspostgres.so'
[31/Oct/2008:22:54:03][1075.5292032][-main-] Notice: PostgreSQL loaded.
[31/Oct/2008:22:54:04][1075.5292032][-main-] Notice: conf: [ns/server/opena=
cs]enabletclpages =3D 0
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: XOTcl version 1.6.1 lo=
aded
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: Loading OpenACS, roote=
d at /usr/local/openacs
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: Sourcing /usr/local/op=
enacs/packages/acs-bootstrap-installer/bootstrap.tcl
[31/Oct/2008:22:54:11][1075.5292032][-main-]
Notice: Bootstrap: sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl
[31/Oct/2008:22:54:11][1075.5292032][-main-]
Notice: Bootstrap: sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/tcl/10-utilities-procs.=
tcl
[31/Oct/2008:22:54:11][1075.5292032][-main-]
Notice: Bootstrap: sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/tcl/20-db-bootstrap-pro=
cs.tcl
[31/Oct/2008:22:54:11][1075.5292032][-main-]
Notice: Bootstrap: sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.t=
cl
[31/Oct/2008:22:54:11][1075.5292032][-main-]
Notice: Bootstrap: sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/tcl/40-db-query-dispatc=
her-procs.tcl
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: Database API: Default =
database (dbn) is: 'default'
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: Database API: Using AL=
L database pools for OpenACS.
[31/Oct/2008:22:54:11][1075.5292032][-main-]
Notice: Database API: The following pools are available for OpenACS:
pool2 pool3 pool1
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: dbdrv: opening databas=
e 'postgres:localhost::openacs'
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: Opening openacs on loc=
alhost
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: Ns_PgOpenDb(postgres):=
=A0 Openned connection to localhost::openacs.
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: dbdrv: opening databas=
e 'postgres:localhost::openacs'
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: Opening openacs on loc=
alhost
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: Ns_PgOpenDb(postgres):=
=A0 Openned connection to localhost::openacs.
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: dbdrv: opening databas=
e 'postgres:localhost::openacs'
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: Opening openacs on loc=
alhost
[31/Oct/2008:22:54:11][1075.5292032][-main-] Notice: Ns_PgOpenDb(postgres):=
=A0 Openned connection to localhost::openacs.
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Bootstrap: Loading acs=
-tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/00=
-database-procs-postgresql.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/00=
-database-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/10=
-charset-compat-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/30=
-xml-utils-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ac=
s-kernel-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ac=
s-permissions-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ac=
s-private-data-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ad=
-functional-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ad=
min-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ad=
p-parser-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ao=
lserver-3-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
m-file-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
m-install-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
m-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
m-xml-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
plication-data-link-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ap=
plication-link-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ca=
llback-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/co=
mmunity-core-2-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/co=
mmunity-core-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/de=
fs-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/de=
precated-utilities-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/do=
cument-procs.tcl
[31/Oct/2008:22:54:12][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ds=
-stub-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ex=
ception-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/fo=
rm-processing-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ht=
ml-email-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/im=
age-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/in=
stall-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/me=
mbership-rel-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/me=
moize-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/na=
vigation-callback-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/na=
vigation-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ob=
ject-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ob=
ject-type-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/op=
enacs-kernel-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/pa=
rameter-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/pd=
f-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/pr=
oxy-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/re=
quest-processor-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ro=
llout-email-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/se=
curity-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/se=
rver-cluster-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/se=
t-operation-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/si=
te-node-apm-integration-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/si=
te-node-object-map-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/si=
te-nodes-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/sq=
l-statement-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/st=
ack-trace-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ta=
ble-display-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/tc=
l-documentation-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/td=
om-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/te=
xt-html-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/us=
er-extensions-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/ut=
ilities-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/wh=
os-online-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/wi=
dgets-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/xm=
l-0-sgml-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/xm=
l-1-dom-procs.tcl
[31/Oct/2008:22:54:13][1075.5292032][-main-] Notice: Loading acs-tcl/tcl/xm=
l-2-procs.tcl
[31/Oct/2008:22:54:14][1075.5292032][-main-] Notice: Bootstrap: Installatio=
n is not complete - sourcing the installer.
[31/Oct/2008:22:54:14][1075.5292032][-main-] Notice: Sourcing files for pos=
tload...
[31/Oct/2008:22:54:14][1075.5292032][-main-] Notice: Done.
[31/Oct/2008:22:54:14][1075.5292032][-main-] Notice: Executing initializati=
on code blocks...
[31/Oct/2008:22:54:14][1075.5292032][-main-] Notice: nsmain: AOLserver/4.5.=
0 running
[31/Oct/2008:22:54:14][1075.5292032][-main-] Notice: nsmain: security info:=
 uid=3D1005, euid=3D1005, gid=3D80, egid=3D80
[31/Oct/2008:22:54:14][1075.5437440][-sched-] Notice: sched: starting
[31/Oct/2008:22:54:14][1075.5292032][-main-] Notice: driver: starting: nsso=
ck
[31/Oct/2008:22:54:14][1075.5434368][-nssock:driver-] Notice: starting
[31/Oct/2008:22:54:14][1075.5434368][-nssock:driver-] Notice: nssock: liste=
ning on 0.0.0.0:8000
[31/Oct/2008:22:56:51][1075.6005760][-conn:0-] Notice:=20
[31/Oct/2008:22:56:51][1075.6005760][-conn:0-]
Error: Error sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/installer/install.tcl:
[31/Oct/2008:22:58:51][1075.6005760][-conn:0-] Notice: exiting: timeout wai=
ting for connection
[31/Oct/2008:23:11:30][1075.6006784][-conn:1-] Notice:=20
[31/Oct/2008:23:11:30][1075.6006784][-conn:1-]
Error: Error sourcing
/usr/local/openacs/packages/acs-bootstrap-installer/installer/install.tcl:
[31/Oct/2008:23:13:30][1075.6006784][-conn:1-] Notice: exiting: timeout wai=
ting for connection


What's wrong here?
How can I solve it?

The last file is present on my system:

ls -l /usr/local/openacs/packages/acs-bootstrap-installer/installer/install=
.tcl=20
-rwxrwx---=A0 1 openacs=A0 openacs=A0 4455 Jan 10=A0 2007 /usr/local/openac=
s/packages/acs-bootstrap-installer/installer/install.tcl


And it's contents are:

##############
#
# Get configuration parameters
#
#############

install_page_contract [install_mandatory_params] [install_optional_params]

# Default all system emails to the administrators email
foreach var_name {system_owner admin_owner host_administrator outgoing_send=
er new_registrations} {
=A0 =A0 if { [empty_string_p [set $var_name]] } {
=A0 =A0 =A0 =A0 set $var_name $email
=A0 =A0 }
}

##############
#
# System setting validation
#
#############

if {$password ne $password_confirmation=A0 } {
=A0 =A0 install_return 200 "Passwords Don't Match" "
The passwords you've entered don't match. Please <a href=3D\"javascript:his=
tory.back()\">try again</a>.
"
=A0 =A0 return
}

##############
#
# Install data model
#
#############

ns_write [install_header 200 ""]

if { ![install_good_data_model_p] } {
=A0 =A0 install_do_data_model_install
} else {
=A0 =A0 ns_write "Kernel data model already installed."
=A0 =A0 # If kernel is installed it probably means this page has already be=
en requested,
=A0 =A0 # let's exit
=A0 =A0 return
}

##############
#
# Install packages
#
#############

install_do_packages_install

if { $username eq "" } {
=A0 =A0 set username $email
}

if { ![db_string user_exists {
=A0 =A0 select count(*) from parties where email =3D lower(:email)
}] } {

=A0 db_transaction {
=A0 =A0=20
=A0 =A0 set user_id [ad_user_new \
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0$email \
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0$first_names \
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0$last_name \
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0$password \
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0"" \
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0"" \
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0"" \
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0"t" \
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0"approved" \
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0"" \
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0$username]
=A0 =A0 if { !$user_id } {

=A0=A0=A0 global errorInfo=A0 =A0=20
=A0=A0=A0 install_return 200 "Unable to Create Administrator" "
=A0 =A0=20
Unable to create the site-wide administrator:
=A0=A0=A0
<blockquote><pre>[ns_quotehtml $errorInfo]</pre></blockquote>
=A0 =A0=20
Please <a href=3D\"javascript:history.back()\">try again</a>.
=A0 =A0=20
"
=A0 =A0 =A0 =A0 return
=A0 =A0 }

=A0 =A0 # stub util_memoize_flush...
=A0 =A0 rename util_memoize_flush util_memoize_flush_saved
=A0 =A0 proc util_memoize_flush {args} {}
=A0 =A0 permission::grant -party_id $user_id -object_id [acs_lookup_magic_o=
bject security_context_root] -privilege "admin"
=A0 =A0 # nuke stub=20
=A0 =A0 rename util_memoize_flush {}
=A0 =A0 rename util_memoize_flush_saved util_memoize_flush
=A0 }
=A0 ad_conn -set user_id $user_id
}

# Now process the application bundle if an install.xml file was found.

if { [file exists "[acs_root_dir]/install.xml"] } {
=A0 =A0 set output [apm::process_install_xml "/install.xml" {}]
=A0 =A0 ns_write "<p>[join $output "</p><p>"]</p>"
}


##############
#
# Load message catalogs
#
#############


# Doing this before restart so that keys are available in init files on sta=
rtup
ns_write "<p>Loading message catalogs..."
lang::catalog::import -initialize
ns_write "=A0 <p>Done.<p>"

##############
#
# Secret tokens
#
#############

ns_write "<p>Generating secret tokens..."
populate_secret_tokens_db
ns_write "=A0 <p>Done.<p>"

##############
#
# System settings
#
#############

set kernel_id [db_string acs_kernel_id_get {
=A0 =A0 select package_id from apm_packages
=A0 =A0 where package_key =3D 'acs-kernel'
}]

foreach { var param } {
=A0 =A0 system_url SystemURL
=A0 =A0 system_name SystemName
=A0 =A0 publisher_name PublisherName
=A0 =A0 system_owner SystemOwner
=A0 =A0 admin_owner AdminOwner
=A0 =A0 host_administrator HostAdministrator
=A0 =A0 outgoing_sender OutgoingSender
} {
=A0 =A0 ad_parameter -set [set $var] -package_id $kernel_id $param
}

# set the Main Site RestrictToSSL parameter

set main_site_id [subsite::main_site_id]

ad_parameter -set "acs-admin/*" -package_id $main_site_id RestrictToSSL
ad_parameter -set $new_registrations -package_id $main_site_id NewRegistrat=
ionEmailAddress

# We're done - kill the server (will restart if server is setup properly)
ad_schedule_proc -thread t -once t 1 ns_shutdown

set post_installation_message \
=A0 =A0 [parameter::get_from_package_key -package_key acs-bootstrap-install=
er \
=A0 =A0=A0=A0-parameter post_installation_message \
=A0 =A0=A0=A0-default ""]

ns_write "<b>Installation finished</b>

<p> The server has been shut down. Normally, it should come back up by itse=
lf after a minute or so. </p>

<p> If not, please check your server error log, or contact your system admi=
nistrator. </p>"

if { $post_installation_message ne "" } {
=A0 =A0 ns_write $post_installation_message
} else {
=A0 =A0 ns_write "
<p>
When the server is back up you can visit <a
href=3D\"/acs-admin/\">the site-wide administration pages</a>
</p>"
}

Thanks in advanced
Dino

ns_write [install_footer]

*************************************** end of original message ***********=
********

Hi,
This was solved by adding the path to the psql binary into my openacs confi=
guration file:

=A0ns_param=A0=A0 pgbin=A0=A0=A0=A0=A0=A0=A0=A0=A0 /usr/local/bin/

My openacs-config.tcl now has this:

ns_section "ns/db/drivers"
if { $database eq "oracle" } {
=A0=A0=A0 ns_param=A0=A0 ora8=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ${bindir}/ora8.=
so
} else {
=A0=A0=A0 ns_param=A0=A0 postgres=A0=A0=A0=A0=A0=A0 ${bindir}/nspostgres.so=
=A0 ;# Load PostgreSQL driver
=A0=A0=A0 ns_param=A0=A0 pgbin=A0=A0=A0=A0=A0=A0=A0=A0=A0 /usr/local/bin/
}

Thanks.
Dino

=0A=0A=0A      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?138973.15476.qm>