Forum OpenACS Q&A: Response to newbie: can't get correct path in nsadmin profile

Collapse
Posted by edwin ho on
new problem:
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: nsmain: AOLserver/3.3.1+ad13 starting
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: nsmain: security info: uid=502, euid=502, gid=502, egid=502
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: nsmain: max files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: return: redirecting '404' to 'global/file-not-found.html'
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: return: redirecting '403' to 'global/forbidden.html'
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: modload: loading '/usr/local/aolserver/bin/postgres.so'
[26/Aug/2002:15:12:54][1539.1024][-main-] Warning: modload: failed to load '/usr/local/aolserver/bin/postgres.so': '/usr/local/aolserver/bin/p
ostgres.so: cannot open shared object file: No such file or directory'
[26/Aug/2002:15:12:54][1539.1024][-main-] Error: dbdrv: failed to load driver 'postgres'
[26/Aug/2002:15:12:54][1539.1024][-main-] Error: dbinit: no such default pool 'pool1'
[26/Aug/2002:15:12:54][1539.1024][-main-] Debug: dbinit: no configured pools
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: adp: mapped /*.adp
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nssock.so'
[26/Aug/2002:15:12:54][1539.1024][-main-] Debug: modload: initializing module 'nssock'
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nslog.so'
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: nslog: opened '/usr/local/aolserver/log/edwinx.log'
[26/Aug/2002:15:12:54][1539.1024][-main-] Debug: modload: initializing module 'nslog'
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nssha1.so'
[26/Aug/2002:15:12:54][1539.1024][-main-] Debug: modload: initializing module 'nssha1'
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nscache.so'
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: nscache module version @VER@
[26/Aug/2002:15:12:54][1539.1024][-main-] Debug: modload: initializing module 'nscache'
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nsrewrite.so'
[26/Aug/2002:15:12:54][1539.1024][-main-] Debug: modload: initializing module 'nsrewrite'
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nsxml.so'
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: nsxml module starting
[26/Aug/2002:15:12:54][1539.1024][-main-] Debug: modload: initializing module 'nsxml'
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: conf: [ns/server/edwinx]enabletclpages = 0
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: Loading OpenACS, rooted at /www/edwinx
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: Sourcing /www/edwinx/packages/acs-bootstrap-installer/bootstrap.tcl
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: Bootstrap: sourcing /www/edwinx/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: Bootstrap: sourcing /www/edwinx/packages/acs-bootstrap-installer/tcl/10-utilities-procs.tcl
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: Bootstrap: sourcing /www/edwinx/packages/acs-bootstrap-installer/tcl/20-db-bootstrap-procs.t
cl
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: Bootstrap: sourcing /www/edwinx/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: Bootstrap: sourcing /www/edwinx/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-
procs.tcl
[26/Aug/2002:15:12:54][1539.1024][-main-] Error: Server startup failed: Error during bootstrapping
command "ns_db" is not enabled
    while executing
"ns_db pools"
    (procedure "db_bootstrap_set_db_type" line 72)
    invoked from within
"db_bootstrap_set_db_type database_problem"
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: Sourcing files for postload...
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: Done.
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: Executing initialization code blocks...
[26/Aug/2002:15:12:54][1539.1024][-main-] Notice: QD=Postload files to load: /www/edwinx/www/index-oracle.xql /www/edwinx/www/index-postgresql
.xql /www/edwinx/www/index.xql
[26/Aug/2002:15:12:54][1539.1024][-main-] Debug: QD_LOGGER = Loading /www/edwinx/www/index-oracle.xql

I think one of the problems is not having the postgres module for aolserver. I've downloaded but I don't know how to install it. Which page of the installation documentation teaches me how to compile it and use it with aolserver?