postgresql - Postgres locale error -


i have postgres database hosted on digital river, on ubuntu, , followed these instructions install:

but wrong locale settings , cannot work out how fix it. when run psql command following error:

postgres@assay:/home/deployer$ psql perl: warning: setting locale failed. perl: warning: please check locale settings: language = "en_us:en", lc_all = (unset), lc_ctype = "utf-8", lang = "en_us.utf-8" supported , installed on system. perl: warning: falling standard locale ("c"). psql (9.1.9) 

thank kamal nasser on digital river forums providing correct answer (the following commands below requires root privileges):

$ locale-gen en_us en_us.utf-8  $ dpkg-reconfigure locales 

i think correct link original answer: digital ocean site not responding can't check it. https://www.digitalocean.com/community/questions/postgresql-and-rails-4


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -