mod_ssl apache httpd failed to start

mod_ssl apache httpd failed to start

Post by Sam Adam » Thu, 02 Aug 2001 14:59:26



hi, i am playing with mod_ssl and apache
    SunOS ronin1 5.6 Generic_105181-06 sun4u sparc SUNW,Ultra-5_10
    apache_1.3.19/        
    mod_ssl-2.8.3-1.3.19/  
    openssl-0.9.6b//

had Apache running w/o problem for a few months. wanted https.
followed mod_ssl INSTALL and the example at modssl.org to config
and rebuild apache. no problem there either. During
'make certificate' or the following 'make', had to enter some
country code, state, url etc info but i don't think those are
relevant to my problem - now i can't start Apache httpd at all:
        both 'apachectl start' and 'apachectl startssl'
failed with the following messages in error_log:

[Wed Aug  1 01:22:43 2001] [error] mod_ssl: Init: Failed to
        generate temporary 512 bit RSA private key
        (OpenSSL library error follows)
[Wed Aug  1 01:22:43 2001] [error] OpenSSL: error:24064064:random
        number generator:SSLEAY_RAND_BYTES:PRNG not seeded
[Wed Aug  1 01:22:43 2001] [error] OpenSSL: error:04069003:
        rsa routines:RSA_generate_key:BN lib

am i missing something? like a random # generator? even so,
the new apache binary should have run w/o SSL support
as 'apachectl start'.

confused and tired. hope someone can help. thanks.

--

 
 
 

1. Apache failed to start with SSLCryptoDevice directive in httpd.conf

Hi All,

Iam using Apache 1.3.19 and apache engine code (with some changes in
engine code) with mod_ssl-2.8.1-1.3.19.

I have built Apache with --enable-rule=SSL_EXPERIMENTAL. I have added
"SSLCryptoDevice xxxx" in SSL Global Context of httpd.conf file where
xxxx is engine name.

But starting the server gives the following error.

"Syntax error on line 976 of /usr/local/sslerator/apache_1.3.19/conf/httpd.conf:
Invalid command 'SSLCryptoDeive', perhaps mis-spelled or defined by a module not included in the server configuration
./apachectl startssl: httpd could not be started "

It is mentioned in mod-ssl documents that "SSLCryptoDevice" directive
can be used for crypto devices. But Iam not sure why Apache failed to
start.

Did some one face this problem earlier?

Any help in this regard is highly appreciated.

TIA
Sanjay

--
Sent by srgogula from yahoo piece from  com
This is a spam protected message. Please answer with reference header.
Posted via http://www.usenet-replayer.com/cgi/content/new

2. awk question

3. apachect1 start in Apache/1.3.12 doesn′t start httpd

4. Fedora 2 and orinoco

5. mod_ssl / httpd.conf problem under Apache 1.3.1

6. Accessing task_struct from user space

7. httpd depends on libssl when Apache is built with mod_ssl

8. SCSI disk from XENIX system with 1542 controller has strange errors on OS5 with 2940UW SCSI

9. Apache again fails to start (setsid failed)

10. apache/mod_ssl/php says started but is not

11. Starting Apache/mod_ssl with encrypted private key

12. apache mod_ssl mod_jk virtual hosts start problem

13. httpd start [FAILED]: file size limit exceeded