Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1526079.1
Update Date:2013-03-12
Keywords:

Solution Type  Problem Resolution Sure

Solution  1526079.1 :   ODA: oakcli command failed with perl: warning: Setting locale failed.  


Related Items
  • Oracle Database Appliance
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  




Created from <SR 3-6762110951>

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

Setting of the Locale environment variable

LC_CTYPE=UTF-8 environment variable causing the issue.

Solution

Ensure that LC* environment variables are not set to any value.

Please remove LC_CTYPE=UTF-8 or set a blank/null.

eg:

export LC_CTYPE=

References

<NOTE:797394.1> - Perl Warnings From Opatch 1.0.0.0.61
<NOTE:1393517.1> - Running /Usr/Local/Bin/Ipconf -Verify Results In 'Perl: Warning: Setting Locale Failed.'

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback