SSH Locale Error

Jasper Frumau jasperfrumau at
Thu Oct 4 04:12:41 PDT 2012

I keep on getting errors with Perl on my Dreamhost VPS Server (Debian
Linux) Sample:

~/bin/ check
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_COLLATE = "C",
    LC_CTYPE = "UTF-8",
    LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Check PsManager setup

Tried a lot of stuff to fix locale. Tried generating a new one, adding
stuff to .bashrc and so on. See latest posts here:
really worked on the remote server to make the error go away.
Perhaps because locally on Mountain Lion I have:


But I have no idea really as this is all new to me...

In the end this was recommended:
"Stop forwarding locale from the client. Do not forward the locale
environment variable from your local machine to the server. You can comment
out the SendEnv LANG LC_* line in the local /etc/ssh/ssh_config file."
based on thread
is Debian..

This does seem to work. But this seems more like a work around. Anyone any
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list