Forum OpenACS Q&A: Re: AOLServer just dies on Mac OS X

Collapse
Posted by Bruno Mattarollo on

I enabled debug on the server and these are the last lines in my log before the server dies:

[19/Apr/2003:12:08:21][476.14741232][-conn2-] Debug: PgBindCmd: sql = 
            select 1
            where 't' = acs_permission__permission_p(:object_id, :party_id, :privilege)
        
[19/Apr/2003:12:08:21][476.14741232][-conn2-] Debug: PgBindCmd: bind var: object_id = 304
[19/Apr/2003:12:08:21][476.14741232][-conn2-] Debug: PgBindCmd: bind var: party_id = 292
[19/Apr/2003:12:08:21][476.14741232][-conn2-] Debug: PgBindCmd: bind var: privilege = write
[19/Apr/2003:12:08:21][476.14741232][-conn2-] Debug: PgBindCmd: query with bind variables substituted = 
            select 1
            where 't' = acs_permission__permission_p('304', '292', 'write')
        
[19/Apr/2003:12:08:21][476.14741232][-conn2-] Notice: Querying '
            select 1
            where 't' = acs_permission__permission_p('304', '292', 'write');'
[19/Apr/2003:12:08:21][476.14741232][-conn2-] Notice: dbinit: sql(localhost::development): '
            select 1
            where 't' = acs_permission__permission_p('304', '292', 'write')
        '
Doing the select from psql gives the following:
development=# select 1 where 't' = acs_permission__permission_p('304','292','write');
 ?column? 
----------
        1
(1 row)
:-?