unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#71955: PostgreSQL ‘initdb’ fails to find ‘locale’ program
@ 2024-07-05 21:22 Ludovic Courtès
  0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2024-07-05 21:22 UTC (permalink / raw)
  To: 71955

PostgreSQL initialization tries to invoke the ‘locale’ program and
fails:

--8<---------------cut here---------------start------------->8---
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... sysv
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Europe/Oslo
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... sh: line 1: locale: command not found
2024-07-05 23:20:32.321 CEST [96] WARNING:  no usable system locales were found
ok
syncing data to disk ... ok

initdb: 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/2yj5sbnqdhxpn47cd2gzi9s8gvl35h9y-postgresql-13.12/bin/pg_ctl -D /var/lib/postgresqt

--8<---------------cut here---------------end--------------->8---

Ludo’.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-05 21:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-05 21:22 bug#71955: PostgreSQL ‘initdb’ fails to find ‘locale’ program Ludovic Courtès

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).