GNU bug report logs - #71955
PostgreSQL ‘initdb’ fails to find ‘locale’ program

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Fri, 5 Jul 2024 21:23:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: 71955 <at> debbugs.gnu.org
Subject: bug#71955: PostgreSQL ‘initdb’ fails to find ‘locale’ program
Date: Fri, 05 Jul 2024 23:22:40 +0200
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’.




This bug report was last modified 1 year and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.