DevHeads.net

Installation Error in Apache2

Hello

When I try to install Apache2 on Ubuntu using the command

"sudo apt-get install apache2 apache2-doc apache2-utils"

It throws up the following error:

*Syntax error on line 17 of /etc/apache2/sites-enabled/000-default.conf*
*SSLv3 not supported by this version of OpenSSL*
*Action 'configtest' failed*

Anyone has any clue on how to resolve the error?

Thank You
Deepak

Deepak
"The greatness of a nation can be judged by the way its animals are
treated. Please stop cruelty to Animals, become a Vegan"

+91 73500 12833
<a href="mailto: ... at gmail dot com"> ... at gmail dot com</a>

Facebook: <a href="https://www.facebook.com/deicool" title="https://www.facebook.com/deicool">https://www.facebook.com/deicool</a>
LinkedIn: <a href="http://www.linkedin.com/in/deicool" title="www.linkedin.com/in/deicool">www.linkedin.com/in/deicool</a>

"Plant a Tree, Go Green"

Make In India : <a href="http://www.makeinindia.com/home" title="http://www.makeinindia.com/home">http://www.makeinindia.com/home</a>

Comments

Re: Installation Error in Apache2

By Nick Kew at 05/12/2018 - 04:55

Looks clear enough to me. Either turn off SSL, or update your OpenSSL install.

If this was a first-time install of any "apache2" package, and if your OpenSSL
is also ubuntu's package (as opposed to your own or a third-party), then it
looks like a ubuntu bug: they should either fix their OpenSSL package
dependency or not load SSL by default.

Re: Installation Error in Apache2

By Deepak Goel at 05/12/2018 - 05:01

There was apache2 installed. I removed it and then got it to install it
again

Yes, OpenSSL was Ubuntu's package. Any way around this?

Thanks :)

Deepak
"The greatness of a nation can be judged by the way its animals are
treated. Please stop cruelty to Animals, become a Vegan"

+91 73500 12833
<a href="mailto: ... at gmail dot com"> ... at gmail dot com</a>

Facebook: <a href="https://www.facebook.com/deicool" title="https://www.facebook.com/deicool">https://www.facebook.com/deicool</a>
LinkedIn: <a href="http://www.linkedin.com/in/deicool" title="www.linkedin.com/in/deicool">www.linkedin.com/in/deicool</a>

"Plant a Tree, Go Green"

Make In India : <a href="http://www.makeinindia.com/home" title="http://www.makeinindia.com/home">http://www.makeinindia.com/home</a>

Re: Installation Error in Apache2

By Frank Gingras at 05/12/2018 - 15:31

So, just to confirm, you had a lingering config file that was trying to use
SSLv3 prior?

If not, please file a bug with the ubuntu package maintainer, as Nik
pointed out.

Re: Installation Error in Apache2

By Deepak Goel at 05/12/2018 - 15:40

I have already raised it with Ubuntu but am yet to get a response

Re: Installation Error in Apache2

By Daniel at 05/13/2018 - 01:34

Just do what Frank says and look for the directive SSLProtocols and remove
SSLv3 parameter

El sáb., 12 may. 2018 21:40, Deepak Goel < ... at gmail dot com> escribió:

Re: Installation Error in Apache2

By Deepak Goel at 05/13/2018 - 12:08

Removing SSLv3 parameter gives the following error:

*SSLRandomseed cannot occur within <VirtualHost> section*
*Action configtest failed*

Deepak
"The greatness of a nation can be judged by the way its animals are
treated. Please stop cruelty to Animals, become a Vegan"

+91 73500 12833
<a href="mailto: ... at gmail dot com"> ... at gmail dot com</a>

Facebook: <a href="https://www.facebook.com/deicool" title="https://www.facebook.com/deicool">https://www.facebook.com/deicool</a>
LinkedIn: <a href="http://www.linkedin.com/in/deicool" title="www.linkedin.com/in/deicool">www.linkedin.com/in/deicool</a>

"Plant a Tree, Go Green"

Make In India : <a href="http://www.makeinindia.com/home" title="http://www.makeinindia.com/home">http://www.makeinindia.com/home</a>

Re: Installation Error in Apache2

By Yehuda Katz at 05/13/2018 - 14:56

Each configuration directive is valid in specific parts of the
configuration.
Look at "Context" in the manual:
<a href="https://httpd.apache.org/docs/2.4/mod/directive-dict.html#Context" title="https://httpd.apache.org/docs/2.4/mod/directive-dict.html#Context">https://httpd.apache.org/docs/2.4/mod/directive-dict.html#Context</a>

For this specific case,
<a href="https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslrandomseed" title="https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslrandomseed">https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslrandomseed</a>
SSLRandomSeed can only be in the global server config, not in a
<VirtualHost>.

- Y

Re: Installation Error in Apache2

By Deepak Goel at 05/13/2018 - 15:33

I am a newbie so sorry to test your patience.

How to go about getting a fresh installation of Apache2 on my Ubuntu box
which supports SSL? (Please note there might be an earlier broken Apach2
installation. How do I clean this up? And then go about installing a fresh
installation)

Thank You very much

Deepak
"The greatness of a nation can be judged by the way its animals are
treated. Please stop cruelty to Animals, become a Vegan"

+91 73500 12833
<a href="mailto: ... at gmail dot com"> ... at gmail dot com</a>

Facebook: <a href="https://www.facebook.com/deicool" title="https://www.facebook.com/deicool">https://www.facebook.com/deicool</a>
LinkedIn: <a href="http://www.linkedin.com/in/deicool" title="www.linkedin.com/in/deicool">www.linkedin.com/in/deicool</a>

"Plant a Tree, Go Green"

Make In India : <a href="http://www.makeinindia.com/home" title="http://www.makeinindia.com/home">http://www.makeinindia.com/home</a>

Re: Installation Error in Apache2

By Yehuda Katz at 05/13/2018 - 15:38

Since none of us can see your server, we can't tell you exactly what you
need.
If you installed it with apt, you can run apt purge apache2
If you installed it some other way, we can't help you.

- Y

Re: Installation Error in Apache2

By Deepak Goel at 05/13/2018 - 16:06

The purge worked! Thank You Y :)

Deepak
"The greatness of a nation can be judged by the way its animals are
treated. Please stop cruelty to Animals, become a Vegan"

+91 73500 12833
<a href="mailto: ... at gmail dot com"> ... at gmail dot com</a>

Facebook: <a href="https://www.facebook.com/deicool" title="https://www.facebook.com/deicool">https://www.facebook.com/deicool</a>
LinkedIn: <a href="http://www.linkedin.com/in/deicool" title="www.linkedin.com/in/deicool">www.linkedin.com/in/deicool</a>

"Plant a Tree, Go Green"

Make In India : <a href="http://www.makeinindia.com/home" title="http://www.makeinindia.com/home">http://www.makeinindia.com/home</a>