Hi All !
In our setup, we are running OpenACS-3.2.5 on Red Hat 7.1 with PostgreSQL-7.1.3. And it runs just fine, in development as well as production.
We decided to upgrade to Red Hat 8 which has shipped PostgreSQL-7.2.2 with it. While running the index.adp page, we get the message as "Connection to server broken" with following log message
NOTICE: Error occurred while executing PL/pgSQL function sec_rotate_last_visit
NOTICE: line 11 at SQL statement
[22/Apr/2004:16:41:23][16947.40966][-conn0-] Error: Ns_PgExec: result status: 7 message: ERROR: value too lon
g for type character(1)
[22/Apr/2004:16:41:23][16947.40966][-conn0-] Error: dbinit: error(localhost::pbnic,ERROR: value too long for
type character(1)
): 'select sec_rotate_last_visit(1, 1082632283)'
[22/Apr/2004:16:41:23][16947.40966][-conn0-] Error: Filter sec_read_security_info returned error #1: Database
operation "1row" failed (exception NSDB, "Query was not a statement returning rows.")
[22/Apr/2004:16:41:23][16947.40966][-conn0-] Error: tclop: invalid return code from filter proc 'Critical filt
er sec_read_security_info failed.': must be filter_ok, filter_return, or filter_break
NOTICE: Error occurred while executing PL/pgSQL function sec_rotate_last_visit
NOTICE: line 11 at SQL statement
[22/Apr/2004:16:41:26][16947.40966][-conn0-] Error: Ns_PgExec: result status: 7 message: ERROR: value too lon
g for type character(1)
[22/Apr/2004:16:41:26][16947.40966][-conn0-] Error: dbinit: error(localhost::pbnic,ERROR: value too long for
type character(1)
): 'select sec_rotate_last_visit(3, 1082632286)'
[22/Apr/2004:16:41:26][16947.40966][-conn0-] Error: Filter sec_read_security_info returned error #1: Database
operation "1row" failed (exception NSDB, "Query was not a statement returning rows.")
[22/Apr/2004:16:41:26][16947.40966][-conn0-] Error: tclop: invalid return code from filter proc 'Critical filt
er sec_read_security_info failed.': must be filter_ok, filter_return, or filter_break
Can anybody help please ?
Thank you,
Regards.