Hi,
[30/Dec/2002:15:08:59][28103.1024][-main-] Warning: modload: failed
to
load '/usr/local/aolserver/bin/nspostgres.so': 'libpq.so.2: cannot
open shared object file: No such file or directory'
You may need to explicitly set the LD_LIBRARY_PATH, or copy/symlink
libpq.
so.2 into the aolserver directory.
The LD_LIBRARY_PATH has always been set to include /usr/local/pgsql/lib
which is where libpq.so resides.
I symlinked /usr/local/pgsql/lib/libpq.so.3 to
/usr/local/aolserver/bin/libpq.so.3 (where nspostgres is). I shouldn't
really have to add this to /etc/ld.so.conf, the LD_LIBRARY_PATH and
symlink it into the AOLServer directory though should I? :(
Anyway, I still get the same error:
[16/Jan/2003:13:49:39][14916.1024][-main-] Notice: nsmain:
AOLserver/3.5.1 starting
[16/Jan/2003:13:49:39][14916.1024][-main-] Notice: nsmain: security
info: uid=411, euid=411, gid=604, egid=604
[16/Jan/2003:13:49:39][14916.1024][-main-] Notice: nsmain: max files:
FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
[16/Jan/2003:13:49:39][14916.1024][-main-] Notice: return: redirecting
'404' to 'global/file-not-found.html'
[16/Jan/2003:13:49:39][14916.1024][-main-] Notice: return: redirecting
'403' to 'global/forbidden.html'
[16/Jan/2003:13:49:39][14916.1024][-main-] Notice: modload: loading
'/usr/local/aolserver/bin/nspostgres.so'
[16/Jan/2003:13:49:39][14916.1024][-main-] Warning: modload: failed to
load '/usr/local/aolserver/bin/nspostgres.so': 'libpq.so.3: cannot open
shared object file: No such file or directory'
[16/Jan/2003:13:49:39][14916.1024][-main-] Error: dbdrv: failed to load
driver 'postgres'
[16/Jan/2003:13:49:39][14916.1024][-main-] Error: dbinit: no such
default pool 'pool1'
[16/Jan/2003:13:49:39][14916.1024][-main-] Debug: dbinit: no configured
pools
Another possibility -- have you specified that AOLserver should chroot?
If so, is libpq.so.2 somewhere AOLserver will be able to find it once
chrooted?
I am not chrooting aolserver.
Pete.
Thanks Pete, at least I feel like I'm doing something on this!
t
[EMAIL PROTECTED]
Subverge LLC
www.subverge.com