I broke my Apache 2.4 install and I need help!

William Dudley wfdudley at gmail.com
Mon Apr 2 20:57:25 UTC 2018

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 at 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

More information about the freebsd-questions mailing list