From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EBLJKIDP1GBiLAAAgWs5BA (envelope-from ) for ; Thu, 24 Jun 2021 20:31:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ECN2JIDP1GBhKwAAbx9fmQ (envelope-from ) for ; Thu, 24 Jun 2021 18:31:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6DA86F725 for ; Thu, 24 Jun 2021 20:31:28 +0200 (CEST) Received: from localhost ([::1]:57274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwU8M-0004fl-Pg for larch@yhetil.org; Thu, 24 Jun 2021 14:31:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwU7z-0004cU-Nv for bug-guix@gnu.org; Thu, 24 Jun 2021 14:31:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwU7y-0000CI-6q for bug-guix@gnu.org; Thu, 24 Jun 2021 14:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwU7x-0007bb-TD for bug-guix@gnu.org; Thu, 24 Jun 2021 14:31:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49205: [services]: nginx doesn't restart after guix system reconfigure Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 24 Jun 2021 18:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49205 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Raghav Gururajan Cc: 49205@debbugs.gnu.org X-Debbugs-Original-Cc: bug-guix@gnu.org, 49205@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162455943327543 (code B ref -1); Thu, 24 Jun 2021 18:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2021 18:30:33 +0000 Received: from localhost ([127.0.0.1]:44112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwU7U-00079v-SG for submit@debbugs.gnu.org; Thu, 24 Jun 2021 14:30:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:44270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwU7P-000744-O9 for submit@debbugs.gnu.org; Thu, 24 Jun 2021 14:30:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwU7P-0004Hy-FF for bug-guix@gnu.org; Thu, 24 Jun 2021 14:30:27 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:58176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwU7N-0008Cn-7y for bug-guix@gnu.org; Thu, 24 Jun 2021 14:30:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=gf/tK2r1tbgV0 LM7/6fxsBzQqtdKeUgc057EDCs31b4=; h=date:in-reply-to:subject:cc:to: from:references; d=tobias.gr; b=HPH1TwDImTFas7ceIV3TX+x/194frhAPQgQMAN E/P5OTXUAGFJeC8TdSqTxBMaW4wpLqQTd+VF07H36nJNWR9vp2SVscvPD4ueefclwwdPRP xg8WPDYHNxXE0zGuaYrZ2EGO7si/moS8V6udCBVOgtJfrpM/PSBRod4b7vqZGOT6xXpgaP YDcpWnqoS2wE6znJcq4bBxPe9jxxzyoUotIBFH7rk2TDz2r6wwNYVPFxs+7GeOTTwaVrQ3 qxtid0jKEJzvqEnfQAc/UtKXA7wmqcFhVWciTvUBwFF1yFX1JcMAhXlp2Mj17uEm0QXT+B dzV94FBb5PBnK3xaSMiGjcZA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 2f065277 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 24 Jun 2021 18:30:19 +0000 (UTC) References: In-reply-to: BIMI-Selector: v=BIMI1; s=default; Date: Thu, 24 Jun 2021 20:30:21 +0200 Message-ID: <87v963ru82.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 6DA86F725 X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: K3y0djn43DQw --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Raghav Gururajan via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC=9A > Throw to key `%exception' with args `("#<&invoke-error program: > \"/gnu/store/g6nhdp7i1sr51anq86hd6adrsm5ha857-nginx-1.21.0/sbin/nginx\"=20 > arguments: (\"-c\" > \"/gnu/store/2igpjf27rm92np6jn6hfrxzx5m55a468-nginx.conf\"=20 > \"-p\"=20 > \"/var/run/nginx\") exit-status: 1 term-signal: #f stop-signal:=20 > #f>")'. The shortest answer is to run this command manually and see what=20 it prints out. So $ sudo /gnu/store/g6n=E2=80=A6/sbin/nginx -c /gnu/store/=E2=80=A6 -p=20 /var/run/nginx in a terminal. I saw you mention nginx and certbot in #guix. It's unfortunately=20 common to end up in a catch-22 with Guix's nginx and certbot=20 services when using HTTP authentication, where nginx needs to be=20 running to receive your first certificate but refuses to start=20 because of missing certificates=E2=80=A6 Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYNTPPQ0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15jyEA/jB0LKN0GuDIEMgedMWuhtIkeA42UKGhbi/6SmbF zQj+AP95MZY67q5i4Fo7qJpiBk6/bPsawTQFGg6kdm/V84hLDA== =ctBr -----END PGP SIGNATURE----- --=-=-=--