VMware Communities
albertebert
Contributor
Contributor

Cannot add license to Player 12 on Linux without GUI

Hi Guys,

after obtaining a license key from you guys we're trying to add this license to a remote machine which does not have any GUI. This needs to be solved since we're planing to deploy this VM automatically via a configuration management system. Means, GUI is not an option at all.

What have we tried so far without success is the following command which returns the numbed lines below:

$ /usr/bin/vmware-license-enter.sh XXXX-XXXX-XXXX-XXXX-XXXX Player 12.0.0

          100 licenseTool 1.0

          400 Invalid serial number.

Which Product and which Version information should we pass to this script?

We're using:

  • Linux Ubuntu 14.04.2 LTS
  • vmware-player 12.0.0.2985596

Thanks in advance for your help.

best regards,

Fabian Dörk

0 Kudos
1 Reply
albertebert
Contributor
Contributor

This is still a pending issue!

Are VMware support folks reading this forum? It would be really nice if you guys could drop us a reply.

In the meanwhile we've tried two different approaches found in entering license key in CLI - unfortunately without success:

(1) Using vmware-vmx:

          $ sudo /usr/lib/vmware/bin/vmware-vmx --new-sn xxxx-xxxx-xxxx-xxxx-xxxx ; echo $?

          1

(2) Manually crafting a license file:

     $ cat /etc/vmware/license-player-120-e1-201505

     # VMware software license

     StartFields = "Cpt, ProductID, LicenseVersion, LicenseType, LicenseEdition, Option, Epoch"

     Field2 = "Option, Epoch"

     Cpt = "COPYRIGHT (c) VMware, Inc. 1999-2015"

     ProductID = "VMware Player"

     LicenseVersion = "12.0"

     LicenseType = "Site"

     LicenseEdition = "player"

     Epoch = "2015-05-01"

     Option = "18"

     Data = "MaxVcpusPerVm=8"

     DataHash = "2192c2ae-6ad099ee-8968e750-e4c71955-9631aaf3"

     Hash = "af4cf801-e100731c-e5503ca9-3cb7222a-36dd918f"

     Serial = "XXXX-XXXX-XXXX-XXXX-XXXX"

     The vmware.log says the following if trying to start a VM:

          2015-09-14T11:24:52.967+02:00| vmx| I125: [msg.License.licenseAt] License at /etc/vmware/license-ws-120-e1-201505:

          2015-09-14T11:24:52.967+02:00| vmx| I125: [msg.License.corrupted] License is corrupted.

          2015-09-14T11:24:52.967+02:00| vmx| I125: [msg.License.no_valid_license_see_website] Cannot find a license key to unlock this version of VMware Workstation.

So, since this seems to be an outstanding issue for a while, a fix ar at least a suggestion would be nice.

Thanks in advance!

best regards,

Fabian Dörk

0 Kudos