unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: 56822@debbugs.gnu.org
Subject: bug#56822: postgresql looks for 'locale', doesn't find 'usable system locales'
Date: Fri, 29 Jul 2022 14:10:27 +0200	[thread overview]
Message-ID: <b59cfc82-0f8f-c10a-8305-362d5fd5ed6f@telenet.be> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 1818 bytes --]

When running "guix system reconfigure", I got the following output:

> making '/gnu/store/2awynl43xf6a58f1g3a89k9jnhh7h2d1-system' the 
> current system...
> setting up setuid programs in '/run/setuid-programs'...
> populating /etc from /gnu/store/acqcpsndw4qw5fnkj6d8vn8yj7w1hv52-etc...
> The files belonging to this database system will be owned by user 
> "postgres".
> This user must also own the server process.
>
> The database cluster will be initialized with locale "en_US.utf8".
> The default database encoding has accordingly been set to "UTF8".
> The default text search configuration will be set to "english".
>
> Data page checksums are disabled.
>
> fixing permissions on existing directory /var/lib/postgresql/data ... ok
> creating subdirectories ... ok
> selecting default max_connections ... 100
> selecting default shared_buffers ... 128MB
> selecting default timezone ... Europe/Brussels
> selecting dynamic shared memory implementation ... posix
> creating configuration files ... ok
> running bootstrap script ... ok
> performing post-bootstrap initialization ... sh: line 1: locale: 
> command not found
> 2022-07-29 14:03:00.754 CEST [13797] WARNING:  no usable system 
> locales were found
> ok
> syncing data to disk ... ok
>
> WARNING: enabling "trust" authentication for local connections
> You can change this by editing pg_hba.conf or using the option -A, or
> --auth-local and --auth-host, the next time you run initdb.
>
> Success. You can now start the database server using:
>
> /gnu/store/qyyvxss45hqi000wwxkbil7qmgr1ra08-postgresql-10.21/bin/pg_ctl 
> -D /var/lib/postgresql/data -l logfile start

In particular, notice: "sh: line 1: locale: command not found", likely a 
substitute* or such is needed to find it.

Greetings,
Maxime.


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

                 reply	other threads:[~2022-07-29 12:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=b59cfc82-0f8f-c10a-8305-362d5fd5ed6f@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=56822@debbugs.gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).