From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 12 09:14:42 2016 Received: (at 22619) by debbugs.gnu.org; 12 Feb 2016 14:14:42 +0000 Received: from localhost ([127.0.0.1]:37367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUEUc-00065X-D2 for submit@debbugs.gnu.org; Fri, 12 Feb 2016 09:14:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37620) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUEUb-00065L-J1 for 22619@debbugs.gnu.org; Fri, 12 Feb 2016 09:14:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUEUR-0004aE-Eb for 22619@debbugs.gnu.org; Fri, 12 Feb 2016 09:14:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEUR-0004aA-Av; Fri, 12 Feb 2016 09:14:31 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:51242 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aUEUQ-00019R-MA; Fri, 12 Feb 2016 09:14:31 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#22619: postgresql-service error checking wtf References: <20160210200143.4a9f95c2@scratchpost.org> Date: Fri, 12 Feb 2016 15:14:28 +0100 In-Reply-To: <20160210200143.4a9f95c2@scratchpost.org> (Danny Milosavljevic's message of "Wed, 10 Feb 2016 20:01:43 +0100") Message-ID: <8760xu10e3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 22619 Cc: 22619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) Danny Milosavljevic skribis: > initdb: directory "/var/lib/postgresql/data" exists but is not empty > If you want to create a new database system, either remove or empty > the directory "/var/lib/postgresql/data" or run initdb > with an argument other than "/var/lib/postgresql/data". > making '/gnu/store/byn534fg4agm0vv9szl5kkfl19n080b2-system' the current s= ystem... > Installation finished. No error reported. > ---- > > Postgresql doesn't run I=E2=80=99m not familiar with PostgreSQL, but perhaps you just need to do w= hat the message above says? I=E2=80=99ve tested =E2=80=98postgresql-service=E2=80=99 in a pristine syst= em with =E2=80=98guix system vm=E2=80=99 and it starts without any such message. So I guess there=E2=80= =99s stale data in /var/lib/postgresql/data on your system? > and the error message still references the default config file. I don=E2=80=99t see any references to a config file in what you pasted. HTH, Ludo=E2=80=99.