Forum OpenACS Q&A: nsd.tcl configuration problem

Collapse
Posted by Amjad Alsharif on
Sorry for posting the problem twice, but upon checking the log files, I have found the following problems indicated in the log file. To be frank, I do not understand, I have successfully installed postgres driver and its listed in /aolserver/bin and for fairness, I did link libpq.so.2.0 with root as a user. your help is much appreciated ..! Thanks
[02/Sep/2000:01:55:40][2727.1024][-main-] Warning: pid 2707 does not 
exist

[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: AOLserver/3.0 
starting.
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: security info: 
uid=502, euid=502, gid=503, egid=503
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: max files: 
FD_SETSIZE = 1024,rl_cur = 1024, rl_max = 1024
.... (cut text)
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: conf: 
[ns/server/myserver]directoryfile = 
index.adp,index.tcl,index.html,index.htm
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: conf: 
[ns/server/myserver]pageroot = /web/myserver/www
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: conf: 
[ns/server/myserver]directorylisting = fancy
..... (cut text)
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: loading: 
/aolserver/bin/postgres.so
[02/Sep/2000:01:55:40][2727.1024][-main-] Warning: could not load 
/aolserver/bin/postgres.so:  libpq.so.2.1: cannot open shared object 
file: No such file or directory
[02/Sep/2000:01:55:40][2727.1024][-main-] Error: nsd.db: could not 
load driver:postgres
[02/Sep/2000:01:55:40][2727.1024][-main-] Error: nsd.db: no such 
default pool: main
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: nsd.adp: mapped 
/*.adp
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: loading: 
/aolserver/bin/nssock.so
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: loading: 
/aolserver/bin/nslog.so
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: nslog: opened: 
/aolserver/servers/myserver/modules/nslog/access.log 
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: loading: 
/aolserver/bin/nsperm.so
[02/Sep/2000:01:55:40][2727.1024][-main-] Notice: loading: 
/aolserver/bin/libnsjava.so
[02/Sep/2000:01:55:40][2727.1024][-main-] Warning: could not load 
/aolserver/bin/libnsjava.so:  /aolserver/bin/libnsjava.so: cannot open 
shared object file: Nosuch file or directory
[02/Sep/2000:01:55:40][2727.1024][-main-] Fatal: could not load: 
/aolserver/bin/libnsjava.so               

                                                                                                                                                                                                                                          
Collapse
Posted by Jade Rubick on
Did you name your server myserver? I.e. do you have a directory /web/myserver/ ?
Collapse
Posted by Don Baccus on
You've either not compiled the postgres driver, or it's not in the bin directory (you didn't "make install" or copy it manually?), as it isn't being found.

Ditty nsjava but you shouldn't need that for now (if you want webmail right off the bat you must pick up nsjava from sourceforge.net, install Blackdown's JDK, etc).

Collapse
Posted by Amjad Alsharif on
Well for the first error I have copied libpq* to /usr/bin as Jade Rubick kindly pointed out, and that solved the loading of postgres.

As for the second error "nsjava" I have commented it out for now; but it would be greate to know were one can download Blackdown's JDK for linux 6.2.

Collapse
Posted by Jade Rubick on
Just ending the pre tag.
Collapse
Posted by Jade Rubick on
Just ending the pre tag again (there are two pre tags)
Collapse
Posted by Jade Rubick on
Instead of copying, the posting suggested linking, and putting the linnks in the /usr/lib directory.