From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Nginx service fails Date: Sun, 4 Mar 2018 23:27:49 +0100 Message-ID: <20180304222749.GA23799@jurong> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esc6o-00009n-Dz for guix-devel@gnu.org; Sun, 04 Mar 2018 17:27:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esc6j-0002zh-GG for guix-devel@gnu.org; Sun, 04 Mar 2018 17:27:58 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:56118) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1esc6j-0002z8-9C for guix-devel@gnu.org; Sun, 04 Mar 2018 17:27:53 -0500 Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hello, writing to guix-devel first, since I am not sure whether I should file a bug report. When reconfiguring my virtual machine today after I had added a virtual host to nginx, it failed with the following error message: ... creating nginx log directory '/var/log/nginx' creating nginx run directory '/var/run/nginx' creating nginx temp directories '/var/run/nginx/{client_body,proxy,fastcgi,uwsgi,scgi}_temp' nginx: [alert] could not open error log file: open() "/gnu/store/pp71iff1qxwhh82vm34g18h9kmn0xrg5-nginx-1.13.9/logs/error.log" failed (2: No such file or directory) nginx: the configuration file /gnu/store/5ixkryw6jl32cm6d1g9jb8dm9rbz8csc-nginx.conf syntax is ok nginx: configuration file /gnu/store/5ixkryw6jl32cm6d1g9jb8dm9rbz8csc-nginx.conf test is successful `/gnu/store/zchh8s3r1bbmia3zfxsyhsz3c4b9fmps-openssh-authorized-keys/root' -> `/etc/ssh/authorized_keys.d/root' `/gnu/store/zchh8s3r1bbmia3zfxsyhsz3c4b9fmps-openssh-authorized-keys/andreas' -> `/etc/ssh/authorized_keys.d/andreas' guix system: loading new services: user-homes term-auto nginx... shepherd: Evaluating user expression (register-services (primitive-load "/gnu/st?") ?). guix system: error: exception caught while executing 'eval' on service 'root': find-long-options: unbound variable And then the nginx service had disappeared. Even "guix system roll-back" did not bring it back. Since then I am trying to recompile a more recent git checkout, so I can probably not reproduce the problem. But does it ring a bell? Andreas