"PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> writes:
> I cannot start postgres because unknow error. In log i can get this:
> FATAL: XX000: failed to initialize lc_messages to ""
Are you sure that your LC_MESSAGES setting is compatible with the active
LC_CTYPE setting? I'm not certain about this, but I think that some
platforms may reject the setlocale call if LC_MESSAGES implies a
different encoding (eg, utf8 vs latin-n) than LC_CTYPE does.
regards, tom lane