Hellp! mod_perl worked fine then added modssl and now apache won"
Hellp! mod_perl worked fine then added modssl and now apache won"
am 15.11.2002 00:04:39 von mitchelj
Hi all,
I am still new to all of this.
I had Apache 1.3.22 with mod_perl included and the Authenitcation hook enabled. Everything was fine.
Then I imstalled my OpenSSL and generated my key, got my server certificate from my csr etc fine. The certificate has been verified.
I then with mod_ssl-2.8.5-1.3.22
did ./configure \
--with-apache=/web/server/apache/1.3.22-source \
--with-ssl=/web/server/OpenSSL/0.9.6g \
--with-crt=/web/server/OpenSSL/0.9.6g/bin/serverPEM.crt \
--with-key=/web/server/OpenSSL/0.9.6g/bin/server.key \
--prefix=/=/web/server/apache/1.3.22
This went fine. make went fine. Because I used with-crt/with-key I skipped make certificate (yes serverPEM.crt and server.key are the real certificate and private key)
make install goes fine.
I stop Apache fine.
Once start I get the following error
Syntax error on line 1008 of /web/server/apache/1.3.22/conf/httpd.conf:
Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the server configuration
/web/server/apache/1.3.22/bin/apachectl start: httpd could not be started
I remove the following lines from my httpd.conf file because I was only using them once before to ensure my mod_perl hooks were enabled.
Now starting apache I get:
/web/server/apache/1.3.22/bin/apachectl start: httpd could not be started
Here is the messages in the error log for the last attempt at starting:
[Thu Nov 14 16:35:31 2002] [error] mod_ssl: Init: Failed to generate temporary 512 bit RSA private key (OpenSSL library error follows)
[Thu Nov 14 16:35:31 2002] [error] OpenSSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded
[Thu Nov 14 16:35:31 2002] [error] OpenSSL: error:04069003:rsa routines:RSA_generate_key:BN lib
The machine has a /dev/random .
Greping for Random out of my Apache conf directory I get:
httpd.conf.default:# Pseudo Random Number Generator (PRNG):
httpd.conf.default:SSLRandomSeed startup builtin
httpd.conf.default:SSLRandomSeed connect builtin
httpd.conf.default:#SSLRandomSeed startup file:/dev/random 512
httpd.conf.default:#SSLRandomSeed startup file:/dev/urandom 512
httpd.conf.default:#SSLRandomSeed connect file:/dev/random 512
httpd.conf.default:#SSLRandomSeed connect file:/dev/urandom 512
Do I need to add one of these to my httpd.conf since that is what get used? But which one?
Thanks.
Jem
Re: Hellp! mod_perl worked fine then added modssl and now apachewon" t start
am 16.11.2002 09:36:21 von Stas Bekman
Mitchel, Jennifer (Jem) wrote:
> Hi all,
>
> I am still new to all of this.
>
> I had Apache 1.3.22 with mod_perl included and the Authenitcation hook enabled. Everything was fine.
>
> Then I imstalled my OpenSSL and generated my key, got my server certificate from my csr etc fine. The certificate has been verified.
>
> I then with mod_ssl-2.8.5-1.3.22
> did ./configure \
> --with-apache=/web/server/apache/1.3.22-source \
> --with-ssl=/web/server/OpenSSL/0.9.6g \
> --with-crt=/web/server/OpenSSL/0.9.6g/bin/serverPEM.crt \
> --with-key=/web/server/OpenSSL/0.9.6g/bin/server.key \
> --prefix=/=/web/server/apache/1.3.22
>
> This went fine. make went fine. Because I used with-crt/with-key I skipped make certificate (yes serverPEM.crt and server.key are the real certificate and private key)
>
> make install goes fine.
>
> I stop Apache fine.
> Once start I get the following error
>
> Syntax error on line 1008 of /web/server/apache/1.3.22/conf/httpd.conf:
> Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the server configuration
> /web/server/apache/1.3.22/bin/apachectl start: httpd could not be started
Please review:
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_ and_mod_ssl___openssl_
--
____________________________________________________________ _________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: Hellp! mod_perl worked fine then added modssl and now apachewon" t start
am 16.11.2002 09:36:21 von Stas Bekman
Mitchel, Jennifer (Jem) wrote:
> Hi all,
>
> I am still new to all of this.
>
> I had Apache 1.3.22 with mod_perl included and the Authenitcation hook enabled. Everything was fine.
>
> Then I imstalled my OpenSSL and generated my key, got my server certificate from my csr etc fine. The certificate has been verified.
>
> I then with mod_ssl-2.8.5-1.3.22
> did ./configure \
> --with-apache=/web/server/apache/1.3.22-source \
> --with-ssl=/web/server/OpenSSL/0.9.6g \
> --with-crt=/web/server/OpenSSL/0.9.6g/bin/serverPEM.crt \
> --with-key=/web/server/OpenSSL/0.9.6g/bin/server.key \
> --prefix=/=/web/server/apache/1.3.22
>
> This went fine. make went fine. Because I used with-crt/with-key I skipped make certificate (yes serverPEM.crt and server.key are the real certificate and private key)
>
> make install goes fine.
>
> I stop Apache fine.
> Once start I get the following error
>
> Syntax error on line 1008 of /web/server/apache/1.3.22/conf/httpd.conf:
> Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the server configuration
> /web/server/apache/1.3.22/bin/apachectl start: httpd could not be started
Please review:
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_ and_mod_ssl___openssl_
--
____________________________________________________________ _________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: Hellp! mod_perl worked fine then added modssl and now apachewon" t start
am 16.11.2002 11:53:01 von Stas Bekman
Mitchel, Jennifer (Jem) wrote:
> Hi all,
>
> I am still new to all of this.
>
> I had Apache 1.3.22 with mod_perl included and the Authenitcation hook enabled. Everything was fine.
>
> Then I imstalled my OpenSSL and generated my key, got my server certificate from my csr etc fine. The certificate has been verified.
>
> I then with mod_ssl-2.8.5-1.3.22
> did ./configure \
> --with-apache=/web/server/apache/1.3.22-source \
> --with-ssl=/web/server/OpenSSL/0.9.6g \
> --with-crt=/web/server/OpenSSL/0.9.6g/bin/serverPEM.crt \
> --with-key=/web/server/OpenSSL/0.9.6g/bin/server.key \
> --prefix=/=/web/server/apache/1.3.22
>
> This went fine. make went fine. Because I used with-crt/with-key I skipped make certificate (yes serverPEM.crt and server.key are the real certificate and private key)
>
> make install goes fine.
>
> I stop Apache fine.
> Once start I get the following error
>
> Syntax error on line 1008 of /web/server/apache/1.3.22/conf/httpd.conf:
> Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the server configuration
> /web/server/apache/1.3.22/bin/apachectl start: httpd could not be started
Please review:
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_ and_mod_ssl___openssl_
--
____________________________________________________________ _________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
Re: Hellp! mod_perl worked fine then added modssl and now apachewon" t start
am 16.11.2002 11:53:01 von Stas Bekman
Mitchel, Jennifer (Jem) wrote:
> Hi all,
>
> I am still new to all of this.
>
> I had Apache 1.3.22 with mod_perl included and the Authenitcation hook enabled. Everything was fine.
>
> Then I imstalled my OpenSSL and generated my key, got my server certificate from my csr etc fine. The certificate has been verified.
>
> I then with mod_ssl-2.8.5-1.3.22
> did ./configure \
> --with-apache=/web/server/apache/1.3.22-source \
> --with-ssl=/web/server/OpenSSL/0.9.6g \
> --with-crt=/web/server/OpenSSL/0.9.6g/bin/serverPEM.crt \
> --with-key=/web/server/OpenSSL/0.9.6g/bin/server.key \
> --prefix=/=/web/server/apache/1.3.22
>
> This went fine. make went fine. Because I used with-crt/with-key I skipped make certificate (yes serverPEM.crt and server.key are the real certificate and private key)
>
> make install goes fine.
>
> I stop Apache fine.
> Once start I get the following error
>
> Syntax error on line 1008 of /web/server/apache/1.3.22/conf/httpd.conf:
> Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the server configuration
> /web/server/apache/1.3.22/bin/apachectl start: httpd could not be started
Please review:
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_ and_mod_ssl___openssl_
--
____________________________________________________________ _________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
Re: Hellp! mod_perl worked fine then added modssl and now apachewon" t start
am 16.11.2002 11:55:06 von Stas Bekman
Mitchel, Jennifer (Jem) wrote:
> Hi all,
>
> I am still new to all of this.
>
> I had Apache 1.3.22 with mod_perl included and the Authenitcation hook enabled. Everything was fine.
>
> Then I imstalled my OpenSSL and generated my key, got my server certificate from my csr etc fine. The certificate has been verified.
>
> I then with mod_ssl-2.8.5-1.3.22
> did ./configure \
> --with-apache=/web/server/apache/1.3.22-source \
> --with-ssl=/web/server/OpenSSL/0.9.6g \
> --with-crt=/web/server/OpenSSL/0.9.6g/bin/serverPEM.crt \
> --with-key=/web/server/OpenSSL/0.9.6g/bin/server.key \
> --prefix=/=/web/server/apache/1.3.22
>
> This went fine. make went fine. Because I used with-crt/with-key I skipped make certificate (yes serverPEM.crt and server.key are the real certificate and private key)
>
> make install goes fine.
>
> I stop Apache fine.
> Once start I get the following error
>
> Syntax error on line 1008 of /web/server/apache/1.3.22/conf/httpd.conf:
> Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the server configuration
> /web/server/apache/1.3.22/bin/apachectl start: httpd could not be started
Please review:
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_ and_mod_ssl___openssl_
--
____________________________________________________________ _________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas-LXMdaZOFXMEdnm+yROfE0A@public.gmane.org http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
____________________________________________________________ __________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users-MCmKBN63+BlAfugRpC6u6w@public.gmane.org
Automated List Manager majordomo-MCmKBN63+BlAfugRpC6u6w@public.gmane.org
Re: Hellp! mod_perl worked fine then added modssl and now apachewon" t start
am 16.11.2002 11:55:06 von Stas Bekman
Mitchel, Jennifer (Jem) wrote:
> Hi all,
>
> I am still new to all of this.
>
> I had Apache 1.3.22 with mod_perl included and the Authenitcation hook enabled. Everything was fine.
>
> Then I imstalled my OpenSSL and generated my key, got my server certificate from my csr etc fine. The certificate has been verified.
>
> I then with mod_ssl-2.8.5-1.3.22
> did ./configure \
> --with-apache=/web/server/apache/1.3.22-source \
> --with-ssl=/web/server/OpenSSL/0.9.6g \
> --with-crt=/web/server/OpenSSL/0.9.6g/bin/serverPEM.crt \
> --with-key=/web/server/OpenSSL/0.9.6g/bin/server.key \
> --prefix=/=/web/server/apache/1.3.22
>
> This went fine. make went fine. Because I used with-crt/with-key I skipped make certificate (yes serverPEM.crt and server.key are the real certificate and private key)
>
> make install goes fine.
>
> I stop Apache fine.
> Once start I get the following error
>
> Syntax error on line 1008 of /web/server/apache/1.3.22/conf/httpd.conf:
> Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the server configuration
> /web/server/apache/1.3.22/bin/apachectl start: httpd could not be started
Please review:
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_ and_mod_ssl___openssl_
--
____________________________________________________________ _________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas-LXMdaZOFXMEdnm+yROfE0A@public.gmane.org http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
____________________________________________________________ __________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users-MCmKBN63+BlAfugRpC6u6w@public.gmane.org
Automated List Manager majordomo-MCmKBN63+BlAfugRpC6u6w@public.gmane.org