Create a gist now

Instantly share code, notes, and snippets.

@mhenrixon /echo_locale.sh Secret
Last active Aug 29, 2015

What would you like to do?
postgres@db01:/home/saga$ echo $LC_ALL
en_US.UTF-8
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of pg_upgradecluster 9.3 main ----
STDOUT: Stopping old cluster...
Disabling connections to the old cluster during upgrade...
Restarting old cluster with restricted connections...
STDERR: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Error: The locale requested by the environment is invalid.
Error: Could not create target cluster
---- End output of pg_upgradecluster 9.3 main ----
Ran pg_upgradecluster 9.3 main returned 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment