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-2173321.1
Update Date:2017-10-31
Keywords:

Solution Type  Problem Resolution Sure

Solution  2173321.1 :   Oracle Exalytics: Configuring Active Core Processors Fails with Error: "OSError: [Errno 2] No such file or directory"  


Related Items
  • Exalytics In-Memory Machine X2-4
  •  
Related Categories
  • PLA-Support>Eng Systems>Exalytics>Oracle Exalytics>DB: Exalytics_EST
  •  




In this Document
Symptoms
Changes
Cause
Solution


Created from <SR 3-13155315541>

Applies to:

Exalytics In-Memory Machine X2-4 - Version All Versions and later
Information in this document applies to any platform.

Symptoms

Configuring active core processors on an Exalytics server via the Capacity on Demand (COD) Utility fails with the following errors:


[root@ opt]# python /opt/exalytics/bin/update_cores.py

Please enter the Exalytics Capacity on Demand License key file location (eg. /tmp/file): /tmp/key_file/key_24
Traceback (most recent call last):
  File "/opt/exalytics/bin/update_cores.py", line 174, in
  cores_text,guid_text = gcc.getCoreCount(encrypted_file)
  File "/opt/exalytics/bin/get_core_count.py", line 17, in getCoreCount
  returnCode = subprocess.call(['./exalyticscodkey', '--efile', encryptedFile, '--dfile', decrypted_file]);
  File "/usr/lib64/python2.6/subprocess.py", line 478, in call
  p = Popen(*popenargs, **kwargs)
  File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
  errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child
  raise child_exception
OSError: [Errno 2] No such file or directory

D) Rebooted the machine and the 40 cores still display
[root@ opt]# echo $((`cat /proc/cpuinfo | grep processor | wc | cut -c 6-7` / 2))
40

 

Changes

 Instructions to generate key file are followed from Configuring Active Core Processors on an Exalytics Machine from Exalytics Installation and Administration Guide.

Cause

License key file is not saved as text file.
 
Error messages encountered suggest that license key file is not found

OSError: [Errno 2] No such file or directory
 

Solution

To fix this error save the license key file with .txt extension (eg. "key_24.txt") and re-run the update_cores.py script.  When you re-run the script, ensure that you pass the name of the file with the .txt extension when prompted.  For example:

[root@ opt]# python /opt/exalytics/bin/update_cores.py

Please enter the Exalytics Capacity on Demand License key file location (eg. /tmp/file): /tmp/key_file/key_24.txt

 


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