From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8ALxKp78kmMU0AAAbAwnHQ (envelope-from ) for ; Fri, 09 Dec 2022 10:15:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 78YFKp78kmNQgQAAG6o9tA (envelope-from ) for ; Fri, 09 Dec 2022 10:15:10 +0100 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 240F21AED4 for ; Fri, 9 Dec 2022 10:15:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3ZTD-0007ht-KO; Fri, 09 Dec 2022 04:15:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3ZTC-0007hJ-Ia for bug-guix@gnu.org; Fri, 09 Dec 2022 04:15:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3ZTC-0007wL-7r for bug-guix@gnu.org; Fri, 09 Dec 2022 04:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3ZTC-00053n-3V for bug-guix@gnu.org; Fri, 09 Dec 2022 04:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#49205: [services]: nginx doesn't restart after guix system reconfigure Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 09 Dec 2022 09:15:02 +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: Tobias Geerinckx-Rice Cc: Raghav Gururajan , 49205@debbugs.gnu.org Received: via spool by 49205-submit@debbugs.gnu.org id=B49205.167057729119432 (code B ref 49205); Fri, 09 Dec 2022 09:15:02 +0000 Received: (at 49205) by debbugs.gnu.org; 9 Dec 2022 09:14:51 +0000 Received: from localhost ([127.0.0.1]:34774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3ZT1-00053M-Gd for submit@debbugs.gnu.org; Fri, 09 Dec 2022 04:14:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3ZT0-00053G-Iv for 49205@debbugs.gnu.org; Fri, 09 Dec 2022 04:14:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3ZSs-0007v7-61; Fri, 09 Dec 2022 04:14:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=fAkdvbp7igyDj2+wUJSSkdOBKzgOykPY1RdQRbJJkYM=; b=kLFrUx3T7ZlZPp4z5DTT rw9+UfKQtQ8lBIfUWGM+AAAuT/q6PkhRDfh1ODesqDFiKLlrHytT517U7qTDniL0IMtLnW+SBC4hc On/G54A2AWup5MRO4MPXwMKCm98X8OtJHtVl4vEMYEBxBnvF7kVmbM/sMxu3N2LBUh6vmJiQaHFds afXyFwg8Nfr6SRfN8TVVCbUmFEm5PrVJSV8A513uhxoeUOd4Eirno/NvrN+z++meI/0U8+Cm2lMub ZUN+gwH7R8bUevLeHYBjNUKvClojHbT/YxwyCjFo359y21UnXOgeuj43dwKNiq9p4RxhlKoNxthZe erOUjBDg0sEUCg==; Received: from [193.50.110.137] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3ZSq-00065o-EW; Fri, 09 Dec 2022 04:14:41 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87v963ru82.fsf@nckx> Date: Fri, 09 Dec 2022 10:14:38 +0100 In-Reply-To: <87v963ru82.fsf@nckx> (Tobias Geerinckx-Rice's message of "Thu, 24 Jun 2021 20:30:21 +0200") Message-ID: <87y1rh9bwh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670577310; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fAkdvbp7igyDj2+wUJSSkdOBKzgOykPY1RdQRbJJkYM=; b=My4i5gSUXOn4HaRFqHdhuX+KfY07F6hhQeypnbZoMknpNDW+AAHLGmD+3H6QoDotYpmjHo jHsnSa15R4dnqMgzuYxY4ZEAB56tMTFW0at7t+BRKECRpRiszZUAk5W1oFxhY0RUK8lie6 eYEQOkuYCPVe6urEt421nQ0FK4LTb3cEFSSfJNoKK+WdG+J02ILltil5pWWHn04uZWFsvP BtJ+4eqmy30Hp+Oq5BegIxTNCE8HYF7pRt1rvuHgp53lmQYg4gIwTye5J21xVaQuUaZxym pmfCVxA8dMBAiR2u5r5RbBOQS+1PBChXeqbUn5WafYnOMETkbZcl8MVhVdNiig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670577310; a=rsa-sha256; cv=none; b=HWMLt11rYQ5tTm94YWlUvJcjHzMzo0P0DljVTa49OfTkXVsJOgat9+PTt3RkHWOd+B+kZQ d7SEVgZO+WVgJX0rzrn3MhoFhcmnsKottqn+F4Dor6v8PwxVUWmwFf9wxgZmKOCZHB2rlR 5k/82G+2copiCMwl07AXL3ZgUVsFMEvB/iLmPGibtNyNPznSWYcQ9FlEKDVMSxXhmyc/xi nLmCR8xDs9ylSNnUMwKHbs1BQrFegHlbQwrWo5vXSOSDocnLA8xVv2VXmieXsCF/YCDftd CJ05Rd6ulaMH3uX14gGAv/5Xv3cUZfTsukhyLDGPvlkTJ4OwSO/ZAWf0V0xjDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=kLFrUx3T; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=kLFrUx3T; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 240F21AED4 X-Spam-Score: -2.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: uBRPOpe/p1jH Hi, Tobias Geerinckx-Rice skribis: > 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\" >> arguments: (\"-c\" >> \"/gnu/store/2igpjf27rm92np6jn6hfrxzx5m55a468-nginx.conf\" \"-p\" >> \"/var/run/nginx\") exit-status: 1 term-signal: #f stop-signal: >> #f>")'. > > The shortest answer is to run this command manually and see what it > prints out. So > > $ sudo /gnu/store/g6n=E2=80=A6/sbin/nginx -c /gnu/store/=E2=80=A6 -p /= var/run/nginx > > in a terminal. These days, with the Shepherd 0.9.3, the stdout/stderr or nginx is captured in /var/log/messages when it starts. That should make it easier to debug startup failures. If you don=E2=80=99t have more info on this bug Raghav (it=E2=80=99s been s= ome time=E2=80=A6), I suggest we close it. > I saw you mention nginx and certbot in #guix. It's unfortunately > common to end up in a catch-22 with Guix's nginx and certbot services > when using HTTP authentication, where nginx needs to be running to > receive your first certificate but refuses to start because of missing > certificates=E2=80=A6 I wonder how we could address that. Ludo=E2=80=99.