[AOLSERVER] Browser Id

2003-01-16 Thread linqs
Hi
Is there any possibility to find out which web browser a client uses?

regards

linqs



Re: [AOLSERVER] Browser Id

2003-01-16 Thread Andrew Piskorski
On Thu, Jan 16, 2003 at 05:11:06PM +0100, linqs wrote:
 Hi
 Is there any possibility to find out which web browser a client uses?

Um, try looking in your AOLserver access log.  You'll find lines like
this:

140.186.149.81 - - [16/Jan/2003:07:29:34 -0500] POST /register/user-login HTTP/1.1 
302 322 https://www.mysite.com/; Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) 
Gecko/20020830 user_id 0

165.254.130.167 - - [16/Jan/2003:09:26:22 -0500] POST /register/user-login HTTP/1.1 
302 318 https://www.mysite.com; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; 
T312461; Q312461) user_id 0

--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com



Re: [AOLSERVER] Browser Id

2003-01-16 Thread Peter M. Jansson
In a Tcl script or .adp page:

   set headers [ns_conn headers]
   set browser_type [ns_set iget $headers user-agent]

On Thursday, January 16, 2003, at 11:11 AM, linqs wrote:


Hi
Is there any possibility to find out which web browser a client
uses?

regards

linqs



[AOLSERVER] functioning dotlrn

2003-01-16 Thread No Name
Hi all,
I downloaded dotlrn(openacs core packages,openacs non-core packages needed
for dotlrn and dotlrn files) through cvs -z3 -d!
I think someone ist just experimenting on these files so that I can't
install the downloaded one because of some modified files!
Can someone send me please the functioning dotlrn code per email?
It must contain 'openacs core packages','openacs non-core packages needed
for dotlrn' and 'dotlrn files'
thanks in advance!
ps.It is very argent



[AOLSERVER] nsopenssl certificate chain

2003-01-16 Thread Keith Paskett
Is there an nsopenssl equivalent to Apache + MOD SSL/OPEN SSL
SSLCertificateChainFile?

I have a certificate that was signed by a CA certificate that is not
in the netscape browser but a certificate up the chain is.

Root Cert (is in browser)
  |
   -- signs --
   |
   Cert X (not in browser)
 |
  -- signs --
  |
  Cert Y (not in browser)
|
 -- signs --
 |
  My server certificate.

Apache installation instructions from the company that signed the Cert
say to put Root Cert, Cert X, and Cert Y in a file that Apache directive
'SSLCertificateChainFile' points to.

I can install Certy Y in my browser and all works well but I paid
to have my certificate signed (what a racket) so my users wouldn't
have to do that.

- Keith



Re: [AOLSERVER] functioning dotlrn

2003-01-16 Thread Roberto Mello
On Thu, Jan 16, 2003 at 12:36:44PM -0500, No Name wrote:
 Hi all,
 I downloaded dotlrn(openacs core packages,openacs non-core packages needed
 for dotlrn and dotlrn files) through cvs -z3 -d!
 I think someone ist just experimenting on these files so that I can't
 install the downloaded one because of some modified files!
 Can someone send me please the functioning dotlrn code per email?
 It must contain 'openacs core packages','openacs non-core packages needed
 for dotlrn' and 'dotlrn files'

This is an AOLserver list, not an OpenACS/dotLRN list. You'd be better off
asking at the OpenACS forums (http://openacs.org/forums/).

If you downloaded OpenACS HEAD (the development version in CVS) then
you'll probably have problems. You need to grab the 4.6 stable version,
which is available for download at openacs.org (i.e. no need for CVS).

-Roberto

--
+|Roberto Mello   -http://www.brasileiro.net/  |--+
+   Computer Science Graduate Student, Utah State University  +
+   USU Free Software  GNU/Linux Club - http://fslc.usu.edu/ +
Ithinkmyspacebarstoppedworking.



Re: [AOLSERVER] nsopenssl certificate chain

2003-01-16 Thread Scott Goodwin
Hi Keith,

Just append all the CA cert files in the chain into one file, then use
the ServerCAFile param to point to it. These CA cert files should be in
PEM format. We're using that here for our DoD CA chain and it works
great.

/s.

On Thursday, January 16, 2003, at 12:07  PM, Keith Paskett wrote:


Is there an nsopenssl equivalent to Apache + MOD SSL/OPEN SSL
SSLCertificateChainFile?

I have a certificate that was signed by a CA certificate that is not
in the netscape browser but a certificate up the chain is.

Root Cert (is in browser)
  |
   -- signs --
   |
   Cert X (not in browser)
 |
  -- signs --
  |
  Cert Y (not in browser)
|
 -- signs --
 |
  My server certificate.

Apache installation instructions from the company that signed the Cert
say to put Root Cert, Cert X, and Cert Y in a file that Apache
directive
'SSLCertificateChainFile' points to.

I can install Certy Y in my browser and all works well but I paid
to have my certificate signed (what a racket) so my users wouldn't
have to do that.

- Keith



[AOLSERVER] New to AOLServer (using with OACS4.6 head + postgres 7.3.1)

2003-01-16 Thread tammy
Hi

I'm having quite a difficult time getting the nspostgres 3.5 driver to
load in AOLServer 3.5.1.
I am admittedly new to AOLServer, postgres and OACS, but have been
using various opensource packages on unix for ages.

I have lots of details on my problem and the steps I have been going
through to try to work it out. I don't know how much detail is needed
to get help so I'll try to keep it short on first pass and let you
helpful souls ask for details as it goes on. And I hope it doesn't go
on much longer!

I compile my nspostgres just fine ( if you don't count warnings about
enc_one and get_one with different width due to prototype -- just
warnings after all;(  ) and it installs.
It doesn't link with nsdb as I notice is mentioned in an earlier
posting regarding another module:


As the other poster has mentioned, you'll need to explicitly link with
the
nsdb library.  Hmmm.  I need to check nspostgres for that linkage, too.


If I do ldd nspostgres.so however, libnsdb is not listed.

But when I run my AOLServer, I get the following errors in my log file:


[30/Dec/2002:15:08:59][28103.1024][-main-] Notice: modload: loading
'/usr/local/aolserver/bin/nspostgres.so'
[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'
[30/Dec/2002:15:08:59][28103.1024][-main-] Error: dbdrv: failed to
load driver 'postgres'
[30/Dec/2002:15:08:59][28103.1024][-main-] Error: dbinit: no such
default pool 'pool1'
[30/Dec/2002:15:08:59][28103.1024][-main-] Debug: dbinit: no
configured pools



Now the libpq.so does exist and is readable by all.
Other info that supports the libpq.so is alright:


ldconfig -v | grep libpq
libpq.so.3 - libpq.so.3.0



ldconfig sees libpq and it is also set in the shell script that starts
AOLServer (though it shouldn't need to be).

My nspostgres looks alright to me:


# ldd nspostgres.so
ldd /usr/local/aolserver/bin/nspostgres.so
libpq.so.3 = /usr/local/pgsql/lib/libpq.so.3 (0x4001e000)
libnsthread.so = /usr/local/aolserver/lib/libnsthread.so
(0x4003)
libnsd.so = /usr/local/aolserver/lib/libnsd.so (0x40037000)
libtcl8.4.so = /usr/local/tcl/lib/libtcl8.4.so (0x40081000)
libdl.so.2 = /lib/libdl.so.2 (0x4011d000)
libpthread.so.0 = /lib/i686/libpthread.so.0 (0x4012)
libm.so.6 = /lib/i686/libm.so.6 (0x40134000)
libc.so.6 = /lib/i686/libc.so.6 (0x4200)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x40157000)
libresolv.so.2 = /lib/libresolv.so.2 (0x40184000)
libnsl.so.1 = /lib/libnsl.so.1 (0x40195000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)



# ls -l /usr/local/pgsql/lib/libpq.so.3
lrwxrwxrwx1 root root   12 Jan 14 13:12
/usr/local/pgsql/lib/libpq.so.3 - libpq.so.3.0



# ls -l /usr/local/pgsql/lib/libpq.so.3.0
-rwxr-xr-x1 root root81818 Jan 14 13:12
/usr/local/pgsql/lib/libpq.so.3.0



Executing su nsadmin -c  nm /usr/local/pgsql/lib/libpq.so.3 returns
valid output so the library is not corrupted.

Linkage for my AOLServer:


LD_TRACE_LOADED_OBJECTS=true /usr/local/aolserver/bin/nsd -u nsadmin -t
~nsadmin/OpenACS4-config.tcl
libnsd.so = /usr/local/aolserver/lib/libnsd.so (0x40014000)
libnsthread.so = /usr/local/aolserver/lib/libnsthread.so
(0x4005f000)
libtcl8.4.so = /usr/local/tcl/lib/libtcl8.4.so (0x40066000)
libdl.so.2 = /lib/libdl.so.2 (0x40119000)
libpthread.so.0 = /lib/i686/libpthread.so.0 (0x4011c000)
libm.so.6 = /lib/i686/libm.so.6 (0x4013)
libc.so.6 = /lib/i686/libc.so.6 (0x4200)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)


Downloading and running a libpq test program from postgres
documentation online yields success using libpq!


Running a test using pqlib  has no problems:
 cc pq-test.c -I/usr/local/pgsql/include  -o pq-test
-L/usr/local/pgsql/lib
-lpq

Links and runs, successfully finding and using the libpq shared library.

What am I missing about installing nspostgres with AOLServer?!
I just have to mention how much I hate seeing flippant quotes (in my
searches for help with this) from philg with arsdigita of late
mentioning how a 10  year old can have a website up and running with
acs in few hours (or less). Argh:(

Thanks for ANY help!!! :)

   t

btw, i'm over 10.

[EMAIL PROTECTED]

Subverge LLC
www.subverge.com



Re: [AOLSERVER] New to AOLServer (using with OACS4.6 head + postgres 7.3.1)

2003-01-16 Thread Peter M. Jansson
On Thursday, January 16, 2003, at 04:15 PM, tammy wrote:


[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.

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?

Pete.



Re: [AOLSERVER] New to AOLServer (using with OACS4.6 head + postgres 7.3.1)

2003-01-16 Thread tammy
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



Re: [AOLSERVER] New to AOLServer (using with OACS4.6 head + postgres 7.3.1)

2003-01-16 Thread Tim Moss
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




Re: [AOLSERVER] Modules for AS4.0

2003-01-16 Thread Brett Schwarz
I should have followed up earlier on this. Actually, what the problem
was, is that I didn't have nsdb to be loaded in nsd.tcl file, so it
wasn't getting loaded, DOH!

So, you don't need to do any special linking...


On Wed, 2003-01-15 at 08:52, Tim Moss wrote:
 You need to link with nsdb.lib - In AS4 nsdb has been separated out of nsd.

 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 Brett Schwarz
  Sent: 15 January 2003 16:43
  To: [EMAIL PROTECTED]
  Subject: Re: [AOLSERVER] Modules for AS4.0
 
 
  I have that already in my source code, otherwise, it wouldn't compile
  ;^)
 
  On Wed, 2003-01-15 at 08:14, Lamar Owen wrote:
   On Tuesday 14 January 2003 18:31, Brett Schwarz wrote:
Has the module interface changed in 4.0? I am trying to compile a C
module I wrote for AS3.5. It compiles fine, but when I try to
  start AS,
I get undefined symbol error:
  
[14/Jan/2003:15:20:51][14736.1024][-main-] Warning: modload: could not
load /usr/local/aolserver40/bin/nsresult.so:
/usr/local/aolserver40/bin/nsresult.so: undefined symbol: Ns_DbGetRow
[14/Jan/2003:15:20:51][14736.1024][-main-] Fatal: modload: failed to
load module '/usr/local/aolserver40/bin/nsresult.so'
  
   #include nsdb.h
   --
   Lamar Owen
   WGCR Internet Radio
   1 Peter 4:11
  --
  Brett Schwarz
  brett_schwarz AT yahoo.com
 
--
Brett Schwarz
brett_schwarz AT yahoo.com



Re: [AOLSERVER] AOLserver 4: Virtual server fix

2003-01-16 Thread Tim Moss
Peter,

got vhosting with same named virtual server 'test.mysite.net' with different
ports working no problems
(going to the same AOLserver 'test')

also works when you have the same hostname 'test.mysite.net'
with different ports (80 and 8080) going to different AOLservers test and
test8080.

so in my config file (top 'global' section) I have:


# set up the different virtual servers
ns_section  ns/servers
ns_paramtesttest server
ns_paramtest8080test server on 8080

ns_section  ns/modules
ns_paramnssock  ${bindir}/nssock${ext}

ns_section  ns/module/nssock
ns_paramhostname$hostname
ns_paramaddress $address
ns_paramport$httpport


(so far just as you suggested yesterday)

ns_section  ns/module/nssock/servers
ns_paramtesttest.mysite.net
ns_paramtest8080test.mysite.net:8080

(pretty much as you suggested)


then in the bit in the loop (per server config)

if {$servername == test8080} {
ns_section  ns/server/$servername/module/nssock
ns_paramhostname$hostname
ns_paramaddress $address
ns_paramport8080
;# Port for HTTP (typically 80)
ns_section  ns/server/${servername}/modules
ns_paramnssock   ${bindir}/nssock${ext}
}


If I now connect to test.mysite.net  I get my normal testsite index page

If I connect to test.mysite.net:8080 I get a directory listing (as I've not
added anything into the pageroot yet!)
Proves that different ports on the same name go to different virtual
servers.


HTH,



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 Peter M. Jansson
 Sent: 16 January 2003 02:02
 To: [EMAIL PROTECTED]
 Subject: Re: [AOLSERVER] AOLserver 4: Virtual server fix


 On Wednesday, January 15, 2003, at 06:56 PM, Tim Moss wrote:

  OK, all patches applied and rebuilt.
 
  All seems to be working - thank you very much for your help Peter.

 Glad to help.

  By the way here's my config file: (might be a neat way to avoid having a
  huge config file)

 I do something similar, and I allow for sourcing an additional, optional
 file for each virtual (in my for loop, I test for existence of a file, and
 source it if it's there).




Re: [AOLSERVER] New to AOLServer (using with OACS4.6 head + postgres 7.3.1)

2003-01-16 Thread C. R. Oldham
Tammy,

I'm seeing references to both libpq.so.2 and libpq.so.3 in your messages
and error logs.  Are you sure that nspostgres is compiled against the
right version?  And that you have the right version installed?  I know
that PG 7.3.1 caused a rev number change in libpq that was supposed to
happen with 7.3, but the PG team just forgot about it.

--
C. R. Oldham
Director of Technology
NCA CASI



Re: [AOLSERVER] New to AOLServer (using with OACS4.6 head + postgres 7.3.1)

2003-01-16 Thread tammy
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



Re: [AOLSERVER] New to AOLServer (using with OACS4.6 head + postgres 7.3.1)

2003-01-16 Thread Dossy
On 2003.01.16, tammy [EMAIL PROTECTED] wrote:
 # ldd nspostgres.so
 ldd /usr/local/aolserver/bin/nspostgres.so
 libpq.so.3 = /usr/local/pgsql/lib/libpq.so.3 (0x4001e000)
[...]
 Executing su nsadmin -c  nm /usr/local/pgsql/lib/libpq.so.3 returns
 valid output so the library is not corrupted.

What's $LD_LIBRARY_PATH look like?

If /usr/local/pgsql/lib is in your LD_LIBRARY_PATH, but isn't defined in
LD_LIBRARY_PATH when you run /usr/local/aolserver/bin/nsd, then nsd
won't be able to load libpq.so.3 ...

 What am I missing about installing nspostgres with AOLServer?!
 I just have to mention how much I hate seeing flippant quotes (in my
 searches for help with this) from philg with arsdigita of late
 mentioning how a 10  year old can have a website up and running with
 acs in few hours (or less). Argh:(
[...]
 btw, i'm over 10.

Clearly.  Now, if you were a 10 year old, what would your odds be of
setting things up?  :-)

Being the parent of a 3 year old, I am so very fascinated by their
extraordinary problem solving skills.  If my co-workers, over ten times
her age, had one tenth her problem solving skills, they'd all be
superstars to work with.  :-)

-- Dossy

--
Dossy Shiobara   mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)



Re: [AOLSERVER] New to AOLServer (using with OACS4.6 head + postgres 7.3.1)

2003-01-16 Thread Dossy
On 2003.01.16, tammy [EMAIL PROTECTED] wrote:

 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.

But, in your original email, you said:

 Executing su nsadmin -c  nm /usr/local/pgsql/lib/libpq.so.3 returns
 valid output so the library is not corrupted.

How could that have been?  That would have attempted to open libpq.so.3
as user nsadmin -- if nsadmin didn't have the necessary permissions to
get to libpq.so.3 because the directory permissions prevent it, this
doesn't make sense.

Anyway, glad to hear you got it working.  Good luck!

-- Dossy

--
Dossy Shiobara   mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)