Forum OpenACS Q&A: Re: Request Error: Server startup failed

Collapse
Posted by Tom Brown on
Contents of nsd-postgres:

#!/bin/bash

export PATH=$PATH:/usr/local/pgsql/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib

exec /usr/local/aolserver/bin/nsd $*

--------------------------------------

btw, the start command I am using is /usr/local/aolserver/bin/nsd-postgresql -u nsadmin -t /web/freegeek/freegeek.tcl.

If I start oacs as user nsadmin (rather than root), the nsd-postgres script above appears to work. At least postgresql loads. But other errors are exposed.

As the various packages load, there is a lot of querying on some of them, particularly ones which start "NO FULLQUERY FOR dbqd".

Example:

[01/Jul/2003:08:54:26][1583.1024][-main-] Debug: NO FULLQUERY FOR dbqd..NULL --> using default SQL
[01/Jul/2003:08:54:26][1583.1024][-main-] Notice: Querying '
    select package_key from apm_packages where package_id = '0';'
[01/Jul/2003:08:54:26][1583.1024][-main-] Notice: dbinit: sql(localhost::freegeek): '
    select package_key from apm_packages where package_id = '0'

There are errors on a proc indexer routine.

Example:

[01/Jul/2003:08:31:28][1379.2051][-sched-] Notice: Running scheduled proc search_indexer...
[01/Jul/2003:08:31:28][1379.2051][-sched-] Error: invalid command name "parameter::get"
invalid command name "parameter::get"
    while executing
"parameter::get -package_id $package_id -parameter $name -default $default"
    (procedure "ad_parameter" line 6)
    invoked from within
"ad_parameter -package_id [apm_package_id_from_key search] FtsEngineDriver"
    (procedure "search_indexer" line 3)
    invoked from within
"search_indexer"
    ("eval" body line 1)
    invoked from within
"eval [concat [list $proc] $args]"
    (procedure "ad_run_scheduled_proc" line 43)
    invoked from within
"ad_run_scheduled_proc {f f 60 search_indexer {} 1057064728 0 t}"

Finally, Aolserver no longer returns an error page. Now it returns a blank screen.

Tom