httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RYAN vAN GINNEKEN <r...@shaw.ca>
Subject [users@httpd] repost startssl at boot time
Date Thu, 29 Apr 2004 20:39:04 GMT
This is a repost of a problem i have been having for some time now. 
please someone help i use freebsd 4.9 and apache 2.0.0.49
Here is the output of my

sh -x /usr/local/etc/rc.d/apache2.sh start

+ PREFIX=/usr/local
+ SSL=ssl
+ [ -x /usr/local/sbin/apachectl ]
+ /usr/local/sbin/apachectl startssl
+ echo -n  apache2
apache2+ exit 0

here is the log of what happens when i reboot useing this apache2.sh script

#!/bin/sh
PREFIX=/usr/local

case "$1" in
start)
        SSL=ssl
        [ -x ${PREFIX}/sbin/apachectl ] && ${PREFIX}/sbin/apachectl 
start${SSL} > /de
        ;;
stop)
        [ -r /var/run/httpd.pid ] && ${PREFIX}/sbin/apachectl stop > 
/dev/null && ech
        ;;
*)
        echo "Usage: `basename $0` {start|stop}" >&2
        ;;
esac

exit 0



[Thu Apr 08 17:55:16 2004] [info] removed PID file /var/run/httpd.pid
(pid=3243)
[Thu Apr 08 17:55:16 2004] [notice] caught SIGTERM, shutting down
[Thu Apr 08 17:55:24 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Thu Apr 08 17:55:25 2004] [info] Init: Initializing OpenSSL library
[Thu Apr 08 17:55:25 2004] [info] Init: Seeding PRNG with 136 bytes of
entropy
[Thu Apr 08 17:55:25 2004] [info] Init: Generating temporary RSA private
keys (512/10
[Thu Apr 08 17:55:27 2004] [info] Init: Generating temporary DH
parameters (512/1024
[Thu Apr 08 17:55:27 2004] [debug] ssl_scache_dbm.c(403): Inter-Process
Session Cache
[Thu Apr 08 17:55:27 2004] [info] Init: Initializing (virtual) servers
for SSL
[Thu Apr 08 17:55:27 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, L
[Thu Apr 08 17:55:27 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Thu Apr 08 17:55:28 2004] [info] Init: Initializing OpenSSL library
[Thu Apr 08 17:55:28 2004] [info] Init: Seeding PRNG with 136 bytes of
entropy
[Thu Apr 08 17:55:28 2004] [info] Init: Generating temporary RSA private
keys (512/10
[Thu Apr 08 17:55:28 2004] [info] Init: Generating temporary DH
parameters (512/1024
[Thu Apr 08 17:55:28 2004] [debug] ssl_scache_dbm.c(403): Inter-Process
Session Cache
[Thu Apr 08 17:55:28 2004] [info] Init: Initializing (virtual) servers
for SSL
[Thu Apr 08 17:55:28 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, L
[Thu Apr 08 17:55:28 2004] [notice] Apache/2.0.49 (Unix) PHP/4.3.5
mod_ssl/2.0.49 Ope
[Thu Apr 08 17:55:28 2004] [info] Server built: Mar 30 2004 04:02:47
[Thu Apr 08 17:55:28 2004] [debug] prefork.c(955): AcceptMutex: flock
(default: flock
[Thu Apr 08 17:56:03 2004] [info] removed PID file /var/run/httpd.pid
(pid=5919)
[Thu Apr 08 17:56:03 2004] [notice] caught SIGTERM, shutting down
[Thu Apr 08 17:56:30 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Thu Apr 08 17:56:31 2004] [info] Init: Initializing OpenSSL library
[Thu Apr 08 17:56:31 2004] [info] Init: Seeding PRNG with 136 bytes of
entropy
[Thu Apr 08 17:56:31 2004] [info] Init: Generating temporary RSA private
keys (512/10
[Thu Apr 08 17:56:32 2004] [info] Init: Generating temporary DH
parameters (512/1024
[Thu Apr 08 17:56:32 2004] [debug] ssl_scache_dbm.c(403): Inter-Process
Session Cache
[Thu Apr 08 17:56:32 2004] [info] Init: Initializing (virtual) servers
for SSL
[Thu Apr 08 17:56:32 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, L
[Thu Apr 08 17:56:32 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Thu Apr 08 17:56:33 2004] [info] Init: Initializing OpenSSL library
[Thu Apr 08 17:56:33 2004] [info] Init: Seeding PRNG with 136 bytes of
entropy
[Thu Apr 08 17:56:33 2004] [info] Init: Generating temporary RSA private
keys (512/10
[Thu Apr 08 17:56:33 2004] [info] Init: Generating temporary DH
parameters (512/1024
[Thu Apr 08 17:56:33 2004] [debug] ssl_scache_dbm.c(403): Inter-Process
Session Cache
[Thu Apr 08 17:56:33 2004] [info] Init: Initializing (virtual) servers
for SSL
[Thu Apr 08 17:56:33 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, L
[Thu Apr 08 17:56:33 2004] [notice] Apache/2.0.49 (Unix) PHP/4.3.5
mod_ssl/2.0.49 Ope
[Thu Apr 08 17:56:33 2004] [info] Server built: Mar 30 2004 04:02:47
[Thu Apr 08 17:56:33 2004] [debug] prefork.c(955): AcceptMutex: flock
(default: flock
[Thu Apr 08 18:00:20 2004] [info] removed PID file /var/run/httpd.pid
(pid=5942)
[Thu Apr 08 18:00:20 2004] [notice] caught SIGTERM, shutting down
[Thu Apr 08 17:56:33 2004] [info] Init: Seeding PRNG with 136 bytes of
entropy
[Thu Apr 08 17:56:33 2004] [info] Init: Generating temporary RSA private
keys (512/10
[Thu Apr 08 17:56:33 2004] [info] Init: Generating temporary DH
parameters (512/1024
[Thu Apr 08 17:56:33 2004] [debug] ssl_scache_dbm.c(403): Inter-Process
Session Cache
[Thu Apr 08 17:56:33 2004] [info] Init: Initializing (virtual) servers
for SSL
[Thu Apr 08 17:56:33 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, L
[Thu Apr 08 17:56:33 2004] [notice] Apache/2.0.49 (Unix) PHP/4.3.5
mod_ssl/2.0.49 Ope
[Thu Apr 08 17:56:33 2004] [info] Server built: Mar 30 2004 04:02:47
[Thu Apr 08 17:56:33 2004] [debug] prefork.c(955): AcceptMutex: flock
(default: flock
[Thu Apr 08 18:00:20 2004] [info] removed PID file /var/run/httpd.pid
(pid=5942)
[Thu Apr 08 18:00:20 2004] [notice] caught SIGTERM, shutting down

and there is no apache not ssl or regular so i run apache start i get
this in the logs and still no apache ssl however regular apache works fine


[Thu Apr 08 18:19:07 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Thu Apr 08 18:19:08 2004] [info] Init: Initializing OpenSSL library
[Thu Apr 08 18:19:08 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Thu Apr 08 18:19:08 2004] [info] Init: Generating temporary RSA private
keys (512/10
[Thu Apr 08 18:19:10 2004] [info] Init: Generating temporary DH
parameters (512/1024
[Thu Apr 08 18:19:10 2004] [warn] Init: Session Cache is not configured
[hint: SSLSes
[Thu Apr 08 18:19:10 2004] [info] Init: Initializing (virtual) servers
for SSL
[Thu Apr 08 18:19:10 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, L
[Thu Apr 08 18:19:10 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Thu Apr 08 18:19:11 2004] [info] Init: Initializing OpenSSL library
[Thu Apr 08 18:19:11 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Thu Apr 08 18:19:11 2004] [info] Init: Generating temporary RSA private
keys (512/10
[Thu Apr 08 18:19:12 2004] [info] Init: Generating temporary DH
parameters (512/1024
[Thu Apr 08 18:19:12 2004] [info] Init: Initializing (virtual) servers
for SSL
[Thu Apr 08 18:19:12 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, L
[Thu Apr 08 18:19:12 2004] [notice] Apache/2.0.49 (Unix) PHP/4.3.5
mod_ssl/2.0.49 Ope
[Thu Apr 08 18:19:12 2004] [info] Server built: Mar 30 2004 04:02:47
[Thu Apr 08 18:19:12 2004] [debug] prefork.c(955): AcceptMutex: flock
(default: flock

then i run apachectl stop followed by startssl and get this in the logs
and everthing works great ssl and none ssl

[Thu Apr 08 18:23:05 2004] [info] removed PID file /var/run/httpd.pid
(pid=295)
[Thu Apr 08 18:23:05 2004] [notice] caught SIGTERM, shutting down
[Thu Apr 08 18:23:09 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Thu Apr 08 18:23:10 2004] [info] Init: Initializing OpenSSL library
[Thu Apr 08 18:23:10 2004] [info] Init: Seeding PRNG with 136 bytes of
entropy
[Thu Apr 08 18:23:10 2004] [info] Init: Generating temporary RSA private
keys (512/10
[Thu Apr 08 18:23:11 2004] [info] Init: Generating temporary DH
parameters (512/1024
[Thu Apr 08 18:23:11 2004] [debug] ssl_scache_dbm.c(403): Inter-Process
Session Cache
[Thu Apr 08 18:23:11 2004] [info] Init: Initializing (virtual) servers
for SSL
[Thu Apr 08 18:23:11 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, L
[Thu Apr 08 18:23:11 2004] [info] mod_unique_id: using ip addr 192.168.0.202
[Thu Apr 08 18:23:12 2004] [info] Init: Initializing OpenSSL library
[Thu Apr 08 18:23:12 2004] [info] Init: Seeding PRNG with 136 bytes of
entropy
[Thu Apr 08 18:23:12 2004] [info] Init: Generating temporary RSA private
keys (512/10
[Thu Apr 08 18:23:13 2004] [info] Init: Generating temporary DH
parameters (512/1024
[Thu Apr 08 18:23:13 2004] [debug] ssl_scache_dbm.c(403): Inter-Process
Session Cache
[Thu Apr 08 18:23:13 2004] [info] Init: Initializing (virtual) servers
for SSL
[Thu Apr 08 18:23:13 2004] [info] Server: Apache/2.0.49, Interface:
mod_ssl/2.0.49, L
[Thu Apr 08 18:23:13 2004] [notice] Apache/2.0.49 (Unix) PHP/4.3.5
mod_ssl/2.0.49 Ope
[Thu Apr 08 18:23:13 2004] [info] Server built: Mar 30 2004 04:02:47
[Thu Apr 08 18:23:13 2004] [debug] prefork.c(955): AcceptMutex: flock
(default: flock

Matthew Seaman wrote:

>On Wed, Apr 07, 2004 at 04:58:24PM -0600, RYAN vAN GINNEKEN wrote:
>  
>
>>THANKS but i already have that line in my rc.conf file and the log 
>>entries that i have submitted to this list are not from a reboot but 
>>rather apachectl stop and start or startssl.  So when i run a startssl i 
>>get the randomness i need however when i just use apachectl start which 
>>is 99.9% the same command it does not.  honestly i am stumped hope you 
>>have some more wisdom to share.  There is also the line about ssl cache 
>>i have do some googleing but have not been able to come up with anything 
>>that helps.
>>    
>>
>
>That's most odd.  As you say, the apache2.sh script essentially just
>runs 'apachectl start' for you.  Or, at least, that's what it's meant
>to do.  There must be something different about what it is doing.
>Hmmm... Can you show us the output from:
>
>    # sh -x /usr/local/etc/rc.d/apache2.sh start
>
>(make sure apache is not running before you type that)
>
>	Cheers,
>
>	Matthew
>
>  
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message