all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 22619@debbugs.gnu.org
Subject: bug#22619: postgresql-service error checking wtf
Date: Fri, 12 Feb 2016 15:14:28 +0100	[thread overview]
Message-ID: <8760xu10e3.fsf@gnu.org> (raw)
In-Reply-To: <20160210200143.4a9f95c2@scratchpost.org> (Danny Milosavljevic's message of "Wed, 10 Feb 2016 20:01:43 +0100")

Danny Milosavljevic <dannym@scratchpost.org> 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 system...
> Installation finished. No error reported.
> ----
>
> Postgresql doesn't run

I’m not familiar with PostgreSQL, but perhaps you just need to do what
the message above says?

I’ve tested ‘postgresql-service’ in a pristine system with ‘guix system
vm’ and it starts without any such message.  So I guess there’s stale
data in /var/lib/postgresql/data on your system?

> and the error message still references the default config file.

I don’t see any references to a config file in what you pasted.

HTH,
Ludo’.

  parent reply	other threads:[~2016-02-12 14:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160210200143.4a9f95c2@scratchpost.org>
2016-02-10 23:12 ` bug#22619: postgresql-service error checking wtf Glenn Morris
2016-02-12 14:14   ` Ludovic Courtès
2016-02-12 14:14 ` Ludovic Courtès [this message]
2016-02-12 19:48   ` Danny Milosavljevic
2016-02-21 11:38     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760xu10e3.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=22619@debbugs.gnu.org \
    --cc=dannym@scratchpost.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.