From owner-freebsd-questions@freebsd.org Mon Apr 2 20:42:07 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 80B0FF83F1C for ; Mon, 2 Apr 2018 20:42:07 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (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 E79AA71116 for ; Mon, 2 Apr 2018 20:42:06 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id i3so6104860wmf.3 for ; Mon, 02 Apr 2018 13:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KJUTN8k5t9YUTxqO3hTTuYfXAU5iLfGK+izyFLtz9JE=; b=uifFoFZ8OwDNfo5puRGcya7ArZ3b9nM+qeAi2ZUsCTHP9YCVa82OeShhSg9FPpJN3i g9L1y5DjMKmC/CuAZM+t/efmETDFbVD4fdFDgdb39BszuUsEZcPQ76v44R/osXn3iO80 4Nv91PhjDn8E5EfXhrRd/nvIJElPhtAWIDXzKSavxT/Yej/mvBfVBpATCbK3iItp4+wE /8Jc70Q3Zwywd/T3ntk02q4t/tpn4UNTdvp9SOxinwpgI6kHGTnKQt9izoo8FjOM1oBH I8xhsiZx2mqQ5jw0nsxXVLOMh3UMilHgPoZz4mJVU8kQXerIKFdiTwjM4WVLYjjFXyvf UllQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=KJUTN8k5t9YUTxqO3hTTuYfXAU5iLfGK+izyFLtz9JE=; b=rbhAg7WBgS4TH4GM5fqQQWyquwvWbudyDacPRF6+ajLaWd06uraOY2GFCB39REM/5W Q4F1oSNsQeflo12/Ey5cauDoUIwNbBD6WFf+rKfsqJWKXL/3EGA8lN6AbONIKGaHUeJC 2Q+hhack5VglLNVRr659nJW7FHq0vZ/BALUil2zDNqlA0CvAUVG0SDh79XFAaaM4rn2F 8pD7+3+f/nYcWJu1B6J9yazlPP+PwrqA88R8hue+LdWQePp7ljfjVZfceiy3kum5zkBV 7YuN+klFH3qkh92NP23WHxSxK9V62Ql/3cd1I2f0se0tih3gog8nu06WYcctts8qEsG5 Q3RQ== X-Gm-Message-State: AElRT7GzFpqcsT4febJ+45myo4rQgT0IVgWH8E8IxD5/meJeQ2UKLMw9 zKrG1ksam2Y5u2/RLM3X/e0= X-Google-Smtp-Source: AIpwx4+r40JiXFfUKMaRk6nlIBA2xIl9sRhM7v9tGFZgv1s7+6spNNr+rr9l5D6azl024Yl6/7MNBA== X-Received: by 10.28.249.22 with SMTP id x22mr1805601wmh.115.1522701725319; Mon, 02 Apr 2018 13:42:05 -0700 (PDT) Received: from gmail.com (tao.xtaz.uk. [2001:8b0:fe33::10]) by smtp.gmail.com with ESMTPSA id 24sm1490413wrt.60.2018.04.02.13.42.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Apr 2018 13:42:04 -0700 (PDT) Date: Mon, 2 Apr 2018 21:42:02 +0100 From: Matt Smith To: William Dudley Cc: freebsd-questions Subject: Re: I broke my Apache 2.4 install and I need help! Message-ID: <20180402204202.GA3145@gmail.com> Mail-Followup-To: Matt Smith , William Dudley , freebsd-questions References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) 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 20:42:07 -0000 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