Re: ANNOUNCE: mod_ssl 2.4.1-1.3.9 (APXS with mod_ssl)
> > On Tue, Aug 31, 1999, [EMAIL PROTECTED] wrote: > > > I tried to upgrade my mod_ssl to 2.4.1 with APXS, but got this : > > > > x86-1:~/pkg/apache/mod_ssl-2.4.1-1.3.9> ./configure --with-apxs=/usr/local/apach > > e/bin/apxs --with-ssl=../openssl-0.9.4 > > Configuring mod_ssl/2.4.1 for Apache/1.3.9 > > + Apache location: /usr/local/apache (Version 1.3.9) > > + OpenSSL location: ../openssl-0.9.4 > > + Configuring SSL module inside pkg.sslmod > > ./configure: configure.stub.sh: not found > > > > I am running on Solaris x86 2.6. I verified this happend to 2.4.0 too. > > Can anyone else confirm this ? Is it me or mod_ssl the problem ? > > Works fine for me: > Yes. You are right. This has nothing to do with mod_ssl. After I replaced the stock Bourne Shell in Solaris x86 2.6 with GNU Bash, it worked. Would you consider to put this in FAQ or INSTALL ? ^_^ Yen-Wei Liu __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: Apache + mod_ssl exits cleanly on startup
I have had similar problems when I tried to load mod_perl as a DSO. My strace showed that my apache exited in a similar manner. Removing the mod_perl module load from the httpd.conf cured the problem, and I have not had time to investigate it further since. Mod_php loads fine, so in my case the problem is mod_perl/DSO related (DSO with mod_perl is considered alpha, I believe) Do you use APXS compiled modules? /magnus Graham Leggett wrote: > > Hi all, > > I am having some hassles with Apache v1.3.9 + mod_ssl v2.4.1 under > Redhat v6.0 (Intel). > > When the server is started, the server exits cleanly straight away. > Nothing is logged, or output to stderr or stdout. > > An strace reveals that httpd is making a clean exit just after it's > initialised. Anyone know what's wrong? > > The strace is attached. > > Regards, > Graham > -- __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: Apache + mod_ssl exits cleanly on startup
The initial apache process usually exits after the first fork call, in the detach() function. That's normal. The child process normally takes over starting all other server processes, etc. Is that dying also? You can put a pause() or sleep() call in the sources after the first fork call (in the child section) and then attach to the child with gdb to see what's happening, if it is in fact dying before writing anything to the logs. Dave Neuer -Original Message- From: Graham Leggett <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, August 31, 1999 3:34 PM Subject: Apache + mod_ssl exits cleanly on startup >Hi all, > >I am having some hassles with Apache v1.3.9 + mod_ssl v2.4.1 under >Redhat v6.0 (Intel). > >When the server is started, the server exits cleanly straight away. >Nothing is logged, or output to stderr or stdout. > >An strace reveals that httpd is making a clean exit just after it's >initialised. Anyone know what's wrong? > >The strace is attached. > >Regards, >Graham >-- >- >[EMAIL PROTECTED] "There's a moon > over Bourbon Street > tonight... __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: no connection with https
Error 111 is the value of the libc errno variable that Linux sets for refused socket connections. My experience with them generally suggests that the listener at the other end isn't. Listening, that is (i.e. no server socket to connect to). Dave Neuer -Original Message- From: Ralf S. Engelschall <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, August 31, 1999 3:18 PM Subject: Re: no connection with https >On Tue, Aug 31, 1999, Hung Nguyen wrote: > >> When I run openssl s_clent -connect localhost:443 I get an error, >> connect: Connection refused >> connect:errno=111 >> >> What is the error code number=111? I looked in the documentations but I can >> not find what it is. > >111? Usually there is no such errno code. They are usually values between 1 >and 32 or a little bit higher only. Seems like a strange platform or a bug in >OpenSSL. At least you now know that on port 443 Apache seems to not listening. >Check your "Listen" and "" sections. And if all fails, start >from scratch with a fresh Apache source tree and follow carefully the mod_ssl >INSTALL document. It then _WILL_ work, doubt me. > > Ralf S. Engelschall > [EMAIL PROTECTED] > www.engelschall.com >__ >Apache Interface to OpenSSL (mod_ssl) www.modssl.org >User Support Mailing List [EMAIL PROTECTED] >Automated List Manager[EMAIL PROTECTED] > __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: no connection with https
On Tue, Aug 31, 1999, Hung Nguyen wrote: > When I run openssl s_clent -connect localhost:443 I get an error, > connect: Connection refused > connect:errno=111 > > What is the error code number=111? I looked in the documentations but I can > not find what it is. 111? Usually there is no such errno code. They are usually values between 1 and 32 or a little bit higher only. Seems like a strange platform or a bug in OpenSSL. At least you now know that on port 443 Apache seems to not listening. Check your "Listen" and "" sections. And if all fails, start from scratch with a fresh Apache source tree and follow carefully the mod_ssl INSTALL document. It then _WILL_ work, doubt me. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
mod_ssl v2.4.1 cores at startup
Hi all, I have just completed an installation of Apache v1.3.9 + mod_ssl v2.4.1 under Redhat v6.0. Enabling the module caused Apache to segfault at startup. Nothing is logged, no output to stdout, no core file. Is there a way of telling Apache to produce a core file when it dies so that I can run a backtrace on this? Or am I looking for the core file in the wrong place (serverroot/*) or under the wrong name (core)? Regards, Graham -- - [EMAIL PROTECTED]"There's a moon over Bourbon Street tonight... __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Apache + mod_ssl exits cleanly on startup
Hi all, I am having some hassles with Apache v1.3.9 + mod_ssl v2.4.1 under Redhat v6.0 (Intel). When the server is started, the server exits cleanly straight away. Nothing is logged, or output to stderr or stdout. An strace reveals that httpd is making a clean exit just after it's initialised. Anyone know what's wrong? The strace is attached. Regards, Graham -- - [EMAIL PROTECTED]"There's a moon over Bourbon Street tonight... execve("./httpd", ["./httpd", "2"], [/* 32 vars */]) = 0 brk(0) = 0x80b05b8 open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=033462, st_size=0, ...}) = 0 mmap(0, 14685, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000 close(3)= 0 open("/lib/libm.so.6", O_RDONLY)= 3 fstat(3, {st_mode=0, st_size=0, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096 mmap(0, 114680, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40018000 mprotect(0x40033000, 4088, PROT_NONE) = 0 mmap(0x40033000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1a000) = 0x40033000 close(3)= 0 open("/lib/libcrypt.so.1", O_RDONLY)= 3 fstat(3, {st_mode=0, st_size=0, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096 mmap(0, 182972, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40034000 mprotect(0x40039000, 162492, PROT_NONE) = 0 mmap(0x40039000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x40039000 mmap(0x4003a000, 158396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4003a000 close(3)= 0 open("/lib/libdb.so.3", O_RDONLY) = 3 fstat(3, {st_mode=S_IFCHR|S_ISUID|S_ISGID|0536, st_rdev=makedev(5, 167), ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096 mmap(0, 234588, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40061000 mprotect(0x40099000, 5212, PROT_NONE) = 0 mmap(0x40099000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x37000) = 0x40099000 close(3)= 0 open("/lib/libdl.so.2", O_RDONLY) = 3 fstat(3, {st_mode=0, st_size=0, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096 mmap(0, 11532, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4009b000 mprotect(0x4009d000, 3340, PROT_NONE) = 0 mmap(0x4009d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x4009d000 close(3)= 0 open("/lib/libc.so.6", O_RDONLY)= 3 fstat(3, {st_mode=0, st_size=0, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4009e000 mmap(0, 974392, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4009f000 mprotect(0x40185000, 32312, PROT_NONE) = 0 mmap(0x40185000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe5000) = 0x40185000 mmap(0x4018a000, 11832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4018a000 close(3)= 0 munmap(0x40014000, 14685) = 0 personality(PER_LINUX) = 0 getpid()= 3491 brk(0) = 0x80b05b8 brk(0x80b25e0) = 0x80b25e0 brk(0x80b3000) = 0x80b3000 brk(0x80b6000) = 0x80b6000 brk(0x80b9000) = 0x80b9000 brk(0x80bc000) = 0x80bc000 brk(0x80be000) = 0x80be000 shmget(IPC_PRIVATE, 1052672, IPC_CREAT|0x180|0600) = 7936 shmat(7936, 0, 0) = 0x4018d000 shmctl(7936, IPC_STAT, 0xbaa8) = 0 getuid()= 0 getgid()= 0 shmctl(7936, IPC_SET, 0xbaa8) = 0 shmctl(7936, IPC_RMID, 0) = 0 unlink("/opt/local/apache/logs/httpd.mm.sem") = 0 open("/opt/local/apache/logs/httpd.mm.sem", O_RDWR|O_CREAT, 0600) = 3 getpid()= 3491 stat("/opt/local/apache/bin/suexec", 0xba60) = -1 ENOENT (No such file or directory) open("/opt/local/apache/conf/httpd.conf", O_RDONLY) = 4 fstat(4, {st_mode=030053, st_size=0, ...}) = 0 fstat(4, {st_mode=030053, st_size=0, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 read(4, "##\n## httpd.conf -- Apache HTTP"..., 4096) = 4096 stat("/opt/local/apache", {st_mode=030400, st_size=0, ...}) = 0 read(4, "Config conf/srm.conf\n#AccessCon"..., 4096) = 4096 gettimeofday({936117679, 20980}, NULL) = 0 getpid()= 3491 open("/etc/resolv.conf", O_RDONLY) = 5 fstat(5, {st_mode=0410, st_size=0, ...}) = 0 mmap(0, 4096, PROT_REA
Re: no connection with https
When I run openssl s_clent -connect localhost:443 I get an error, connect: Connection refused connect:errno=111 What is the error code number=111? I looked in the documentations but I can not find what it is. "Ralf S. Engelschall" wrote: > On Mon, Aug 30, 1999, Hung Nguyen wrote: > > > I have problems getting Mod SSL works. When I connect to my server > > (https://www.netonestop.net) I get a response "There was no response. > > The server could be down or not responding ". However, when I run with > > -DSSL, it said > > Ok: Pass Phrase Dialog successful. > > > > I am using Red Hat secure web server 2.0, and port-forwarding from the > > firewall to an internal secure server. (forward tcp,udp on port 443). > > Does anyone have any idea to get the https works? > > Check whether the server runs with "openssl s_client -connect > localhost:443", first. If not, check your server config. If it then > still fails contact RedHat's support division. > >Ralf S. Engelschall >[EMAIL PROTECTED] >www.engelschall.com > __ > Apache Interface to OpenSSL (mod_ssl) www.modssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager[EMAIL PROTECTED] __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
ANNOUNCE: apache-mod_ssl-1.3.9.2.4.1 RPMs
RPMs and spec file can be found at http://www.modssl.org/contrib/ These RPMs are for RedHat 5.2 systems. /magnus -- Magnus Stenman mailto:[EMAIL PROTECTED] http://www.hkust.se ...all in all, it's just another rule in the firewall. /Ping Flood __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: version information
On Mon, Aug 30, 1999, [EMAIL PROTECTED] wrote: > I noticed when I telnet to localhost on port 80, and do a "HEAD / HTML > /" , which I do just to see if the mods show up, and after compiling apache > 1.3.9 + mm 1.0.9 + openssl 0.9.4 + mod_perl 1.21 + mod_ssl 2.4.1 + php > 3.0.12 , only apache 1.3.9 + openssl , all I see is "Apache/1.3.9 (Unix) > mod_ssl/2.4.1 OpenSSL/0.9.4", is this something mod_ssl does, or is this a > problem on mod_perl and/or php's side? For me it works fine: | :> telnet en1 80 | Trying 141.1.129.1... | Connected to en1.engelschall.com. | Escape character is '^]'. | HEAD / HTTP/1.0 | | HTTP/1.1 302 Found | Date: Tue, 31 Aug 1999 09:55:29 GMT | Server: Apache/1.3.9 (Unix) mod_perl/1.21 mod_ssl/2.4.0 OpenSSL/0.9.4 DAV/0.9.8 | Location: http://en1.engelschall.com/title/ | Connection: close | Content-Type: text/html | | Connection closed by foreign host. | rse@en1:/u/rse | :> So I guess you're either not loading the mod_perl and mod_php DSOs or you have no AddModule for them, etc. At least it seems not to be related to mod_ssl... Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
version information
Hello, I noticed when I telnet to localhost on port 80, and do a "HEAD / HTML /" , which I do just to see if the mods show up, and after compiling apache 1.3.9 + mm 1.0.9 + openssl 0.9.4 + mod_perl 1.21 + mod_ssl 2.4.1 + php 3.0.12 , only apache 1.3.9 + openssl , all I see is "Apache/1.3.9 (Unix) mod_ssl/2.4.1 OpenSSL/0.9.4", is this something mod_ssl does, or is this a problem on mod_perl and/or php's side? __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: no connection with https
On Mon, Aug 30, 1999, Hung Nguyen wrote: > I have problems getting Mod SSL works. When I connect to my server > (https://www.netonestop.net) I get a response "There was no response. > The server could be down or not responding ". However, when I run with > -DSSL, it said > Ok: Pass Phrase Dialog successful. > > I am using Red Hat secure web server 2.0, and port-forwarding from the > firewall to an internal secure server. (forward tcp,udp on port 443). > Does anyone have any idea to get the https works? Check whether the server runs with "openssl s_client -connect localhost:443", first. If not, check your server config. If it then still fails contact RedHat's support division. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: MM access via rsync?
On Mon, Aug 30, 1999, [EMAIL PROTECTED] wrote: > Any plans to make the MM CVS archive available via rsync? > > A recent query shows only: > > RSYNC service ready (rsync 2.3.1) > > wml-distrib Website META Language (WML): Distribution Files > wml-cvs Website META Language (WML): CVS Repository > eperl-distrib Embedded Perl 5 Language (ePerl): Distribution Files > sw-distribSoftware Distribution Files > openssl-web OpenSSL: Web site > openssl-ftp OpenSSL: FTP site > openssl-cvs OpenSSL: CVS repository > modssl-webApache Interface to OpenSSL (mod_ssl): Web site > modssl-ftpApache Interface to OpenSSL (mod_ssl): FTP site > modssl-cvsApache Interface to OpenSSL (mod_ssl): CVS repository Hmmm sure, why not. It's now available. But keep in mind that it's not the original one (which is on my development box). Instead it's a manually updated mirror of the original repository. So expect a delay in updates. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: ANNOUNCE: mod_ssl 2.4.1-1.3.9 (APXS with mod_ssl)
On Tue, Aug 31, 1999, [EMAIL PROTECTED] wrote: > I tried to upgrade my mod_ssl to 2.4.1 with APXS, but got this : > > x86-1:~/pkg/apache/mod_ssl-2.4.1-1.3.9> ./configure --with-apxs=/usr/local/apach > e/bin/apxs --with-ssl=../openssl-0.9.4 > Configuring mod_ssl/2.4.1 for Apache/1.3.9 > + Apache location: /usr/local/apache (Version 1.3.9) > + OpenSSL location: ../openssl-0.9.4 > + Configuring SSL module inside pkg.sslmod > ./configure: configure.stub.sh: not found > > I am running on Solaris x86 2.6. I verified this happend to 2.4.0 too. > Can anyone else confirm this ? Is it me or mod_ssl the problem ? Works fine for me: | rse@en1:/tmp/pkg.mod_ssl | :> ./configure --with-apxs=/sw/pkg/websrv/bin/apxs | --with-ssl=/e/openssl/pkg/openssl-0.9.4 | Configuring mod_ssl/2.4.1 for Apache/1.3.9 | + Apache location: /sw/pkg/websrv (Version 1.3.9) | + OpenSSL location: /e/openssl/pkg/openssl-0.9.4 | + Configuring SSL module inside pkg.sslmod | + SSL interface: mod_ssl/2.4.1 | + SSL interface build type: DSO | + SSL interface compatibility: disabled | + SSL interface experimental code: disabled | + SSL interface vendor extensions: disabled | + SSL library path: /v/dsk/2/f/e/openssl/pkg/openssl-0.9.4 | + SSL library version: OpenSSL 0.9.4 09 Aug 1999 | + SSL library type: installed package (stand-alone) | + SSL library plugin mode: none | + Creating Makefile in pkg.sslmod | rse@en1:/tmp/pkg.mod_ssl | :> make | cc -c -I/sw/pkg/websrv/include/apache -Wall -funsigned-char -DTARGET="apache" | -DMOD_SSL=204100 -DMOD_PERL -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite | -fpic -DSHARED_CORE -pipe -O2 -g -ggdb3 -DSHARED_MODULE | -I/v/dsk/2/f/e/openssl/pkg/openssl-0.9.4/include -DMOD_SSL_VERSION=\"2.4.1\" | mod_ssl.c && mv mod_ssl.o mod_ssl.lo | cc -c -I/sw/pkg/websrv/include/apache -Wall -funsigned-char -DTARGET="apache" | -DMOD_SSL=204100 -DMOD_PERL -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite | -fpic -DSHARED_CORE -pipe -O2 -g -ggdb3 -DSHARED_MODULE | -I/v/dsk/2/f/e/openssl/pkg/openssl-0.9.4/include -DMOD_SSL_VERSION=\"2.4.1\" | ssl_engine_config.c && mv ssl_engine_config.o ssl_engine_config.lo | cc -c -I/sw/pkg/websrv/include/apache -Wall -funsigned-char -DTARGET="apache" | -DMOD_SSL=204100 | [...] I'm especially wondering what ``configure.stub.sh'' is for you. Neither inside Apache nor mod_ssl nor OpenSSL is such a file... Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]