pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Database wont start anyway
4+ messages / 4 participants
[nested] [flat]

* Database wont start anyway
@ 2006-06-08 09:44 Fourat Zouari <fourat@gmail.com>
  2006-06-08 14:44 ` Re: Database wont start anyway Aaron Bono <postgresql@aranya.com>
  2006-06-08 15:58 ` Re: Database wont start anyway Tom Lane <tgl@sss.pgh.pa.us>
  2006-06-08 16:12 ` Re: Database wont start anyway Susanne Ebrecht <miracee@miracee.de>
  0 siblings, 3 replies; 4+ messages in thread

From: Fourat Zouari @ 2006-06-08 09:44 UTC (permalink / raw)
  To: pgsql-admin

Hello all,
My database wont start, here's the log :

tux2:~# /etc/init.d/postgresql-8.1 start
Starting PostgreSQL 8.1 database server: main* perl: warning: Setting locale
failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "fr_TN:fr_FR:fr:en_GB:en",
        LC_ALL = (unset),
        LANG = "fr_FR@euro"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Error: The server must be started under the locale fr_FR@euro which does not
exist any more.
 failed!

what's the problem ?

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

* Re: Database wont start anyway
  2006-06-08 09:44 Database wont start anyway Fourat Zouari <fourat@gmail.com>
@ 2006-06-08 14:44 ` Aaron Bono <postgresql@aranya.com>
  2 siblings, 0 replies; 4+ messages in thread

From: Aaron Bono @ 2006-06-08 14:44 UTC (permalink / raw)
  To: Fourat Zouari <fourat@gmail.com>; +Cc: pgsql-admin

My guess is that fr_FR@euro is not a valid value for LANG.  You can see a
list of acceptable language identifiers in the RFC at
http://www.i18nguy.com/unicode/language-identifiers.html .

-Aaron

On 6/8/06, Fourat Zouari <fourat@gmail.com> wrote:
>
> Hello all,
> My database wont start, here's the log :
>
> tux2:~# /etc/init.d/postgresql-8.1 start
> Starting PostgreSQL 8.1 database server: main* perl: warning: Setting
> locale failed.
> perl: warning: Please check that your locale settings:
>         LANGUAGE = "fr_TN:fr_FR:fr:en_GB:en",
>         LC_ALL = (unset),
>         LANG = "fr_FR@euro"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> Error: The server must be started under the locale fr_FR@euro which does
> not exist any more.
>  failed!
>
> what's the problem ?
>

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

* Re: Database wont start anyway
  2006-06-08 09:44 Database wont start anyway Fourat Zouari <fourat@gmail.com>
@ 2006-06-08 15:58 ` Tom Lane <tgl@sss.pgh.pa.us>
  2 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2006-06-08 15:58 UTC (permalink / raw)
  To: Fourat Zouari <fourat@gmail.com>; +Cc: pgsql-admin

"Fourat Zouari" <fourat@gmail.com> writes:
> Error: The server must be started under the locale fr_FR@euro which does not
> exist any more.

> what's the problem ?

The error message seems reasonably clear to me... check what you've got
installed in the way of locale packages.

			regards, tom lane



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

* Re: Database wont start anyway
  2006-06-08 09:44 Database wont start anyway Fourat Zouari <fourat@gmail.com>
@ 2006-06-08 16:12 ` Susanne Ebrecht <miracee@miracee.de>
  2 siblings, 0 replies; 4+ messages in thread

From: Susanne Ebrecht @ 2006-06-08 16:12 UTC (permalink / raw)
  To: Fourat Zouari <fourat@gmail.com>; +Cc: pgsql-admin

Am Donnerstag, den 08.06.2006, 11:44 +0200 schrieb Fourat Zouari:
> Hello all,
> My database wont start, here's the log :
> 
> tux2:~# /etc/init.d/postgresql-8.1 start
> Starting PostgreSQL 8.1 database server: main* perl: warning: Setting
> locale failed.
> perl: warning: Please check that your locale settings: 
>         LANGUAGE = "fr_TN:fr_FR:fr:en_GB:en",
>         LC_ALL = (unset),
>         LANG = "fr_FR@euro"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C"). 
> Error: The server must be started under the locale fr_FR@euro which
> does not exist any more.
>  failed!

It looks like a linux system. Or which OS do you use?

Do you tried to start PG as root (because of the #)? Are you sure root
is allowed to start it? Is root superuser?

Try to start it as user postgres.

all installed locales will listen by:
$ locale -a

I have no french locale installed on my debian system, but you will get
a list like this:

C
de_DE@euro
de_DE.iso885915
de_DE.iso885915@euro

When I run locale, that list will diplayed:

$ locale

LANG=de_DE@euro
LANGUAGE=de_DE:de:en_GB:en

It is the same, as your list. Only fr_FR (France) instead de_DE
(Germany).

So I am sure, the problem is, that you tried to start postgresql as root
and not as superuser. The standard superuser is postgres.

Try this:
tux2:~# su postgres
postgres@tux2:~$ /etc/init.d/postgresql-8.1 start

Susanne

Attachments:

  signature.asc (application/pgp-signature, 188B) download

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


end of thread, other threads:[~2006-06-08 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-06-08 09:44 Database wont start anyway Fourat Zouari <fourat@gmail.com>
2006-06-08 14:44 ` Aaron Bono <postgresql@aranya.com>
2006-06-08 15:58 ` Tom Lane <tgl@sss.pgh.pa.us>
2006-06-08 16:12 ` Susanne Ebrecht <miracee@miracee.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox