From: Susanne Ebrecht <miracee@miracee.de>
To: Fourat Zouari <fourat@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database wont start anyway
Date: Thu, 08 Jun 2006 18:12:55 +0200
Message-ID: <1149783175.4893.18.camel@localhost.localdomain> (raw)
In-Reply-To: <621eda8a0606080244o3af21c8cncb4c4afd842732f9@mail.gmail.com>
References: <621eda8a0606080244o3af21c8cncb4c4afd842732f9@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: miracee@miracee.de, fourat@gmail.com
Subject: Re: Database wont start anyway
In-Reply-To: <1149783175.4893.18.camel@localhost.localdomain>
References: <621eda8a0606080244o3af21c8cncb4c4afd842732f9@mail.gmail.com> <1149783175.4893.18.camel@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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