I thought I might profitably spend the easter trying to get the
postgres port of ACS up and running, and I feel as though I've done
pretty well so far.
I'm using RedHat6.2, Postgresql6.5, and the latest version of ACS/PG
and the driver. (I assume they are the latest, I only downloaded them
last night.) And the binary of AOLServer 3.
I think most everything is working as it should be, insofar as I don't
get any error messages when I load the data model, and the postgres
drivers seem to query the database and return a response OK. However,
I can't find away around this error message that I keep getting.
From my logs:
-- quote begins --
[23/Apr/2000:20:40:14][25480.1026][-sched-] Notice: Querying '
select section_url_stub
from content_sections
where scope='public'
and requires_registration_p = 't';'
[23/Apr/2000:20:40:14][25480.1026][-sched-] Notice: nsd.db:
sql(localhost::acspg):
select section_url_stub
from content_sections
where scope='public'
and requires_registration_p = 't'
[23/Apr/2000:20:40:14][25480.1026][-sched-] Notice: Done running
scheduled proc ad_filter_restricted_content_sections.
[23/Apr/2000:20:40:26][25480.11790340][-conn0-] Notice: starting:
waiting for connections
[23/Apr/2000:20:40:26][25480.11790340][-conn0-] Notice: Querying
'select nextval('sec_id_seq') from dual;'
[23/Apr/2000:20:40:26][25480.11790340][-conn0-] Notice: nsd.db:
sql(localhost::acspg): select nextval('sec_id_seq') from dual
[23/Apr/2000:20:40:26][25480.11790340][-conn0-] Notice: Querying
'select nextval('sec_id_seq') from dual;'
[23/Apr/2000:20:40:26][25480.11790340][-conn0-] Notice: nsd.db:
sql(localhost::acspg): select nextval('sec_id_seq') from dual
[23/Apr/2000:20:40:27][25480.11790340][-conn0-] Notice: generating 1
random seed...
[23/Apr/2000:20:40:27][25480.11790340][-conn0-] Notice: seed
generation complete.
[23/Apr/2000:20:40:27][25480.11790340][-conn0-] Notice: Querying '
insert into sec_sessions(session_id, user_id, token, secure_token,
browser_id,
last_ip, last_hit)
values(2, null, 'FPBcU0Aiu0mVX68Ar9Uxr00azTDdSItT', '', 1,
'192.168.1.1', 956518827);'
[23/Apr/2000:20:40:27][25480.11790340][-conn0-] Notice: nsd.db:
sql(localhost::acspg):
insert into sec_sessions(session_id, user_id, token, secure_token,
browser_id,
last_ip, last_hit)
values(2, null, 'FPBcU0Aiu0mVX68Ar9Uxr00azTDdSItT', '', 1,
'192.168.1.1', 956518827)
[23/Apr/2000:20:40:27][25480.11790340][-conn0-] Notice: Querying
'select sec_rotate_last_visit(1, 956518827);'
[23/Apr/2000:20:40:27][25480.11790340][-conn0-] Error: Ns_PgExec:
result status: 7 message: ERROR: No such function 'bpchar' with the
specified attributes
[23/Apr/2000:20:40:27][25480.11790340][-conn0-] Notice: nsd.db:
sql(localhost::acspg): select sec_rotate_last_visit(1, 956518827)
[23/Apr/2000:20:40:27][25480.11790340][-conn0-] Error: Filter
sec_read_security_info returned error #1: Database operation "1row"
failed (exception NSDB, "Query was not a statement returning rows.")
[23/Apr/2000:20:40:27][25480.11790340][-conn0-] Error: nsd.tcl:
Invalid return code from filter proc: Critical filter
sec_read_security_info failed. (must be filter_ok, filter_return, or
filter_break)
-- quote ends --
I have some idea that this might have something to do with the new
permissions system in AOLServer3 (I've been using 2.3 till now) but
despite scrutinizing the manual, I can't see where I might have
anything wrong.
I'm starting up AOLserver using:
bin/nsd76 -u nsadmin -c acspg.ini
which *seems* right to me, but I've had problems with Aolserver
wanting to be started as root in the past before it would serve
pages. However, everything in the docs says AOLServer 3 won't run
as root, so I don't think it's that.
Any clues?