ARGH
Well of course it turned out to be something totally stupid and lame. I
had the /usr/local/pgsql directory permissions set to 750 and the
AOLServer user is not in the group to read this directory:( I don't
know how many times I checked this damn path either. All other
directories and the lib itself were fine with permissions. I set it to
751 and all is well.
Thanks for all the help and sorry for the taking up your time!
But man can I say I am happy to see this:
[16/Jan/2003:15:21:44][15256.1024][-main-] Notice: modload: loading
'/usr/local/aolserver/bin/nspostgres.so'
[16/Jan/2003:15:21:44][15256.1024][-main-] Notice: PostgreSQL loaded.
:)
t
On Thursday, January 16, 2003, at 02:07 PM, Tim Moss wrote:
Maybe in your nsd.tcl file stick a log line like:
ns_log debug "LD_LIBRARY_PATH = '$env(LD_LIBRARY_PATH)'"
just to make sure!
regards,
Tim Moss
-----Original Message-----
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On
Behalf
Of tammy
Sent: 16 January 2003 22:00
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] New to AOLServer (using with OACS4.6 head +
postgres 7.3.1)
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
[EMAIL PROTECTED]
Subverge LLC
2554 Lincoln Blvd, # 215
Venice, CA 90291
www.subverge.com
direct 310.314.1901
fax 310.314.0792