Date: Mon, 2 Apr 2018 16:57:23 -0400 From: William Dudley <wfdudley@gmail.com> To: Matt Smith <matt.xtaz@gmail.com>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: I broke my Apache 2.4 install and I need help! Message-ID: <CAFsnNZKjovHMGf4%2BkSBxq8h=siLvbsNg5LNs8nCcB24wRGNpqA@mail.gmail.com> In-Reply-To: <20180402204202.GA3145@gmail.com> References: <CAFsnNZLHzAsNfYD2H1qsgHEZZz0uFRhTomDi0uWg5ee-93PqAw@mail.gmail.com> <20180402204202.GA3145@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Bill Dudley This email is free of malware because I run Linux. On Mon, Apr 2, 2018 at 4:42 PM, Matt Smith <matt.xtaz@gmail.com> wrote: > On Apr 02 15:56, William Dudley wrote: > >> FreeBSD 10.3 >> >> I stupidly obeyed the line "you may delete the httpd.conf file" that >> I saw when I did "pkg upgrade apache24". >> >> I didn't have a backup of that ONE file. I know, stupid. >> >> Anyway, now my server is hosed. I'm hosting a handful of domains, >> and have letsencrypt certs installed, that WERE working fine last week. >> >> I'm now getting this error: >> >> SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line >> (Expecting: DH PARAMETERS) -- Bad file contents or format - or even just a >> forgotten SSLCertificateKeyFile? >> >> And all my virtual hosts are broken (all serving the default page, >> ignoring >> the >> DocumentRoot in the sites-enabled/foo.com.conf files >> >> Heaven knows what's broken. I'll PAY someone to ssh into my system and >> sort it out. Googling error messages isn't working, and I'm just not >> expert enough on my own to sort this out, apparently. >> >> Thanks, >> Bill Dudley >> east coast USA >> >> This email is free of malware because I run Linux. >> > > Try running pkg upgrade -f apache24 > > That will force a reinstall of the package and put the now deleted > httpd.conf file back again. Which would be enough to get things working > again *if* you've never changed anything from the defaults. > > If you have changed that file then you will have to remember what you > changed and make the same changes. And think about getting backups! > > -- > Matt >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFsnNZKjovHMGf4%2BkSBxq8h=siLvbsNg5LNs8nCcB24wRGNpqA>