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 SiteSpeed Ltd Mobile: 0 77 9613 4891 Email: [EMAIL PROTECTED] Website: http://www.site-speed.com This email contains information from SiteSpeed Ltd, which may be privileged or confidential. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us immediately. > -----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 >
