unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* postgres service
@ 2017-03-09 18:21 Catonano
  2017-03-14 16:17 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Catonano @ 2017-03-09 18:21 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

I added a postgresql service to the list of my services, like this

(services (cons* (postgresql-service #:locale "it_IT.UTF-8")
                (gnome-desktop-service)
                (xfce-desktop-service)
                  %desktop-services))

This is an excerpt of the "guix system reconfigure etc/config.scm" log

...
loading system objects' descriptions ... ok
creating collations ... sh: locale: command not found
ok
No usable system locales were found.
Use the option "--debug" to see details.
...
shepherd: Service user-homes could not be started.
...

So, there's no "locale" command and the service user-homes could not be
started

How worried should I be ?

[-- Attachment #2: Type: text/html, Size: 886 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: postgres service
  2017-03-09 18:21 postgres service Catonano
@ 2017-03-14 16:17 ` Ludovic Courtès
  2017-04-23  6:50   ` Catonano
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-03-14 16:17 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Hello!

Catonano <catonano@gmail.com> skribis:

> I added a postgresql service to the list of my services, like this
>
> (services (cons* (postgresql-service #:locale "it_IT.UTF-8")
>                 (gnome-desktop-service)
>                 (xfce-desktop-service)
>                   %desktop-services))
>
> This is an excerpt of the "guix system reconfigure etc/config.scm" log
>
> ...
> loading system objects' descriptions ... ok
> creating collations ... sh: locale: command not found
> ok
> No usable system locales were found.
> Use the option "--debug" to see details.
> ...

It looks like the ‘initdb’ attempts to invoke the ‘locale’ command (from
glibc), which it cannot find here.  If this is correct, then we should
add ‘locale’ to the PATH when invoking ‘initdb’.

Christopher: WDYT?

Thanks,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: postgres service
  2017-03-14 16:17 ` Ludovic Courtès
@ 2017-04-23  6:50   ` Catonano
  0 siblings, 0 replies; 3+ messages in thread
From: Catonano @ 2017-04-23  6:50 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

2017-03-14 17:17 GMT+01:00 Ludovic Courtès <ludo@gnu.org>:

> Hello!
>
> Catonano <catonano@gmail.com> skribis:
>
> > I added a postgresql service to the list of my services, like this
> >
> > (services (cons* (postgresql-service #:locale "it_IT.UTF-8")
> >                 (gnome-desktop-service)
> >                 (xfce-desktop-service)
> >                   %desktop-services))
> >
> > This is an excerpt of the "guix system reconfigure etc/config.scm" log
> >
> > ...
> > loading system objects' descriptions ... ok
> > creating collations ... sh: locale: command not found
> > ok
> > No usable system locales were found.
> > Use the option "--debug" to see details.
> > ...
>
> It looks like the ‘initdb’ attempts to invoke the ‘locale’ command (from
> glibc), which it cannot find here.  If this is correct, then we should
> add ‘locale’ to the PATH when invoking ‘initdb’.
>
> Christopher: WDYT?
>
> Thanks,
>

I reconfigured my system and suddenly the postgres locale works !

Thanks !

[-- Attachment #2: Type: text/html, Size: 1642 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-23  6:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-09 18:21 postgres service Catonano
2017-03-14 16:17 ` Ludovic Courtès
2017-04-23  6:50   ` Catonano

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