Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2018 18:40:59 -0400
From:      William Dudley <wfdudley@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: I broke my Apache 2.4 install and I need help!
Message-ID:  <CAFsnNZJtNYqdbFzBkK7d8zbWS1B_xkKkPGOvqDjE%2BSUcxD2pYw@mail.gmail.com>
In-Reply-To: <CALeGphy1qSVfcKbTCeRh_k4mUGhOGeEDd7xn49JNN9rpdpHxtA@mail.gmail.com>
References:  <CAFsnNZLHzAsNfYD2H1qsgHEZZz0uFRhTomDi0uWg5ee-93PqAw@mail.gmail.com> <20180402204202.GA3145@gmail.com> <CAFsnNZKjovHMGf4%2BkSBxq8h=siLvbsNg5LNs8nCcB24wRGNpqA@mail.gmail.com> <20180402213311.GB3145@gmail.com> <CAFsnNZLyLEUHxX8pu9AuT0kaeOnPo8JdG-Ctge92OLBC0H60yw@mail.gmail.com> <CALeGphxZ7-HyZXuzsyHXHrdJ6SY8BLUvbR6ot_3igDtWEUTfQA@mail.gmail.com> <CAFsnNZKP7W5rYoW11N-Qh-vWyH_QZ2eKK=R1PLbXPLECShxH1w@mail.gmail.com> <CALeGphy1qSVfcKbTCeRh_k4mUGhOGeEDd7xn49JNN9rpdpHxtA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As stated at the top of the thread, this is FreeBSD 10.3

Here's the scary message that you get when you install apache24 from a
package:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! mod_http2 on FreeBSD with OpenSSL from base results in a mostly !!
!! functionally unusable module due to lack of "Upgrade"           !!
!! capability in OpenSSL 1.0.1.                                    !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I installed openssl by doing "pkg install openssl"

I've managed to get my apache install working without any SSL stuff
running.  That's progress.

Bill Dudley


This email is free of malware because I run Linux.

On Mon, Apr 2, 2018 at 6:25 PM, Jack L. <xxjack12xx@gmail.com> wrote:

> what version of freebsd are you using? how did you try to upgrade openssl?
> what was the message?
>
> On Mon, Apr 2, 2018 at 3:21 PM, William Dudley <wfdudley@gmail.com> wrote:
>
>> I also installed the openssl package recently because of scary warnings
>> when I upgraded apache24,
>> saying that the base openssl was "not upgradeable".
>>
>> Is the openssl pkg a problem with apache ssl?  That also seems broken.
>>
>> Bill Dudley
>>
>>
>> This email is free of malware because I run Linux.
>>
>> On Mon, Apr 2, 2018 at 6:01 PM, Jack L. <xxjack12xx@gmail.com> wrote:
>>
>> > That's probably because when you reinstall something, it does a remove
>> and
>> > then an install after.
>> >
>> > [1/1] Reinstalling apache24-2.4.33...
>> >
>> > On Mon, Apr 2, 2018 at 2:55 PM, William Dudley <wfdudley@gmail.com>
>> wrote:
>> >
>> >> When I blow away /usr/local/etc/apache24 (really, rename it to
>> something
>> >> else)
>> >> and do "pkg upgrade -f apache24", I get the following messages:
>> >>
>> >> [1/1] Reinstalling apache24-2.4.33...
>> >> ===> Creating groups.
>> >> Using existing group 'www'.
>> >> ===> Creating users
>> >> Using existing user 'www'.
>> >> [1/1] Extracting apache24-2.4.33: 100%
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/httpd-autoindex.conf if it is no longer
>> >> needed.
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/httpd-dav.conf if it is no longer
>> needed.
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/httpd-default.conf if it is no longer
>> >> needed.
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/httpd-info.conf if it is no longer
>> needed.
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/httpd-languages.conf if it is no longer
>> >> needed.
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/httpd-manual.conf if it is no longer
>> >> needed.
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/httpd-mpm.conf if it is no longer
>> needed.
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/httpd-multilang-errordoc.conf if it is
>> no
>> >> longer needed.
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/httpd-ssl.conf if it is no longer
>> needed.
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/httpd-userdir.conf if it is no longer
>> >> needed.
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/httpd-vhosts.conf if it is no longer
>> >> needed.
>> >> You may need to manually remove
>> >> /usr/local/etc/apache24/extra/proxy-html.conf if it is no longer
>> needed.
>> >> You may need to manually remove /usr/local/etc/apache24/httpd.conf if
>> it
>> >> is
>> >> no longer needed.
>> >> You may need to manually remove /usr/local/etc/apache24/magic if it is
>> no
>> >> longer needed.
>> >> You may need to manually remove /usr/local/etc/apache24/mime.types if
>> it
>> >> is
>> >> no longer needed.
>> >>
>> >> Why does it say this?  It makes no sense.  This is during the *install*
>> >> phase, remember.
>> >> The install creates an httpd.conf which is identical to
>> http.conf.sample,
>> >> of which I had a copy.
>> >>
>> >> Anyway, still hosed.  Virtualhosts is totally broken, but apache will
>> >> serve
>> >> ONE web site.
>> >>
>> >> Bill Dudley
>> >>
>> >>
>> >> This email is free of malware because I run Linux.
>> >>
>> >> On Mon, Apr 2, 2018 at 5:33 PM, Matt Smith <matt.xtaz@gmail.com>
>> wrote:
>> >>
>> >> > On Apr 02 16:57, William Dudley wrote:
>> >> >
>> >> >> I did as you suggested (I made a backup prior.) (I also have good
>> >> backups,
>> >> >> just not of the file
>> >> >> that FreeBSD/Apache said is "no longer needed").
>> >> >>
>> >> >> I got this message:
>> >> >>
>> >> >> "You may need to manually remove /usr/local/etc/apache24/httpd.conf
>> >> if it
>> >> >> is no longer needed."
>> >> >>
>> >> >> And the re-install didn't re-write that file from my attempt at
>> getting
>> >> >> things running.
>> >> >> Apache is still totally hosed.
>> >> >>
>> >> >> I am confused as to why it says httpd.conf is no longer needed, but
>> >> >> everything is totally hosed
>> >> >> after I removed it.
>> >> >>
>> >> >>
>> >> > It's because a pkg upgrade is actually doing a pkg delete and then a
>> pkg
>> >> > install. You are seeing that message because it's telling you that if
>> >> you
>> >> > no longer want to use apache after deleting it then you can remove
>> that
>> >> > file. But then it's actually installing the upgraded version once
>> again.
>> >> >
>> >> > Ok, next idea. Are there any files called httpd.conf.sample? If so
>> you
>> >> can
>> >> > probably copy that. Packages usually install a .sample file and then
>> >> copy
>> >> > them to the proper file if it doesn't already exist.
>> >> >
>> >> > Failing that you may have to move the old apache directory out of the
>> >> way
>> >> > so it doesn't exist at all and then force the reinstall, copy the
>> file
>> >> out
>> >> > of it into your original directory, and then move it back again.
>> >> >
>> >> > --
>> >> > Matt
>> >> >
>> >> _______________________________________________
>> >> freebsd-questions@freebsd.org mailing list
>> >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe
>> >> @freebsd.org"
>> >>
>> >
>> >
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe
>> @freebsd.org"
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFsnNZJtNYqdbFzBkK7d8zbWS1B_xkKkPGOvqDjE%2BSUcxD2pYw>