My Oracle Support Banner

Running /Usr/Local/Bin/Ipconf -Verify Results In 'Perl: Warning: Setting Locale Failed.' (Doc ID 1393517.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Exadata Storage Server Software - Version: to - Release: 11.2 to 11.2
Linux OS - Version: Oracle Linux 5.1 and later    [Release: OL5U1 and later]
Information in this document applies to any platform.


You are running the ipconf tool and are getting a perl error:

[root@dmcel01 ~]# /usr/local/bin/ipconf -verify
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Issue seems with PERL
Following error is thrown when locale -a command is given:

locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory


If you run the following command to view environment variables, you should see nothing returned:

[root@dmcel01 ~]# env | grep LC
[root@dmcel01 ~]#

Somehow the environment variable LC_CTYPE is a non-default value - ie, some value instead of the expected blank/null.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.