ODA: oakcli command failed with perl: warning: Setting locale failed. (Doc ID 1526079.1)

Last updated on MARCH 12, 2013

Applies to:

Oracle Database Appliance - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

[root@accloda1 ~]# cd /opt/oracle/oak/bin/
[root@accloda1 bin]# ./oakcli unpack -package /tmp/p14752755_24000_Linux-x86-64.zip
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
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").
Unpacking takes a while, pls wait....
Successfully unpacked the files to repository.
[root@accloda1 bin]# ./oakcli update -patch 2.4.0.0.0 --infra
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
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").
INFO: DB, ASM, Clusterware may be stopped during the patch if required
INFO: Both nodes may get rebooted automatically during the patch if required
Do you want to continue: [Y/N]?: Y
INFO: User has confirmed the reboot
INFO: Patch bundle must be unpacked on the second node also before applying this patch
Did you unpack the patch bundle on the second node?: [Y/N]?: Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
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").
INFO: Currently System is running with LANGUAGE = (unset),
WARNING: Minimum required version to apply this patch is 2.2.0.0.0
ERROR: Exiting...
ERROR: Failed to apply the patch

Changes

BMR and Rebuild the databases.

Cause

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 hundreds of Community platforms