From owner-freebsd-questions@freebsd.org Mon Apr 2 22:46:42 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CAEC2F54DB6 for ; Mon, 2 Apr 2018 22:46:41 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-yw0-x22f.google.com (mail-yw0-x22f.google.com [IPv6:2607:f8b0:4002:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4757076ACE for ; Mon, 2 Apr 2018 22:46:41 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by mail-yw0-x22f.google.com with SMTP id y23so5504567ywy.4 for ; Mon, 02 Apr 2018 15:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:cc; bh=NQxEYru0Q2iLfxgiWHgziJSVGHxVLspzOpNXJT9vtNc=; b=BJM7Z4TPZKmDBOXgXyLZr+21azVEShWp8LjRKu9nh6YgYAoGDZVSDCWPGO1sEzXhVv XsKa+Z8Z2ok3/8ZOnS6uj3vNHh9rm+88dUlM3+tYBeD5S6Xc2JBgziG2VMNwLuNXBOAz SpXGzpwveKrTzW7bfQpNbc793TZh0qEGhzHnRAy9SpU3VY+FeDu4RMJ0MKmvQtPXIjLK Y7WkwTyzVSSc5hBgsda3Rh7Y36ZumTuD9SqUGgKl7DqO7YKJTp2BVOKAHMjrQefYUw8q b8rXCLN6G+Gop15lEBP97zA9Q5r6GWA1c+2OINiQ/6B688NH7dt57XhhG3p1Z2qe3f3z mL8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:cc; bh=NQxEYru0Q2iLfxgiWHgziJSVGHxVLspzOpNXJT9vtNc=; b=jPxsC+nRDg28MO8RkzyCvIh133HTyPuMre94MVzsgg7t/35FzHS9/PgLJY5yEVcIPL 4XXCRkIhEYHZ6N9ALL+j+++T+v7PybfpS9uxeSOZGZbpA902DVhoq8DOIc80LBNiYStj UlVy/5PZ3UyR1OjyCAZwqoe+LVpyY8ztEfW5FYHyhjlrAr8VFuqTei1QSCWguU3HCnfS WTKVVL9YGCIpTrV4dP0NT/CjZafWYJbUgts09G4syvJ6lnTk20BbmUOr1gSVRAlhIHyO BLr+0PDoUOdGIoRsLDcs0JIgNA6+S45qjxeEYU8Pn9r/IVbzAMtK+qPqhOY+O3bye34k SrTQ== X-Gm-Message-State: AElRT7GzYVDvt033JPCt57Z/aAx3dY+uyuwDcJ/eljufG+xJzbjQeM06 Olb+2Z181TIaARA5chBrjbMCnyF05mop7uxYRLU= X-Google-Smtp-Source: AIpwx49Mnwf3Ax5FCUESy/o9dQ77WmQ7lVxn6bInW3Zxu9ostgA0GRLRtQWnUBfr0DBFDH1SUarJRXqqwAXDFdpdGCE= X-Received: by 10.129.109.86 with SMTP id i83mr6355303ywc.347.1522709200478; Mon, 02 Apr 2018 15:46:40 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:2e48:0:0:0:0:0 with HTTP; Mon, 2 Apr 2018 15:46:39 -0700 (PDT) From: William Dudley Date: Mon, 2 Apr 2018 18:46:39 -0400 Message-ID: Subject: Re: I broke my Apache 2.4 install -- sort of solved Cc: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2018 22:46:42 -0000 Apache 2.4 working now with all the SSL disabled. If I try to use a formerly working virtual host on 443, apache dies. New thread to follow. Thanks, Bill Dudley This email is free of malware because I run Linux. On Mon, Apr 2, 2018 at 6:40 PM, William Dudley wrote: > 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. 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 >> 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. 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 >>> 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 >>> 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" >>> >> >> >