Problems with nsopenssl-2.1a(compilation) and nsopenssl-3.0beta26(runtime)
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > AOL Webserver > Problems with nsopenssl-2.1a(compilation) and nsopenssl-3.0beta26(runtime)




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Problems with nsopenssl-2.1a(compilation) and nsopenssl-3.0beta26(runtime)  
Pedro Liska


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-07 06:11 AM

Hi,

I got AOLserver 4.5 running my website with no problems. But I also
need https to work and that's where things got nasty. I'm aiming for
AOLserver 4.5 with nsopenssl-2.1a but I also tried getting
nsopenssl-3.0beta26 to work.

When gmake'ing nsopenssl-2.1a I get the following error:

------------------------------------------------------------------
[root@predevlms nsopenssl-2.1a]# gmake OPENSSL=/usr/local/ssl
gcc -pipe -I/usr/local/ssl/include -O2 -Wall -Wno-implicit-int
-fno-strict-aliasing -fPIC -I/usr/local/aolserver/include
-I/usr/local/aolserver/include -DNO_CONST -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1
-D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
-DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DPEEK_XCLOSEIM=1
-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
-DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
-DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1
-DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
-DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
-DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
-DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
-DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1
-DHAVE_SYS_IOCTL_H=1 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
-DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1
-DHAVE_GETNAMEINFO=1 -c -o nsopenssl.o nsopenssl.c
nsopenssl.c: In function `Ns_ModuleInit':
nsopenssl.c:167: warning: passing arg 3 of `Ns_DriverInit' from
incompatible pointer type
nsopenssl.c:167: error: too many arguments to function `Ns_DriverInit'
nsopenssl.c: In function `NsOpenSSLGetModuleName':
nsopenssl.c:190: warning: unused variable `sdPtr'
nsopenssl.c: In function `NsOpenSSLGetSockServerSSLContext':
nsopenssl.c:228: error: `firstSSLDriverPtr' undeclared (first use in
this function)
nsopenssl.c:228: error: (Each undeclared identifier is reported only once
nsopenssl.c:228: error: for each function it appears in.)
nsopenssl.c: In function `NsOpenSSLGetSockClientSSLContext':
nsopenssl.c:257: error: `firstSSLDriverPtr' undeclared (first use in
this function)
nsopenssl.c: At top level:
nsopenssl.c:850: error: syntax error before "Ns_Buf"
nsopenssl.c: In function `OpenSSLProc':
nsopenssl.c:851: error: number of arguments doesn't match prototype
nsopenssl.c:117: error: prototype declaration
nsopenssl.c:853: error: `sock' undeclared (first use in this function)
nsopenssl.c:856: error: `cmd' undeclared (first use in this function)
nsopenssl.c:870: error: structure has no member named `sdPtr'
nsopenssl.c:871: error: structure has no member named `sdPtr'
nsopenssl.c:872: error: `sdPtr' undeclared (first use in this function)
nsopenssl.c:891: error: `bufs' undeclared (first use in this function)
nsopenssl.c:901: error: `nbufs' undeclared (first use in this function)
nsopenssl.c: At top level:
nsopenssl.c:41: warning: 'RCSID' defined but not used
gmake: *** [nsopenssl.o] Error 1
------------------------------------------------------------------



So decided to give nsopenssl-3.0beta26 a shot. The building of the
source and installation went successfully but when running AOLserver I
get the following error:

------------------------------------------------------------------
[root@predevlms ~]# cat run-aol4-server
/usr/local/aolserver/bin/nsd -u pliska -g nmont -ft
/usr/local/aolserver/neumont-dev.tcl -b 127.0.0.1:80
[root@predevlms ~]# ./run-aol4-server
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: prebind:
bound: 127.0.0.1:80
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: nsmain:
AOLserver/4.5.0 starting
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: nsmain:
security info: uid=500, euid=500, gid=504, egid=504
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: nsmain: 
max
files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: encoding
: loaded: utf-8
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
fastpath[neumont-dev]: mapped GET /
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
fastpath[neumont-dev]: mapped HEAD /
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
fastpath[neumont-dev]: mapped POST /
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
adp[neumont-dev]: mapped GET /*.adp
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
adp[neumont-dev]: mapped HEAD /*.adp
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
adp[neumont-dev]: mapped POST /*.adp
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modload:
loading '/usr/local/aolserver/bin/nssock.so'
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modload:
loading '/usr/local/aolserver/bin/nslog.so'
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: nslog: o
pened
'/usr/local/aolserver/servers/neumont-dev/log/neumont-dev.log'
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modload:
loading '/usr/local/aolserver/bin/nsdb.so'
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modload:
loading '/usr/local/aolserver/bin/ora8.so'
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: ora8 dri
ver
LobBufferSize = 16384
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: ora8 dri
ver
PrefetchRows = 0
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: ora8 dri
ver
PrefetchMemory = 0
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: Loaded
ArsDigita Oracle Driver version 2.7, built on 15:17:54/Mar 28 2006
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modload:
loading '/usr/local/aolserver/bin/nspasswd.so'
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modload:
loading '/usr/local/aolserver/bin/nsopenssl.so'
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: nsopenss
l:
generating 512-bit temporary RSA key ...
[22/Jan/2007:16:04:43][6250.3086841536][-main-] Fatal: received 
fatal signal 11
./run-aol4-server: line 1: 6250 Aborted /usr/local/aolserver/bin/nsd
-u pliska -g nmont -ft /usr/local/aolserver/neumont-dev.tcl -b
127.0.0.1:80
------------------------------------------------------------------

My Linux box has the following software/specs:
- Tcl 8.4
- AOLserver 4.5
- OpenSSL 0.9.8d
- glibc 2.3.4-2.25
- Red Hat Enterprise Linux ES release 4
- CPU Arch: i686-redhat-linux

If you need more info about my system, just let me know. I think I've
read some posts in the past where you can send some flags to the
./config executable before executing gmake so you get more debug
information. I'm willing to try those out (with some direction) if you
thing it will help.

Please let me know if you see where I'm going wrong. Any help would be
appreciated.

Thank you!

Pedro

PS: This is the first time I post to the AOLserver's mailing list so
let me know if I'm screwing things up somewhere.







[ Post a follow-up to this message ]



    Re: Problems with nsopenssl-2.1a(compilation) and nsopenssl-3.0beta26(runtime)  
Scott Goodwin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-07 06:11 AM

nsopenssl 2.x won't work with AOLserver 4.5.x.

nsopenssl-3.0beta26 is segfaulting when generating temporary 512-bit
keys. This was fixed a while back -- go grab the cvs copy of
nsopenssl from sourceforge. I just compiled it with AOLserver 4.5.0
and it runs, though it gives me an error indicating that there are no
shared ciphers between the browser and nsopenssl when I try to
connect. Let me know if you get the same error.

/s.

On Jan 22, 2007, at 8:12 PM, Pedro Liska wrote:

> Hi,
>
> I got AOLserver 4.5 running my website with no problems. But I also
> need https to work and that's where things got nasty. I'm aiming for
> AOLserver 4.5 with nsopenssl-2.1a but I also tried getting
> nsopenssl-3.0beta26 to work.
>
> When gmake'ing nsopenssl-2.1a I get the following error:
>
> ------------------------------------------------------------------
> [root@predevlms nsopenssl-2.1a]# gmake OPENSSL=/usr/local/ssl
> gcc -pipe -I/usr/local/ssl/include -O2 -Wall -Wno-implicit-int
> -fno-strict-aliasing -fPIC -I/usr/local/aolserver/include
> -I/usr/local/aolserver/include -DNO_CONST -DHAVE_LIMITS_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1
> -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
> -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DPEEK_XCLOSEIM=1
> -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
> -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
> -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1
> -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
> -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
> -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
> -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
> -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
> -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
> -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
> -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1
> -DHAVE_SYS_IOCTL_H=1 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
> -DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1
> -DHAVE_GETNAMEINFO=1 -c -o nsopenssl.o nsopenssl.c
> nsopenssl.c: In function `Ns_ModuleInit':
> nsopenssl.c:167: warning: passing arg 3 of `Ns_DriverInit' from
> incompatible pointer type
> nsopenssl.c:167: error: too many arguments to function `Ns_DriverInit'
> nsopenssl.c: In function `NsOpenSSLGetModuleName':
> nsopenssl.c:190: warning: unused variable `sdPtr'
> nsopenssl.c: In function `NsOpenSSLGetSockServerSSLContext':
> nsopenssl.c:228: error: `firstSSLDriverPtr' undeclared (first use in
> this function)
> nsopenssl.c:228: error: (Each undeclared identifier is reported
> only once
> nsopenssl.c:228: error: for each function it appears in.)
> nsopenssl.c: In function `NsOpenSSLGetSockClientSSLContext':
> nsopenssl.c:257: error: `firstSSLDriverPtr' undeclared (first use in
> this function)
> nsopenssl.c: At top level:
> nsopenssl.c:850: error: syntax error before "Ns_Buf"
> nsopenssl.c: In function `OpenSSLProc':
> nsopenssl.c:851: error: number of arguments doesn't match prototype
> nsopenssl.c:117: error: prototype declaration
> nsopenssl.c:853: error: `sock' undeclared (first use in this function)
> nsopenssl.c:856: error: `cmd' undeclared (first use in this function)
> nsopenssl.c:870: error: structure has no member named `sdPtr'
> nsopenssl.c:871: error: structure has no member named `sdPtr'
> nsopenssl.c:872: error: `sdPtr' undeclared (first use in this
> function)
> nsopenssl.c:891: error: `bufs' undeclared (first use in this function)
> nsopenssl.c:901: error: `nbufs' undeclared (first use in this
> function)
> nsopenssl.c: At top level:
> nsopenssl.c:41: warning: 'RCSID' defined but not used
> gmake: *** [nsopenssl.o] Error 1
> ------------------------------------------------------------------
>
>
>
> So decided to give nsopenssl-3.0beta26 a shot. The building of the
> source and installation went successfully but when running AOLserver I
> get the following error:
>
> ------------------------------------------------------------------
> [root@predevlms ~]# cat run-aol4-server
> /usr/local/aolserver/bin/nsd -u pliska -g nmont -ft
> /usr/local/aolserver/neumont-dev.tcl -b 127.0.0.1:80
> [root@predevlms ~]# ./run-aol4-server
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: prebin
d:
> bound: 127.0.0.1:80
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: nsmain
:
> AOLserver/4.5.0 starting
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: nsmain
:
> security info: uid=500, euid=500, gid=504, egid=504
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: nsmain
: max
> files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: encodi
ng:
> loaded: utf-8
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
> fastpath[neumont-dev]: mapped GET /
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
> fastpath[neumont-dev]: mapped HEAD /
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
> fastpath[neumont-dev]: mapped POST /
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
> adp[neumont-dev]: mapped GET /*.adp
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
> adp[neumont-dev]: mapped HEAD /*.adp
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice:
> adp[neumont-dev]: mapped POST /*.adp
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modloa
d:
> loading '/usr/local/aolserver/bin/nssock.so'
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modloa
d:
> loading '/usr/local/aolserver/bin/nslog.so'
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: nslog:
 opened
> '/usr/local/aolserver/servers/neumont-dev/log/neumont-dev.log'
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modloa
d:
> loading '/usr/local/aolserver/bin/nsdb.so'
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modloa
d:
> loading '/usr/local/aolserver/bin/ora8.so'
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: ora8 d
river
> LobBufferSize = 16384
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: ora8 d
river
> PrefetchRows = 0
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: ora8 d
river
> PrefetchMemory = 0
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: Loaded
> ArsDigita Oracle Driver version 2.7, built on 15:17:54/Mar 28 2006
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modloa
d:
> loading '/usr/local/aolserver/bin/nspasswd.so'
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: modloa
d:
> loading '/usr/local/aolserver/bin/nsopenssl.so'
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Notice: nsopen
ssl:
> generating 512-bit temporary RSA key ...
> [22/Jan/2007:16:04:43][6250.3086841536][-main-] Fatal: receive
d
> fatal signal 11
> ./run-aol4-server: line 1: 6250 Aborted /usr/local/aolserver/bin/nsd
> -u pliska -g nmont -ft /usr/local/aolserver/neumont-dev.tcl -b
> 127.0.0.1:80
> ------------------------------------------------------------------
>
> My Linux box has the following software/specs:
> - Tcl 8.4
> - AOLserver 4.5
> - OpenSSL 0.9.8d
> - glibc 2.3.4-2.25
> - Red Hat Enterprise Linux ES release 4
> - CPU Arch: i686-redhat-linux
>
> If you need more info about my system, just let me know. I think I've
> read some posts in the past where you can send some flags to the
> ./config executable before executing gmake so you get more debug
> information. I'm willing to try those out (with some direction) if you
> thing it will help.
>
> Please let me know if you see where I'm going wrong. Any help would be
> appreciated.
>
> Thank you!
>
> Pedro
>
> PS: This is the first time I post to the AOLserver's mailing list so
> let me know if I'm screwing things up somewhere.
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to
> <listserv@listserv.aol.com> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the
> Subject: field of your email blank.







[ Post a follow-up to this message ]



    Re: Problems with nsopenssl-2.1a(compilation) and nsopenssl-3.0beta26(runtime)  
Pedro Liska


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-07 06:11 PM

I grabbed nsopenssl from cvs and still got the same error. I included what I
did below. Do you think starting from a fresh Red Hat ES 4 install would
make a difference?

I'm pretty much at the point that if someone told me that throwing the IBM
R50 thinkpad (where I'm testing this stuff) off a 50 store building would
make things work, I would not hesitate to do it =)

Thanks for your help Scott!

-- Pedro

PS: Also thanks for informing me that nsopenssl 2.x won't work with
AOLserver 4.5.x

[root@predevlms src]# cvs
-d:pserver:anonymous@aolserver.cvs.sourceforge.net:/cvsroot/aolserver
login
Logging in to :
pserver:anonymous@aolserver.cvs.sourceforge.net:2401/cvsroot/aolserver
CVS password:
[root@predevlms src]# cvs -z3 -
d:pserver:anonymous@aolserver.cvs.sourceforge.net:/cvsroot/aolserver co -P
nsopenssl
[root@predevlms src]# cd nsopenssl/
[root@predevlms nsopenssl]# export OPENSSL=/usr/local/ssl
[root@predevlms nsopenssl]# gmake
gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -Wall
-Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/aolserver/include
-I/usr/local/aolserver/include  -DNO_CONST  -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1
-DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1
-DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
-DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
-DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
-DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
-DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
-DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1
-c -o nsopenssl.o nsopenssl.c
nsopenssl.c: In function `Ns_ModuleInit':
nsopenssl.c:84: warning: unused variable `i'
nsopenssl.c: In function `InitServerState':
nsopenssl.c:204: warning: too few arguments for format
nsopenssl.c: At top level:
nsopenssl.c:37: warning: 'RCSID' defined but not used
nsopenssl.c:743: warning: 'ThreadDynlockCreateCallback' defined but not used
nsopenssl.c:776: warning: 'ThreadDynlockLockCallback' defined but not used
nsopenssl.c:804: warning: 'ThreadDynlockDestroyCallback' defined but not
used
gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -Wall
-Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/aolserver/include
-I/usr/local/aolserver/include  -DNO_CONST  -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1
-DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1
-DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
-DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
-DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
-DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
-DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
-DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1
-c -o sslcontext.o sslcontext.c
sslcontext.c: In function `SSLContextCertFileInit':
sslcontext.c:1482: warning: too few arguments for format
sslcontext.c: At top level:
sslcontext.c:37: warning: 'RCSID' defined but not used
gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -Wall
-Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/aolserver/include
-I/usr/local/aolserver/include  -DNO_CONST  -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1
-DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1
-DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
-DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
-DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
-DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
-DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
-DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1
-c -o ssl.o ssl.c
ssl.c: In function `NsOpenSSLConnCreate':
ssl.c:88: warning: unused variable `status'
ssl.c:89: warning: unused variable `n'
ssl.c: In function `NsOpenSSLConnOp':
ssl.c:639: warning: unused variable `socket'
ssl.c: At top level:
ssl.c:34: warning: 'RCSID' defined but not used
gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -Wall
-Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/aolserver/include
-I/usr/local/aolserver/include  -DNO_CONST  -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1
-DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1
-DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
-DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
-DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
-DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
-DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
-DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1
-c -o tclcmds.o tclcmds.c
tclcmds.c: In function `NsTclOpenSSLSockOpenObjCmd':
tclcmds.c:621: warning: implicit declaration of function
`Ns_OpenSSLX509CertVerify'
tclcmds.c: In function `NsTclOpenSSLSockListenObjCmd':
tclcmds.c:651: warning: unused variable `thisServer'
tclcmds.c: In function `NsTclOpenSSLSockNReadCmd':
tclcmds.c:870: warning: unused variable `thisServer'
tclcmds.c: In function `NsTclOpenSSLSockCheckCmd':
tclcmds.c:921: warning: unused variable `thisServer'
tclcmds.c: In function `NsTclOpenSSLSockSelectCmd':
tclcmds.c:966: warning: unused variable `thisServer'
tclcmds.c: At top level:
tclcmds.c:34: warning: 'RCSID' defined but not used
gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -Wall
-Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/aolserver/include
-I/usr/local/aolserver/include  -DNO_CONST  -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1
-DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1
-DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
-DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
-DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
-DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
-DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
-DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1
-c -o x509.o x509.c
x509.c:34: warning: 'RCSID' defined but not used
/usr/local/aolserver/bin/tclsh8.4 /usr/local/aolserver/bin/nsremove.tcl
libnsopenssl.so
gcc -pipe -shared -nostartfiles  -o libnsopenssl.so sslcontext.o ssl.o
tclcmds.o x509.o   \
-L/usr/local/ssl/lib -lssl -lcrypto  -L/usr/local/aolserver/lib -lnsd
-lnsthread -L/usr/local/aolserver/lib -ltcl8.4 -ldl  -lpthread -lieee -lm
-lgcc_s  -Wl,-rpath,/usr/local/aolserver/lib
/usr/local/aolserver/bin/tclsh8.4 /usr/local/aolserver/bin/nsremove.tcl
nsopenssl.so
gcc -pipe -shared -nostartfiles  -o nsopenssl.so
nsopenssl.o-L/usr/local/ssl/lib -lssl -lcrypto -L. -lnsopenssl
-L/usr/local/aolserver/lib -lnsd -lnsthread -L/usr/local/aolserver/lib -
ltcl8.4 -ldl  -lpthread -lieee -lm  -lgcc_s
-Wl,-rpath,/usr/local/aolserver/lib
ar rv libnsopenssl.a sslcontext.o ssl.o tclcmds.o x509.o
ar: creating libnsopenssl.a
a - sslcontext.o
a - ssl.o
a - tclcmds.o
a - x509.o
ranlib libnsopenssl.a
[root@predevlms nsopenssl]# gmake install
/usr/local/aolserver/bin/install-sh -c https.tcl/usr/local/aolserver/modules
/tcl
/usr/local/aolserver/bin/tclsh8.4 /usr/local/aolserver/bin/nsinstall.tcl -d
/usr/local/aolserver/bin -e nsopenssl.so
installed: /usr/local/aolserver/bin/nsopenssl.so (0755)
/usr/local/aolserver/bin/tclsh8.4 /usr/local/aolserver/bin/nsinstall.tcl -d
/usr/local/aolserver/lib -e libnsopenssl.so
installed: /usr/local/aolserver/lib/libnsopenssl.so (0755)
/usr/local/aolserver/bin/tclsh8.4 /usr/local/aolserver/bin/nsinstall.tcl -d
/usr/local/aolserver/lib libnsopenssl.a
installed: /usr/local/aolserver/lib/libnsopenssl.a (0644)
ranlib /usr/local/aolserver/lib/libnsopenssl.a
[root@predevlms nsopenssl]# cd /usr/local/aolserver/bin/
[root@predevlms bin]# ll
total 1596
-rwxr-xr-x  1 pliska nmont    1913 Aug  8  2005 ini2tcl.tcl
-rw-r--r--  1 pliska nmont   16731 Apr 13  2006 init.tcl
-rwxr-xr-x  1 pliska nmont    2255 Jun 27  2006 install-sh
-rwxr-xr-x  1 pliska nmont    2286 Jan  2 16:52 nscgi.so
-rwxr-xr-x  1 pliska nmont    2281 Jan  2 16:52 nscp.so
-rwxr-xr-x  1 pliska nmont    5444 Jan  2 16:52 nsd
-rwxr-xr-x  1 pliska nmont    2281 Jan  2 16:52 nsdb.so
-rwxr-xr-x  1 pliska nmont    2453 Apr 28  2006 nsinstall-man.sh
-rw-r--r--  1 pliska nmont    3449 Jun 25  2006 nsinstall.tcl
-rwxr-xr-x  1 pliska nmont    2286 Jan  2 16:52 nslog.so
-rw-r--r--  1 pliska nmont    2179 Oct  8  2005 nsmakeall.tcl
-rwxr-xr-x  1 root   root  1209570 Jan 23 12:12 nsopenssl.so
-rwxr-xr-x  1 pliska nmont   88805 Jan  2 17:35 nsoralce.so
-rwxr-xr-x  1 pliska nmont  110065 Jan 18 16:51 nspasswd.so
-rwxr-xr-x  1 pliska nmont    2287 Jan  2 16:52 nsperm.so
-rw-r--r--  1 pliska nmont    1673 Aug 18  2005 nsremove.tcl
-rwxr-xr-x  1 pliska nmont    2287 Jan  2 16:52 nssock.so
-rwxr-xr-x  1 pliska nmont    5689 Jan  2 16:52 nstclsh
-rwxr-xr-x  1 pliska nmont   16997 Jan  2 16:51 nsthreadtest
lrwxrwxrwx  1 root   root       11 Jan  2 17:36 ora8.so -> nsoralce.so
-rw-r--r--  1 pliska nmont    1759 Aug  8  2005 tcl2ini.tcl
-rwxr-xr-x  1 pliska nmont    5704 Jan  2 16:49 tclsh8.4
[root@predevlms bin]# cat /home/pliska/run-aol4-server
/usr/local/aolserver/bin/nsd -u pliska -g nmont -ft
/usr/local/aolserver/neumont-dev.tcl -b 127.0.0.1:80
[root@predevlms bin]# /home/pliska/run-aol4-server
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: prebind:
 bound:
127.0.0.1:80
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nsmain:
AOLserver/4.5.0 starting
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nsmain: 
security
info: uid=500, euid=500, gid=504, egid=504
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nsmain: 
max files:
FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: encoding
: loaded:
utf-8
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice:
fastpath[neumont-dev]: mapped GET /
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice:
fastpath[neumont-dev]: mapped HEAD /
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice:
fastpath[neumont-dev]: mapped POST /
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: adp[
neumont-dev]:
mapped GET /*.adp
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: adp[
neumont-dev]:
mapped HEAD /*.adp
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: adp[
neumont-dev]:
mapped POST /*.adp
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modload:
 loading
'/usr/local/aolserver/bin/nssock.so'
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modload:
 loading
'/usr/local/aolserver/bin/nslog.so'
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nslog: o
pened
'/usr/local/aolserver/servers/neumont-dev/log/neumont-dev.log'
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modload:
 loading
'/usr/local/aolserver/bin/nsdb.so'
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modload:
 loading
'/usr/local/aolserver/bin/ora8.so'
[23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: ora8 dri
ver
LobBufferSize = 16384
[23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: ora8 dri
ver
PrefetchRows = 0
[23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: ora8 dri
ver
PrefetchMemory = 0
[23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: Loaded A
rsDigita
Oracle Driver version 2.7, built on 15:17:54/Mar 28 2006
[23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: modload:
 loading
'/usr/local/aolserver/bin/nspasswd.so'
[23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: modload:
 loading
'/usr/local/aolserver/bin/nsopenssl.so'
[23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: nsopenss
l:
generating 512-bit temporary RSA key ...
[23/Jan/2007:12:12:59][6084.3086870208][-main-] Fatal: received 
fatal signal
11
/home/pliska/run-aol4-server: line 1:  6084 Aborted
/usr/local/aolserver/bin/nsd -u pliska -g nmont -ft
/usr/local/aolserver/neumont-dev.tcl -b 127.0.0.1:80
[root@predevlms bin]#


On 1/22/07, Scott Goodwin <scott@scottg.net> wrote:
> nsopenssl 2.x won't work with AOLserver 4.5.x.
>
> nsopenssl-3.0beta26 is segfaulting when generating temporary 512-bit
> keys. This was fixed a while back -- go grab the cvs copy of
> nsopenssl from sourceforge. I just compiled it with AOLserver 4.5.0
> and it runs, though it gives me an error indicating that there are no
> shared ciphers between the browser and nsopenssl when I try to
> connect. Let me know if you get the same error.
>
> /s.
>
> On Jan 22, 2007, at 8:12 PM, Pedro Liska wrote:
> 
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to <
listserv@listserv.aol.com> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.
>


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <listserv@listser
v.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
 field of your email blank.






[ Post a follow-up to this message ]



    Re: Problems with nsopenssl-2.1a(compilation) and nsopenssl-3.0beta26(runtime)  
Scott Goodwin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-07 12:11 AM

I notice below that while you are pre-binding to port 80, you aren't
pre-binding to port 443, which is the port SSL defaults to (though
this probably isn't causing your segfault).

Are you using the RedHat's default OpenSSL and Tcl system
installations? Looks like you're using your own OpenSSL copy, but
what about Tcl? You might want to consider compiling your own copies
of each to ensure the following, and then point the AOLserver build
to use those:

Make sure your OpenSSL installation was compiled to be multithreaded.
Here's my config call to configure OpenSSL before I 'make install' it:

./config \
threads \
shared \
no-engines \
no-hw \
--prefix=<path-to-your-install-location> \
--openssldir=<path-to-your-install-location>

Also make sure your Tcl installation is compiled to be multithreading
as well (make sure it's compiled with the '--enable-threads' flag to
configure).

Finally, remove all your old AOLserver, nsopenssl executables, and
then rebuild all of the code from scratch.

Let me know how you get on.


/s.

On Jan 23, 2007, at 1:31 PM, Pedro Liska wrote:

> I grabbed nsopenssl from cvs and still got the same error. I
> included what I did below. Do you think starting from a fresh Red
> Hat ES 4 install would make a difference?
>
> I'm pretty much at the point that if someone told me that throwing
> the IBM R50 thinkpad (where I'm testing this stuff) off a 50 store
> building would make things work, I would not hesitate to do it =)
>
> Thanks for your help Scott!
>
> -- Pedro
>
> PS: Also thanks for informing me that nsopenssl 2.x won't work with
> AOLserver 4.5.x
>
> [root@predevlms src]# cvs -
> d:pserver:anonymous@aolserver.cvs.sourceforge.net :/cvsroot/
> aolserver login
> Logging in to :pserver:anonymous@aolserver.cvs.sourceforge.net:2401/
> cvsroot/aolserver
> CVS password:
> [root@predevlms src]# cvs -z3 -
> d:pserver:anonymous@aolserver.cvs.sourceforge.net:/cvsroot/
> aolserver co -P nsopenssl
> [root@predevlms src]# cd nsopenssl/
> [root@predevlms nsopenssl]# export OPENSSL=/usr/local/ssl
> [root@predevlms nsopenssl]# gmake
> gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -
> Wall -Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/
> aolserver/include -I/usr/local/aolserver/include  -DNO_CONST  -
> DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -
> DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -
> DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -
> DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -
> DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -
> DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -
> DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -
> DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -
> DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -
> DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -
> DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1
> -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -
> DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -
> DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -
> DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -
> DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -
> DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1  -DPACKAGE_NAME=
> \"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=
> \"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
> DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
> DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -
> DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DHAVE_POLL=1 -
> DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1    -c -o nsopenssl.o
> nsopenssl.c
> nsopenssl.c: In function `Ns_ModuleInit':
> nsopenssl.c:84: warning: unused variable `i'
> nsopenssl.c: In function `InitServerState':
> nsopenssl.c:204: warning: too few arguments for format
> nsopenssl.c: At top level:
> nsopenssl.c:37: warning: 'RCSID' defined but not used
> nsopenssl.c:743: warning: 'ThreadDynlockCreateCallback' defined but
> not used
> nsopenssl.c:776: warning: 'ThreadDynlockLockCallback' defined but
> not used
> nsopenssl.c:804: warning: 'ThreadDynlockDestroyCallback' defined
> but not used
> gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -
> Wall -Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/
> aolserver/include -I/usr/local/aolserver/include  -DNO_CONST  -
> DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -
> DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -
> DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -
> DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -
> DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -
> DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -
> DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -
> DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -
> DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -
> DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -
> DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1
> -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -
> DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -
> DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -
> DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -
> DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -
> DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1  -DPACKAGE_NAME=
> \"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=
> \"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
> DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
> DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -
> DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DHAVE_POLL=1 -
> DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1    -c -o sslcontext.o
> sslcontext.c
> sslcontext.c: In function `SSLContextCertFileInit':
> sslcontext.c:1482: warning: too few arguments for format
> sslcontext.c: At top level:
> sslcontext.c:37: warning: 'RCSID' defined but not used
> gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -
> Wall -Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/
> aolserver/include -I/usr/local/aolserver/include  -DNO_CONST  -
> DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -
> DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -
> DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -
> DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -
> DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -
> DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -
> DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -
> DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -
> DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -
> DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -
> DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1
> -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -
> DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -
> DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -
> DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -
> DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -
> DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1  -DPACKAGE_NAME=
> \"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=
> \"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
> DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
> DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -
> DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DHAVE_POLL=1 -
> DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1    -c -o ssl.o ssl.c
> ssl.c: In function `NsOpenSSLConnCreate':
> ssl.c:88: warning: unused variable `status'
> ssl.c:89: warning: unused variable `n'
> ssl.c: In function `NsOpenSSLConnOp':
> ssl.c:639: warning: unused variable `socket'
> ssl.c: At top level:
> ssl.c:34: warning: 'RCSID' defined but not used
> gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -
> Wall -Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/
> aolserver/include -I/usr/local/aolserver/include  -DNO_CONST  -
> DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -
> DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -
> DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -
> DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -
> DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -
> DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -
> DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -
> DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -
> DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -
> DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -
> DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1
> -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -
> DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -
> DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -
> DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -
> DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -
> DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1  -DPACKAGE_NAME=
> \"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=
> \"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
> DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
> DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -
> DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DHAVE_POLL=1 -
> DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1    -c -o tclcmds.o tclcmds.c
> tclcmds.c: In function `NsTclOpenSSLSockOpenObjCmd':
> tclcmds.c:621: warning: implicit declaration of function
> `Ns_OpenSSLX509CertVerify'
> tclcmds.c: In function `NsTclOpenSSLSockListenObjCmd':
> tclcmds.c:651: warning: unused variable `thisServer'
> tclcmds.c: In function `NsTclOpenSSLSockNReadCmd':
> tclcmds.c:870: warning: unused variable `thisServer'
> tclcmds.c: In function `NsTclOpenSSLSockCheckCmd':
> tclcmds.c:921: warning: unused variable `thisServer'
> tclcmds.c: In function `NsTclOpenSSLSockSelectCmd':
> tclcmds.c:966: warning: unused variable `thisServer'
> tclcmds.c: At top level:
> tclcmds.c:34: warning: 'RCSID' defined but not used
> gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -
> Wall -Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/
> aolserver/include -I/usr/local/aolserver/include  -DNO_CONST  -
> DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -
> DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -
> DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -
> DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -
> DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -
> DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -
> DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -
> DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -
> DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -
> DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -
> DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1
> -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -
> DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -
> DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -
> DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -
> DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -
> DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1  -DPACKAGE_NAME=
> \"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=
> \"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
> DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
> DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -
> DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DHAVE_POLL=1 -
> DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1    -c -o x509.o x509.c
> x509.c:34: warning: 'RCSID' defined but not used
> /usr/local/aolserver/bin/tclsh8.4 /usr/local/aolserver/bin/
> nsremove.tcl libnsopenssl.so
> gcc -pipe -shared -nostartfiles  -o libnsopenssl.so sslcontext.o
> ssl.o tclcmds.o x509.o   \
>     -L/usr/local/ssl/lib -lssl -lcrypto  -L/usr/local/aolserver/lib
> -lnsd -lnsthread -L/usr/local/aolserver/lib -ltcl8.4 -ldl  -
> lpthread -lieee -lm  -lgcc_s  -Wl,-rpath,/usr/local/aolserver/lib
> /usr/local/aolserver/bin/tclsh8.4 /usr/local/aolserver/bin/
> nsremove.tcl nsopenssl.so
> gcc -pipe -shared -nostartfiles  -o nsopenssl.so nsopenssl.o -L/usr/
> local/ssl/lib -lssl -lcrypto -L. -lnsopenssl -L/usr/local/aolserver/
> lib -lnsd -lnsthread -L/usr/local/aolserver/lib - ltcl8.4 -ldl  -
> lpthread -lieee -lm  -lgcc_s  -Wl,-rpath,/usr/local/aolserver/lib
> ar rv libnsopenssl.a sslcontext.o ssl.o tclcmds.o x509.o
> ar: creating libnsopenssl.a
> a - sslcontext.o
> a - ssl.o
> a - tclcmds.o
> a - x509.o
> ranlib libnsopenssl.a
> [root@predevlms nsopenssl]# gmake install
> /usr/local/aolserver/bin/install-sh -c https.tcl /usr/local/
> aolserver/modules/tcl
> /usr/local/aolserver/bin/tclsh8.4 /usr/local/aolserver/bin/
> nsinstall.tcl -d /usr/local/aolserver/bin -e nsopenssl.so
> installed: /usr/local/aolserver/bin/nsopenssl.so (0755)
> /usr/local/aolserver/bin/tclsh8.4 /usr/local/aolserver/bin/
> nsinstall.tcl -d /usr/local/aolserver/lib -e libnsopenssl.so
> installed: /usr/local/aolserver/lib/libnsopenssl.so (0755)
> /usr/local/aolserver/bin/tclsh8.4 /usr/local/aolserver/bin/
> nsinstall.tcl -d /usr/local/aolserver/lib libnsopenssl.a
> installed: /usr/local/aolserver/lib/libnsopenssl.a (0644)
> ranlib /usr/local/aolserver/lib/libnsopenssl.a
> [root@predevlms nsopenssl]# cd /usr/local/aolserver/bin/
> [root@predevlms bin]# ll
> total 1596
> -rwxr-xr-x  1 pliska nmont    1913 Aug  8  2005 ini2tcl.tcl
> -rw-r--r--  1 pliska nmont   16731 Apr 13  2006 init.tcl
> -rwxr-xr-x  1 pliska nmont    2255 Jun 27  2006 install-sh
> -rwxr-xr-x  1 pliska nmont    2286 Jan  2 16:52 nscgi.so
> -rwxr-xr-x  1 pliska nmont    2281 Jan  2 16:52 nscp.so
> -rwxr-xr-x  1 pliska nmont    5444 Jan  2 16:52 nsd
> -rwxr-xr-x  1 pliska nmont    2281 Jan  2 16:52 nsdb.so
> -rwxr-xr-x  1 pliska nmont    2453 Apr 28  2006 nsinstall-man.sh
> -rw-r--r--  1 pliska nmont    3449 Jun 25  2006 nsinstall.tcl
> -rwxr-xr-x  1 pliska nmont    2286 Jan  2 16:52 nslog.so
> -rw-r--r--  1 pliska nmont    2179 Oct  8  2005 nsmakeall.tcl
> -rwxr-xr-x  1 root   root  1209570 Jan 23 12:12 nsopenssl.so
> -rwxr-xr-x  1 pliska nmont   88805 Jan  2 17:35 nsoralce.so
> -rwxr-xr-x  1 pliska nmont  110065 Jan 18 16:51 nspasswd.so
> -rwxr-xr-x  1 pliska nmont    2287 Jan  2 16:52 nsperm.so
> -rw-r--r--  1 pliska nmont    1673 Aug 18  2005 nsremove.tcl
> -rwxr-xr-x  1 pliska nmont    2287 Jan  2 16:52 nssock.so
> -rwxr-xr-x  1 pliska nmont    5689 Jan  2 16:52 nstclsh
> -rwxr-xr-x  1 pliska nmont   16997 Jan  2 16:51 nsthreadtest
> lrwxrwxrwx  1 root   root       11 Jan  2 17:36 ora8.so -> nsoralce.so
> -rw-r--r--  1 pliska nmont    1759 Aug  8  2005 tcl2ini.tcl
> -rwxr-xr-x  1 pliska nmont    5704 Jan  2 16:49 tclsh8.4
> [root@predevlms bin]# cat /home/pliska/run-aol4-server
> /usr/local/aolserver/bin/nsd -u pliska -g nmont -ft /usr/local/
> aolserver/neumont-dev.tcl -b 127.0.0.1:80
> [root@predevlms bin]# /home/pliska/run-aol4-server
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: prebin
d:
> bound: 127.0.0.1:80
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nsmain
:
> AOLserver/4.5.0 starting
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nsmain
:
> security info: uid=500, euid=500, gid=504, egid=504
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nsmain
: max
> files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: encodi
ng:
> loaded: utf-8
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: fastpa
th
> [neumont-dev]: mapped GET /
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: fastpa
th
> [neumont-dev]: mapped HEAD /
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: fastpa
th
> [neumont-dev]: mapped POST /
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: adp	
1;neumont-
> dev]: mapped GET /*.adp
> [23/Jan/2007:12:12:58][6084.3086870208 ][-main-] Notice: adp
> [neumont-dev]: mapped HEAD /*.adp
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: adp	
1;neumont-
> dev]: mapped POST /*.adp
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modloa
d:
> loading '/usr/local/aolserver/bin/nssock.so'
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modloa
d:
> loading '/usr/local/aolserver/bin/nslog.so'
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nslog:
> opened '/usr/local/aolserver/servers/neumont-dev/log/neumont- dev.log'
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modloa
d:
> loading '/usr/local/aolserver/bin/nsdb.so'
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modloa
d:
> loading '/usr/local/aolserver/bin/ora8.so'
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: ora8 d
river
> LobBufferSize = 16384
> [23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: ora8 d
river
> PrefetchRows = 0
> [23/Jan/2007:12:12:59][6084.3086870208 ][-main-] Notice: ora8
> driver PrefetchMemory = 0
> [23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: Loaded
> ArsDigita Oracle Driver version 2.7, built on 15:17:54/Mar 28 2006
> [23/Jan/2007:12:12:59][6084.3086870208 ][-main-] Notice: modlo
ad:
> loading '/usr/local/aolserver/bin/nspasswd.so'
> [23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: modloa
d:
> loading '/usr/local/aolserver/bin/nsopenssl.so'
> [23/Jan/2007:12:12:59][ 6084.3086870208][-main-] Notice: nsope
nssl:
> generating 512-bit temporary RSA key ...
> [23/Jan/2007:12:12:59][6084.3086870208][-main-] Fatal: receive
d
> fatal signal 11
> /home/pliska/run-aol4-server: line 1:  6084
> Aborted                 /usr/local/aolserver/bin/nsd -u pliska -g
> nmont -ft /usr/local/aolserver/neumont- dev.tcl -b 127.0.0.1:80
> [root@predevlms bin]#
>
>
> On 1/22/07, Scott Goodwin <scott@scottg.net> wrote: 
> are no 
>


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <listserv@listser
v.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
 field of your email blank.






[ Post a follow-up to this message ]



    Re: Problems with nsopenssl-2.1a(compilation) and nsopenssl-3.0beta26(runtime)  
Pedro Liska


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-25-07 12:11 AM

Hi Scott,

It's working now!

I started from scratch deleting all executables and sources of
everything (Tcl, AOLserver, OpenSSL, nsopenssl). And I used your
./config call.

Since I had already installed local copies of Tcl (with
--enable-threads) and OpenSSL before my post to this mailing list, I
thought your ./config call was the one that did the trick.

But after things were working I went back and re-compiled and
installed OpenSSL with just ./config. I also re-compiled and installed
nsopenssl. And it worked also!

So I guess I missed something on my initial Tcl, OpenSSL, or AOLserver
installations. THANK YOU tons for the help! I was very close to giving
up.

Pedro

PS: I never got the "shared ciphers" error you mentioned.


On 1/23/07, Scott Goodwin <scott@scottg.net> wrote:
> I notice below that while you are pre-binding to port 80, you aren't
> pre-binding to port 443, which is the port SSL defaults to (though this
> probably isn't causing your segfault).
>
> Are you using the RedHat's default OpenSSL and Tcl system installations?
> Looks like you're using your own OpenSSL copy, but what about Tcl? You mig
ht
> want to consider compiling your own copies of each to ensure the following
,
> and then point the AOLserver build to use those:
>
> Make sure your OpenSSL installation was compiled to be multithreaded. Here
's
> my config call to configure OpenSSL before I 'make install' it:
>
> ./config \
>      threads \
>      shared \
>      no-engines \
>      no-hw \
>      --prefix=<path-to-your-install-location> \
>      --openssldir=<path-to-your-install-location>
>
> Also make sure your Tcl installation is compiled to be multithreading as
> well (make sure it's compiled with the '--enable-threads' flag to
> configure).
>
> Finally, remove all your old AOLserver, nsopenssl executables, and then
> rebuild all of the code from scratch.
>
> Let me know how you get on.
>
>
> /s.
>
>
> On Jan 23, 2007, at 1:31 PM, Pedro Liska wrote:
> I grabbed nsopenssl from cvs and still got the same error. I included what
 I
> did below. Do you think starting from a fresh Red Hat ES 4 install would
> make a difference?
>
> I'm pretty much at the point that if someone told me that throwing the IBM
> R50 thinkpad (where I'm testing this stuff) off a 50 store building would
> make things work, I would not hesitate to do it =)
>
> Thanks for your help Scott!
>
> -- Pedro
>
> PS: Also thanks for informing me that nsopenssl 2.x won't work with
> AOLserver 4.5.x
>
> [root@predevlms src]# cvs
> -d:pserver:anonymous@aolserver.cvs.sourceforge.net
> :/cvsroot/aolserver login
> Logging in to
> :pserver:anonymous@aolserver.cvs.sourceforge.net:2401/cvsroot/aolserver
> CVS password:
> [root@predevlms src]# cvs -z3
> -d:pserver:anonymous@aolserver.cvs.sourceforge.net:/cvsroot/aolserver
> co -P nsopenssl
> [root@predevlms src]# cd nsopenssl/
> [root@predevlms nsopenssl]# export OPENSSL=/usr/local/ssl
>  [root@predevlms nsopenssl]# gmake
> gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -Wall
> -Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/aolserver/inclu
de
> -I/usr/local/aolserver/include  -DNO_CONST  -DHAVE_LIMITS_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
> -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
> -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DPEEK_XCLOSEIM=1
> -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
> -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
> -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1
> -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
> -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
> -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
> -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
> -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
> -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
> -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
> -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
> -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H
=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
> -DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1
> -c -o nsopenssl.o nsopenssl.c
> nsopenssl.c: In function `Ns_ModuleInit':
> nsopenssl.c:84: warning: unused variable `i'
> nsopenssl.c: In function `InitServerState':
> nsopenssl.c:204: warning: too few arguments for format
> nsopenssl.c: At top level:
> nsopenssl.c:37: warning: 'RCSID' defined but not used
> nsopenssl.c:743: warning: 'ThreadDynlockCreateCallback' defined but not us
ed
> nsopenssl.c:776: warning: 'ThreadDynlockLockCallback' defined but not used
> nsopenssl.c:804: warning: 'ThreadDynlockDestroyCallback' defined but not
> used
> gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -Wall
> -Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/aolserver/inclu
de
> -I/usr/local/aolserver/include  -DNO_CONST  -DHAVE_LIMITS_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
> -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
> -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DPEEK_XCLOSEIM=1
> -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
> -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
> -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1
> -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
> -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
> -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
> -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
> -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
> -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
> -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
> -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
> -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H
=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
> -DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1
> -c -o sslcontext.o sslcontext.c
> sslcontext.c: In function `SSLContextCertFileInit':
> sslcontext.c:1482: warning: too few arguments for format
> sslcontext.c: At top level:
> sslcontext.c:37: warning: 'RCSID' defined but not used
> gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -Wall
> -Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/aolserver/inclu
de
> -I/usr/local/aolserver/include  -DNO_CONST  -DHAVE_LIMITS_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
> -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
> -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DPEEK_XCLOSEIM=1
> -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
> -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
> -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1
> -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
> -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
> -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
> -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
> -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
> -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
> -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
> -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
> -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H
=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
> -DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1
> -c -o ssl.o ssl.c
> ssl.c: In function `NsOpenSSLConnCreate':
> ssl.c:88: warning: unused variable `status'
> ssl.c:89: warning: unused variable `n'
> ssl.c: In function `NsOpenSSLConnOp':
> ssl.c:639: warning: unused variable `socket'
> ssl.c: At top level:
> ssl.c:34: warning: 'RCSID' defined but not used
> gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -Wall
> -Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/aolserver/inclu
de
> -I/usr/local/aolserver/include  -DNO_CONST  -DHAVE_LIMITS_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
> -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
> -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DPEEK_XCLOSEIM=1
> -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
> -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
> -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1
> -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
> -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
> -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
> -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
> -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
> -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
> -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
> -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
> -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H
=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
> -DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1
> -c -o tclcmds.o tclcmds.c
> tclcmds.c: In function `NsTclOpenSSLSockOpenObjCmd':
> tclcmds.c:621: warning: implicit declaration of function
> `Ns_OpenSSLX509CertVerify'
> tclcmds.c: In function `NsTclOpenSSLSockListenObjCmd':
> tclcmds.c:651: warning: unused variable `thisServer'
> tclcmds.c: In function `NsTclOpenSSLSockNReadCmd':
> tclcmds.c:870: warning: unused variable `thisServer'
> tclcmds.c: In function `NsTclOpenSSLSockCheckCmd':
> tclcmds.c:921: warning: unused variable `thisServer'
> tclcmds.c: In function `NsTclOpenSSLSockSelectCmd':
> tclcmds.c:966: warning: unused variable `thisServer'
> tclcmds.c: At top level:
> tclcmds.c:34: warning: 'RCSID' defined but not used
> gcc -pipe -I/usr/local/ssl/include -I/usr/kerberos/include -O2 -Wall
> -Wno-implicit-int -fno-strict-aliasing -fPIC  -I/usr/local/aolserver/inclu
de
> -I/usr/local/aolserver/include  -DNO_CONST  -DHAVE_LIMITS_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
> -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
> -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DPEEK_XCLOSEIM=1
> -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
> -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
> -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1
> -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
> -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1
> -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1
> -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1
> -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1
> -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1
> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
> -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
> -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
> -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H
=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1
> -DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1
> -c -o x509.o x509.c
> x509.c:34: warning: 'RCSID' defined but not used
> /usr/local/aolserver/bin/tclsh8.4
> /usr/local/aolserver/bin/nsremove.tcl libnsopenssl.so
> gcc -pipe -shared -nostartfiles  -o libnsopenssl.so sslcontext.o ssl.o
> tclcmds.o x509.o   \
>     -L/usr/local/ssl/lib -lssl -lcrypto  -L/usr/local/aolserver/lib -lnsd
> -lnsthread -L/usr/local/aolserver/lib -ltcl8.4 -ldl  -lpthread -lieee -lm
> -lgcc_s  -Wl,-rpath,/usr/local/aolserver/lib
> /usr/local/aolserver/bin/tclsh8.4
> /usr/local/aolserver/bin/nsremove.tcl nsopenssl.so
> gcc -pipe -shared -nostartfiles  -o nsopenssl.so nsopenssl.o
> -L/usr/local/ssl/lib -lssl -lcrypto -L. -lnsopenssl
> -L/usr/local/aolserver/lib -lnsd -lnsthread -L/usr/local/aolserver/lib -
> ltcl8.4 -ldl  -lpthread -lieee -lm  -lgcc_s
> -Wl,-rpath,/usr/local/aolserver/lib
> ar rv libnsopenssl.a sslcontext.o ssl.o tclcmds.o x509.o
> ar: creating libnsopenssl.a
> a - sslcontext.o
> a - ssl.o
> a - tclcmds.o
> a - x509.o
> ranlib libnsopenssl.a
> [root@predevlms nsopenssl]# gmake install
> /usr/local/aolserver/bin/install-sh -c https.tcl
> /usr/local/aolserver/modules/tcl
> /usr/local/aolserver/bin/tclsh8.4
> /usr/local/aolserver/bin/nsinstall.tcl -d
> /usr/local/aolserver/bin -e nsopenssl.so
> installed: /usr/local/aolserver/bin/nsopenssl.so (0755)
> /usr/local/aolserver/bin/tclsh8.4
> /usr/local/aolserver/bin/nsinstall.tcl -d
> /usr/local/aolserver/lib -e libnsopenssl.so
> installed: /usr/local/aolserver/lib/libnsopenssl.so (0755)
> /usr/local/aolserver/bin/tclsh8.4
> /usr/local/aolserver/bin/nsinstall.tcl -d
> /usr/local/aolserver/lib libnsopenssl.a
> installed: /usr/local/aolserver/lib/libnsopenssl.a (0644)
> ranlib /usr/local/aolserver/lib/libnsopenssl.a
> [root@predevlms nsopenssl]# cd /usr/local/aolserver/bin/
> [root@predevlms bin]# ll
> total 1596
> -rwxr-xr-x  1 pliska nmont    1913 Aug  8  2005 ini2tcl.tcl
> -rw-r--r--  1 pliska nmont   16731 Apr 13  2006 init.tcl
> -rwxr-xr-x  1 pliska nmont    2255 Jun 27  2006 install-sh
> -rwxr-xr-x  1 pliska nmont    2286 Jan  2 16:52 nscgi.so
> -rwxr-xr-x  1 pliska nmont    2281 Jan  2 16:52 nscp.so
> -rwxr-xr-x  1 pliska nmont    5444 Jan  2 16:52 nsd
> -rwxr-xr-x  1 pliska nmont    2281 Jan  2 16:52 nsdb.so
> -rwxr-xr-x  1 pliska nmont    2453 Apr 28  2006 nsinstall-man.sh
> -rw-r--r--  1 pliska nmont    3449 Jun 25  2006 nsinstall.tcl
> -rwxr-xr-x  1 pliska nmont    2286 Jan  2 16:52 nslog.so
> -rw-r--r--  1 pliska nmont    2179 Oct  8  2005 nsmakeall.tcl
> -rwxr-xr-x  1 root   root  1209570 Jan 23 12:12 nsopenssl.so
> -rwxr-xr-x  1 pliska nmont   88805 Jan  2 17:35 nsoralce.so
> -rwxr-xr-x  1 pliska nmont  110065 Jan 18 16:51 nspasswd.so
> -rwxr-xr-x  1 pliska nmont    2287 Jan  2 16:52 nsperm.so
> -rw-r--r--  1 pliska nmont    1673 Aug 18  2005 nsremove.tcl
> -rwxr-xr-x  1 pliska nmont    2287 Jan  2 16:52 nssock.so
> -rwxr-xr-x  1 pliska nmont    5689 Jan  2 16:52 nstclsh
> -rwxr-xr-x  1 pliska nmont   16997 Jan  2 16:51 nsthreadtest
> lrwxrwxrwx  1 root   root       11 Jan  2 17:36 ora8.so -> nsoralce.so
> -rw-r--r--  1 pliska nmont    1759 Aug  8  2005 tcl2ini.tcl
> -rwxr-xr-x  1 pliska nmont    5704 Jan  2 16:49 tclsh8.4
> [root@predevlms bin]# cat /home/pliska/run-aol4-server
> /usr/local/aolserver/bin/nsd -u pliska -g nmont -ft
> /usr/local/aolserver/neumont-dev.tcl -b 127.0.0.1:80
> [root@predevlms bin]# /home/pliska/run-aol4-server
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: prebin
d: bound:
> 127.0.0.1:80
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nsmain
:
> AOLserver/4.5.0 starting
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nsmain
: security
> info: uid=500, euid=500, gid=504, egid=504
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nsmain
: max files:
> FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: encodi
ng: loaded:
> utf-8
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice:
> fastpath[neumont-dev]: mapped GET /
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice:
> fastpath[neumont-dev]: mapped HEAD /
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice:
> fastpath[neumont-dev]: mapped POST /
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: adp	
1;neumont-dev]:
> mapped GET /*.adp
> [23/Jan/2007:12:12:58][6084.3086870208 ][-main-] Notice: adp&#
91;neumont-dev]:
> mapped HEAD /*.adp
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: adp	
1;neumont-dev]:
> mapped POST /*.adp
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modloa
d: loading
> '/usr/local/aolserver/bin/nssock.so'
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modloa
d: loading
> '/usr/local/aolserver/bin/nslog.so'
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: nslog:
 opened
> '/usr/local/aolserver/servers/neumont-dev/log/neumont-
> dev.log'
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modloa
d: loading
> '/usr/local/aolserver/bin/nsdb.so'
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: modloa
d: loading
> '/usr/local/aolserver/bin/ora8.so'
> [23/Jan/2007:12:12:58][6084.3086870208][-main-] Notice: ora8 d
river
> LobBufferSize = 16384
> [23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: ora8 d
river
> PrefetchRows = 0
> [23/Jan/2007:12:12:59][6084.3086870208 ][-main-] Notice: ora8 
driver
> PrefetchMemory = 0
> [23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: Loaded
 ArsDigita
> Oracle Driver version 2.7, built on 15:17:54/Mar 28 2006
> [23/Jan/2007:12:12:59][6084.3086870208 ][-main-] Notice: modlo
ad: loading
> '/usr/local/aolserver/bin/nspasswd.so'
> [23/Jan/2007:12:12:59][6084.3086870208][-main-] Notice: modloa
d: loading
> '/usr/local/aolserver/bin/nsopenssl.so'
> [23/Jan/2007:12:12:59][ 6084.3086870208][-main-] Notice: nsope
nssl:
> generating 512-bit temporary RSA key ...
> [23/Jan/2007:12:12:59][6084.3086870208][-main-] Fatal: receive
d fatal signal
> 11
> /home/pliska/run-aol4-server: line 1:  6084 Aborted
> /usr/local/aolserver/bin/nsd -u pliska -g nmont -ft
> /usr/local/aolserver/neumont- dev.tcl -b 127.0.0.1:80
> [root@predevlms bin]#
>
>
> On 1/22/07, Scott Goodwin <scott@scottg.net> wrote: 
>
>
>
>
> --
> AOLserver - http://www.aolserver.com/
>
>
>
> To Remove yourself from this list, simply send an email to
> <listserv@listserv.aol.com> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subjec
t:
> field of your email blank.
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:37 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump: