Please help "perl: warning: Setting locale failed"
My server is used Centos 7.
After following the instructions on this , when access SSH through root doesn't see any error:
However, I still see the following error message when access through Jailed Shell:
-----
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
----
Is it because Cpanel sets locale differently and it's per application and more complex?
How can I fix this? Please help me.
-
Hey there! Can you post the bashrc file for the affected cPanel user so we can see that? 0 -
Hey there! Can you post the bashrc file for the affected cPanel user so we can see that?
----- # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # Uncomment the following line if you don't like systemctl's auto-paging feature: # export SYSTEMD_PAGER= # User specific aliases and functions ---- Thanks for your reply. I found this .bashrc on the root file of the affected cPanel user. Does this look right to you?0 -
Thanks for providing that - that does indeed look like the default file, so it might be best to create a ticket at this point so we can do some more direct troubleshooting on the system. 0
Please sign in to leave a comment.
Comments
3 comments