Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Postgresql Starting problem

Postgresql Starting problem

Postgresql Starting problem

When I try to run my posgresql (version 7.3.9) I recieve the following error message:

PANIC:  The database cluster was initialized with LC_COLLATE 'en_US.iso885915',
        which is not recognized by setlocale().
        It looks like you need to initdb.

Cann someone please tell me how this cann be repaired?
Actualy i have copied the data directory from previos postgresql instalation.

RE: Postgresql Starting problem

By the way... I use postgresql on Linux Slackware 10.0

RE: Postgresql Starting problem

i would recomend to read
man locale-gen
if you do not have locales installed, install them

RE: Postgresql Starting problem

I have readed it, and have this locale installed... I have allso set LANG and all the others to en_US.iso885915...

Any other sugestions...

RE: Postgresql Starting problem

Actualy i have copied the data directory from previos postgresql instalation.

I can't give good technical reasons, but I'm betting this is it. You should do a pg_dump then pg_restore instead of trying to copy data directories and files. There's logging (xferlog, clog I think) of transactions that won't stay intact with this method of moving data.

Again, it's just my guess.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close