Skip to main content
Question

Segmentation Fault (core dumped) error when applying PC license

  • December 8, 2025
  • 3 replies
  • 36 views

  • Currently attempting to apply dark site cluster based license on PCVM of Prism Central with versions: 2024.3.1.10 with NCC 5.1.2 and LCM 3.1.1 with the command “~/ncc/bin/license_key_util apply key=license_key cluster=cluster_uuid”
  • Prism Element Clusters are on AOS 7.0.1.5, NCC 5.2.0.1 and LCM 3.2.1
  • However when I run the command I receive a “Segmentation fault (core dumped)” error message. Is there a reason why this would be occurring? I checked and verified that all versions are above the minimum supported version.

 

3 replies

Stephen Smith
Nutanix Employee
  • Nutanix Employee
  • December 8, 2025

Hey Silas, 

Great question and I have a few generic things to check (some of which you already verified) but will also bring this up with our engineering to team to investigate as well.   

Will update and track the notes in your active support case.

 

  1. Verify the Cluster UUID
    • Log in to the CVM of the target cluster.
    • Run cluster status or ncli cluster info to obtain the exact UUID.
    • Confirm that the UUID matches the one used when the dark‑site license key was generated.
    • UUID must match the format shown with dashes included
  2. Check Software Versions
    • Prism Central version must be 2022.4 or later.
    • Acropolis Operating System (AOS) must be 6.1.1 or later.
    • NCC must be 4.6.2 or later.
    • You can verify versions with cluster version (AOS) and ncc version.
  3. Regenerate the License Key (if needed)
    • If the UUID was wrong, generate a new product‑based or cluster‑based key for the correct UUID using the “Generate Nutanix Cloud Platform license Keys” workflow in the License Manager.
  4. Apply the Key Using the Correct Command
    • From the CVM, run:
      ~/ncc/bin/license_key_util apply key=<YOUR_KEY> cluster=<CLUSTER_UUID>
    • Do not include extra spaces or line‑breaks; use the exact syntax shown.

  • Author
  • Adventurer
  • December 9, 2025

I confirmed that the UUID matches the ones used when the dark site license key was generated. I reran the command again to apply the license and was presented with these errors when ran on the multiple clusters: 

1st)

Failed to decode byte string format data received from native library with the exception: Traceback (most recent call last):

File "/home/nutanix/ncc/bin/license_key_util", line 1508, in <module> license_key_info = DarkSiteLicenseInfo (

File "/home/nutanix/ncc/bin/license_key_util", line 236, in __init__

self.expiry_date = expiry_date.decode('utf-8')

UnicodeDecodeError: 'utf-8' codec cant decode byte 0xd2 in position 3: invalid continuation byte

2nd)

Failed to decode byte string format data received from native library with the exception: Traceback (most recent call last):

File "/home/nutanix/ncc/bin/license_key_util", line 1508, in <module> license_key_info = DarkSiteLicenseInfo (

File "/home/nutanix/ncc/bin/license_key_util", line 233, in __init__

self.type = type.decode('utf-8')

UnicodeDecodeError: 'utf-8' codec cant decode byte 0xe7 in position 1: invalid continuation byte


  • Author
  • Adventurer
  • December 10, 2025

Regenerated License for Prism Central Clusters and was able to successfully apply license for the clusters in question. Thanks for the assistance!